Skip to content

MoveDifferential odometry support - #615

Merged
dwalton76 merged 5 commits into
ev3dev:ev3dev-stretchfrom
dwalton76:odometry
Apr 18, 2019
Merged

dwalton76 merged 5 commits into
ev3dev:ev3dev-stretchfrom
dwalton76:odometry

Conversation

@dwalton76

Copy link
Copy Markdown
Collaborator

For issue #235

This is not ready to be merged yet...needs some discussion first.

@dwalton76

Copy link
Copy Markdown
Collaborator Author

@WasabiFan say I have a robot that starts at (0,0) and I tell it to drive forward in a straight line...so we will see x stay at 0 and y increase. Should the robot's angle be considered 0 or 90? The current code (I ported a C implementation I found) considers this to be an angle of 0 but in my head it seems like it should be 90.

@dwalton76

Copy link
Copy Markdown
Collaborator Author

PS on_to_coordinates and and turn_to_angle have not been tested yet

@WasabiFan

Copy link
Copy Markdown
Member

For the angle, I'd suggest we maintain 90 being to the right (positive X) so that triggered functions work as they would on a typical unit circle layout.

Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
Comment thread ev3dev2/motor.py Resolved
@dwalton76

Copy link
Copy Markdown
Collaborator Author

@WasabiFan I think this one is ready now

@WasabiFan WasabiFan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is tested and works, LGTM

@dwalton76
dwalton76 merged commit 73b7b71 into ev3dev:ev3dev-stretch Apr 18, 2019
@dwalton76
dwalton76 deleted the odometry branch December 28, 2019 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants