Skip to content
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

[messages] dist_home and dist_wp in meters instead of squared #784

Merged
merged 4 commits into from
Aug 5, 2014

Conversation

flixr
Copy link
Member

@flixr flixr commented Aug 2, 2014

also add dist_home for ROTORCRAFT_NAV_STATUS
Proposal to solve #761

Didn't test with old logs with dist2_wp in NAVIGATION, but should be properly dealt with...
@gautierhattenberger can probably comment on that...

We could also add dist_wp to the rotorcraft message if needed...

@gautierhattenberger
Copy link
Member

it looks good, but the GCS layout display the distance in a papget should be updated too

@flixr
Copy link
Member Author

flixr commented Aug 4, 2014

Think that the papget should work now...

@gautierhattenberger
Copy link
Member

yes, I think it's good

@flixr
Copy link
Member Author

flixr commented Aug 5, 2014

Also added distance to waypoint to rotorcraft. Since this information is used on the ground to compute an approximate ETA (using distance to target waypoint and current speed) I also set the threshold to 0.5m distance and 0.5 m/s speed there as suggested by Gautier.

flixr added a commit that referenced this pull request Aug 5, 2014
[messages] add dist_home and dist_wp for rotorcrafts and change it to meters instead of squared.

Since dist_wp  is used on the ground to compute an approximate ETA (using distance to target waypoint and current speed) the threshold to use that information is now to 0.5m distance and 0.5 m/s speed to not get bogus ETAs when hovering with the quad.
@flixr flixr merged commit 1e48b8d into master Aug 5, 2014
@flixr flixr deleted the nav_message branch August 5, 2014 22:01
@flixr flixr added this to the v5.2 milestone Aug 5, 2014
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.

None yet

2 participants