You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DVL messages published by the DopplerVelocityLog sensor do not contain the custom frame_id specified in the <gz_frame_id> tag.
Expected behavior: when the DVL sensor definition contains the tag <gz_frame_id>, the frame id defined in the tag is included in the header of the published message.
Actual behavior: the header of the published message does not contain a frame_id.
Steps to reproduce
Add a DVL sensor similarly to the one defined in the bottomless_pit.sdf file:
<sensorelement_id="base_link"action="add"name="teledyne_pathfinder_dvl"type="custom"gz:type="dvl">
<posedegrees="true">-0.60 0 -0.16 0 0 180</pose>
<always_on>1</always_on>
<update_rate>1</update_rate>
<topic>/dvl/velocity</topic>
<gz:dvl>
<type>phased_array</type>
<arrangementdegrees="true">
<beamid="1">
<aperture>2</aperture>
<rotation>45</rotation>
<tilt>30</tilt>
</beam>
<beam>
<aperture>2</aperture>
<rotation>135</rotation>
<tilt>30</tilt>
</beam>
<beam>
<aperture>2</aperture>
<rotation>-45</rotation>
<tilt>30</tilt>
</beam>
<beam>
<aperture>2</aperture>
<rotation>-135</rotation>
<tilt>30</tilt>
</beam>
</arrangement>
<tracking>
<bottom_mode>
<when>best</when>
<noisetype="gaussian">
<!-- +/- 0.4 cm/s precision at 10 m/s within 2 stddevs -->
<stddev>0.002</stddev>
</noise>
<visualize>false</visualize>
</bottom_mode>
</tracking>
<!-- Roughly 1 m resolution at a 100m -->
<resolution>0.01</resolution>
<maximum_range>100.</maximum_range>
<minimum_range>0.1</minimum_range>
<!-- ENU to SFM -->
<reference_frame>0 0 0 0 0 -1.570796</reference_frame>
</gz:dvl>
</sensor>
Add a tag for the custom frame_id after the <topic> tag: <gz_frame_id>custom_dvl_frame</gz_frame_id>
added support for frame to dvl sensor in #444. I'll backport to gz-sensors8 (harmonic) and make it compatible with <gz_frame_id> once that PR is merged.
Environment
Description
DVL messages published by the DopplerVelocityLog sensor do not contain the custom frame_id specified in the <gz_frame_id> tag.
Steps to reproduce
Add a tag for the custom frame_id after the
<topic>
tag:<gz_frame_id>custom_dvl_frame</gz_frame_id>
Echo the
/dvl/velocity
topicOutput
The text was updated successfully, but these errors were encountered: