-
Notifications
You must be signed in to change notification settings - Fork 226
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
Conversation
Navdata no longer publishes when there is no one listening.
Conflicts: src/ardrone_driver.cpp
Thank you very much for this great addition. As I understood from skimming through the diffs, there is going to be two topics to publish into after this change. What I suggest is to merge (unify) The fix for not sending data while no one is listening is a good idea. |
NAVDATA_OPTION( navdata_magneto_t, navdata_magneto , NAVDATA_MAGNETO_TAG ) | ||
NAVDATA_OPTION( navdata_wind_speed_t, navdata_wind_speed , NAVDATA_WIND_TAG ) | ||
NAVDATA_OPTION( navdata_kalman_pressure_t,navdata_kalman_pressure , NAVDATA_KALMAN_PRESSURE_TAG ) | ||
NAVDATA_OPTION( navdata_pressure_raw_t, navdata_pressure_raw , NAVDATA_PRESSURE_RAW_TAG ) |
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.
[Still Experimental] Added magnetometer, pressure, temperature, and wind speed information to new message navdata2.
Added a new message: ardrone/navdata2
This contains navdata information from sensors available only to the ARDrone 2 (though, not sure about wind speed).
I also added checking for subscribers to some of the publishers. navdata, navdata2, image_raw, front/image_raw, and bottom/image_raw have this optimization added.