-
Notifications
You must be signed in to change notification settings - Fork 990
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
[mavros_extras] mocap_estimate.cpp plugin #102
Comments
To use APM, from what I read in a source, you must use the NMEA protocol, which is the protocol used by APM to get the GPS coordinates (considering that you are using a NMEA GPS internally in APM). Writing a C code that converts local positions to global position will do the job. Here's some reference: http://en.wikipedia.org/wiki/NMEA_0183 and the APM code:https://github.com/diydrones/ardupilot/blob/master/libraries/AP_GPS/AP_GPS_NMEA.cpp. If you are planning to use other kinds of external GPS's, you have to shut the GPS connected internally the APM: https://code.google.com/p/arducopter/wiki/GPSDisable. The APM (ArduCopter v3.0.1) needs the following packets to work: RMC,GGA,VTG, which are defined as @tonybaltovski If you are able to do this convertion maybe then you can also write a plug-in to mavros to get those conversions :D (only useful for APM users) PX4 doesn't support NMEA devices. |
This can be easily implemented. Follow the |
Plugin added, testing required. |
See #122. |
Plugin works fine, can see data in PX4 side. No support for it in INAV though. For users, please use vision_position plugin for now. It will give you the same functionality. |
A plugin to connect to:
vicon_bridge
: http://wiki.ros.org/vicon_bridgeor
vicon_mocap
: http://wiki.ros.org/vicon_mocapMust have a tf_lookup to
vicon/<subject_name>/<segment_name>
or~output
depending on the pkg being used.Msg to send:
VICON_POSITION_ESTIMATE
https://pixhawk.ethz.ch/mavlink/#VICON_POSITION_ESTIMATE
Note: Possible OptiTrack support can be added and message sent through
VICON_POSITION_ESTIMATE
. It can be connected to http://wiki.ros.org/mocap_optitrack.The text was updated successfully, but these errors were encountered: