Skip to content

Instantly share code, notes, and snippets.

@SamuelDudley
Last active February 27, 2017 12:30
Show Gist options
  • Save SamuelDudley/4d77d56194b6f008bd239fe1420cc13e to your computer and use it in GitHub Desktop.
Save SamuelDudley/4d77d56194b6f008bd239fe1420cc13e to your computer and use it in GitHub Desktop.
visual system delta position and delta attitude message
<!-- Visual system inter-frame delta position and delta attitude measurement message -->
<message id="11020" name="VISUAL_DELTA">
<description>Visual system inter-frame delta position and delta attitude measurements</description>
<field name="target_system" type="uint8_t">System ID</field>
<field name="target_component" type="uint8_t">Component ID</field>
<field type="uint64_t" name="time_usec">Timestamp of camera frame associated with measurements(microseconds)</field>
<field type="uint64_t" name="d_time_usec">Time since last reported camera frame(microseconds)</field>
<field type="float" name="d_x">Delta x position in body frame measured relative to earth frame, where the earth frame is a RH axis system(m)</field>
<field type="float" name="d_y">Delta y position in body frame measured relative to earth frame, where the earth frame is a RH axis system(m)</field>
<field type="float" name="d_z">Delta z position in body frame measured relative to earth frame, where the earth frame is a RH axis system(m)</field>
<field type="uint8_t" name="rot_seq">0: Euler angles use a 321 rotation sequence (default), 1: Euler angles use a 312 rotation sequence</field>
<field type="float" name="d_roll">Delta roll angle where the rotation angle is measured from earth frame to body frame and the earth frame is a RH axis system(rad)</field>
<field type="float" name="d_pitch">Delta pitch angle where the rotation angle is measured from earth frame to body frame and the earth frame is a RH axis system(rad)</field>
<field type="float" name="d_yaw">Delta yaw angle where the rotation angle is measured from earth frame to body frame and the earth frame is a RH axis system(rad)</field>
<field type="float[9]" name="pos_covariance">Position covariance matrix</field>
<field type="float[9]" name="att_covariance">Attitude covariance matrix</field>
</message>
@SamuelDudley
Copy link
Author

SamuelDudley commented Feb 27, 2017

Does this need a target component and system id?

@SamuelDudley
Copy link
Author

I'll need to confirm this but by adding the target_system and target_component I think we can avoid spamming the gcs data link with this message (which is quite large)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment