-
Notifications
You must be signed in to change notification settings - Fork 986
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
global_position.cpp plugin #87
Comments
What do you think of this? It's feasable? |
Yeah, but need find standard messages for this. |
Probably sensor_msgs/NavSatFix.msg for lat/lon/alt, sensor_msgs/MagneticField.msg for compass and geometry_msgs/Vector3Stamped.msg to GPS velocities. Still in doubt relative to the relative altitude (maybe a custom stamped message with a To convert to local coordinates, LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET should be considered. A origin should be take in account in this case, I think. Don't know if it's active but there's SET_GPS_GLOBAL_ORIGIN to do that job. @LorenzMeier I'm calling you also to this topic so you can please clarify and give your opinion in what should be done in this case if we want to do a conversion from GPS to local coordinates. Thanks! |
Found what can be used to convert into a pose (GPS to UTM): http://wiki.ros.org/gps_common?distro=hydro |
I already started to develop this! I will let you know when I am to finish it out. Probably going to need some help in one or two particular cases. |
Reopen: plugin not complete. |
I think as is, it can be closed ;) Next thing to do should be add the possibility to handle GLOBAL_POSITION_INT_COV. |
Creating this plugin has a reason:
gps.cpp
gives us GPS_RAW_INT handle, which is the global position, as returned by the Global Positioning System, which means, a RAW sensor value.For getting the filtered global position, we need to read the GLOBAL_POSITION_INT, which is fused with IMU sensor data onboard the FCU. This can be useful to add some features regarding global<->local conversions.
The text was updated successfully, but these errors were encountered: