-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create AutonomousTask to handle autonomous navigation #223
Create AutonomousTask to handle autonomous navigation #223
Conversation
e32c323
to
1802910
Compare
1802910
to
f9a703c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty good! Some comments about sleeping, using a CV, etc.
1172ef2
to
1d16e76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty good, just some more minor fixes needed
1d16e76
to
5c3426f
Compare
5c3426f
to
93101b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Let's try to do some testing to ensure it works well before merging. Testing in sim would be fine, let's discuss how to do that on saturday.
037fdfc
to
1b3169d
Compare
1b3169d
to
ab0eb15
Compare
ab0eb15
to
e1b489e
Compare
e1b489e
to
65fe627
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just some questions about the MC protocol
18d1023
to
e505f0d
Compare
Use DriveToWaypointCommand functionality to execute an autonomous task. Add necessary constants to Constants.h Start autonomous task from MissionControlProtocol.cpp
JavaScript truncates any value such as 0.0 or 1.0 to 0 and 1, respectively. This fails validation because we looks for floats and those come across as unsigned ints. To fix this, we check if the incoming number is either a float or an unsigned number. Both are accepted.
e505f0d
to
68b4446
Compare
Use DriveToWaypointCommand functionality to execute an autonomous task.
Add necessary constants to Constants.h
Add handleWaypointNavRequest to handle waypointNavRequest packet from MissionControl, starts autonomous navigation
Start autonomous task from MissionControlProtocol.cpp