-
Notifications
You must be signed in to change notification settings - Fork 227
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
Added magnetometer, pressure, temperature, and wind speed information to new message navdata2 #2
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1ba71f1
Add support for some ARDrone 2 specific sensors.
younata cd28497
Forgot to include the navdata2 message.
younata cdf41f3
ARDrone 2 video no longer publishes if there are no subscribers.
younata c34f24f
Should publish navdata2 correctly if ARDRONE2
younata 2f91026
foo
younata 019f1b7
Merge branch 'master' of github.com:younata/ardrone_autonomy
younata b1841cd
Fixed publishing of navdata2.
younata cb746ed
Merge branch 'master' of git://github.com/AutonomyLab/ardrone_autonomy
younata File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Header header | ||
|
||
# Navdata including the ARDrone 2 specifica sensors | ||
# (magnetometer, barometer) | ||
|
||
# 0 means no battery, 100 means full battery | ||
float32 batteryPercent | ||
|
||
# 0: Unknown, 1: Init, 2: Landed, 3: Flying, 4: Hovering, 5: Test | ||
# 6: Taking off, 7: Goto Fix Point, 8: Landing, 9: Looping | ||
# Note: 3,7 seems to discriminate type of flying (isFly = 3 | 7) | ||
uint32 state | ||
|
||
int32 magX | ||
int32 magY | ||
int32 magZ | ||
|
||
# pressure sensor | ||
int32 pressure | ||
|
||
# apparently, there was a temperature sensor added as well. | ||
int32 temp | ||
|
||
# wind sensing... | ||
float32 wind_speed | ||
float32 wind_angle | ||
float32 wind_comp_angle | ||
|
||
# left/right tilt in degrees (rotation about the X axis) | ||
float32 rotX | ||
|
||
# forward/backward tilt in degrees (rotation about the Y axis) | ||
float32 rotY | ||
|
||
# orientation in degrees (rotation about the Z axis) | ||
float32 rotZ | ||
|
||
# estimated altitude (cm) | ||
int32 altd | ||
|
||
# linear velocity (mm/sec) | ||
float32 vx | ||
|
||
# linear velocity (mm/sec) | ||
float32 vy | ||
|
||
# linear velocity (mm/sec) | ||
float32 vz | ||
|
||
#linear accelerations (unit: g) | ||
float32 ax | ||
float32 ay | ||
float32 az | ||
|
||
#Tags in Vision Detectoion | ||
uint32 tags_count | ||
uint32[] tags_type | ||
uint32[] tags_xc | ||
uint32[] tags_yc | ||
uint32[] tags_width | ||
uint32[] tags_height | ||
float32[] tags_orientation | ||
float32[] tags_distance | ||
|
||
#time stamp | ||
float32 tm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Has anything changed here?
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.
passed that file through a tab-to-space converter. Nothing of consequence changed.