Skip to content

Commit 6d7017a

Browse files
authored
Update model for AUV Max
1 parent 02f3ebd commit 6d7017a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

auv_max_gazebo/models/auv_max/model.sdf

-12
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@
4848
</inertia>
4949
</inertial>
5050

51-
<!-- IMU sensor gyro and accel data will be sent to ArduSub -->
5251
<sensor name="imu_sensor" type="imu">
53-
<!-- Transform from the Gazebo body frame (x-forward, y-left, z-up)
54-
to the ArduPilot body frame (x-forward, y-right, z-down) -->
5552
<pose>0.15571 -0.00016 -0.00084 0 0 0</pose>
5653
<always_on>1</always_on>
5754
<update_rate>1000.0</update_rate>
@@ -113,7 +110,6 @@
113110
</inertial>
114111
</link>
115112

116-
<!-- Attach camera_link to auv_max_shell -->
117113
<joint name="shell_to_camera" type="fixed">
118114
<parent>auv_max_shell</parent>
119115
<child>camera</child>
@@ -472,7 +468,6 @@
472468
<!-- ********** PLUGINS ********** -->
473469
<!-- ***************************** -->
474470

475-
<!-- CHASSIS - HYDRODYNAMICS PLUGINS -->
476471
<plugin
477472
filename="gz-sim-hydrodynamics-system"
478473
name="gz::sim::systems::Hydrodynamics">
@@ -567,20 +562,14 @@
567562
<use_angvel_cmd>False</use_angvel_cmd>
568563
</plugin>
569564

570-
<!-- ARDUPILOT - COMUNNICATION -->
571565
<plugin name="ArduPilotPlugin" filename="libArduPilotPlugin.so">
572-
<!-- Port settings -->
573566
<fdm_addr>127.0.0.1</fdm_addr>
574567
<fdm_port_in>9002</fdm_port_in>
575568
<connectionTimeoutMaxCount>5</connectionTimeoutMaxCount>
576569
<lock_step>1</lock_step>
577570

578-
<!-- Transform from the Gazebo body frame (x-forward, y-left, z-up)
579-
to the ArduPilot body frame (x-forward, y-right, z-down) -->
580571
<modelXYZToAirplaneXForwardZDown>0 0 0 3.141592653589793 0 0</modelXYZToAirplaneXForwardZDown>
581572

582-
<!-- Transform from the Gazebo world frame (ENU)
583-
to the ArduPilot world frame (NED) -->
584573
<gazeboXYZToNED>0 0 0 3.141592653589793 0 1.5707963267948966</gazeboXYZToNED>
585574

586575
<!-- Sensors -->
@@ -635,7 +624,6 @@
635624

636625
</plugin>
637626

638-
<!-- PUBLISH THE GROUND-TRUTH POSE FOR RVIZ2 -->
639627
<plugin
640628
filename="gz-sim-odometry-publisher-system"
641629
name="gz::sim::systems::OdometryPublisher">

0 commit comments

Comments
 (0)