|
48 | 48 | </inertia>
|
49 | 49 | </inertial>
|
50 | 50 |
|
51 |
| - <!-- IMU sensor gyro and accel data will be sent to ArduSub --> |
52 | 51 | <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) --> |
55 | 52 | <pose>0.15571 -0.00016 -0.00084 0 0 0</pose>
|
56 | 53 | <always_on>1</always_on>
|
57 | 54 | <update_rate>1000.0</update_rate>
|
|
113 | 110 | </inertial>
|
114 | 111 | </link>
|
115 | 112 |
|
116 |
| - <!-- Attach camera_link to auv_max_shell --> |
117 | 113 | <joint name="shell_to_camera" type="fixed">
|
118 | 114 | <parent>auv_max_shell</parent>
|
119 | 115 | <child>camera</child>
|
|
472 | 468 | <!-- ********** PLUGINS ********** -->
|
473 | 469 | <!-- ***************************** -->
|
474 | 470 |
|
475 |
| - <!-- CHASSIS - HYDRODYNAMICS PLUGINS --> |
476 | 471 | <plugin
|
477 | 472 | filename="gz-sim-hydrodynamics-system"
|
478 | 473 | name="gz::sim::systems::Hydrodynamics">
|
|
567 | 562 | <use_angvel_cmd>False</use_angvel_cmd>
|
568 | 563 | </plugin>
|
569 | 564 |
|
570 |
| - <!-- ARDUPILOT - COMUNNICATION --> |
571 | 565 | <plugin name="ArduPilotPlugin" filename="libArduPilotPlugin.so">
|
572 |
| - <!-- Port settings --> |
573 | 566 | <fdm_addr>127.0.0.1</fdm_addr>
|
574 | 567 | <fdm_port_in>9002</fdm_port_in>
|
575 | 568 | <connectionTimeoutMaxCount>5</connectionTimeoutMaxCount>
|
576 | 569 | <lock_step>1</lock_step>
|
577 | 570 |
|
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) --> |
580 | 571 | <modelXYZToAirplaneXForwardZDown>0 0 0 3.141592653589793 0 0</modelXYZToAirplaneXForwardZDown>
|
581 | 572 |
|
582 |
| - <!-- Transform from the Gazebo world frame (ENU) |
583 |
| - to the ArduPilot world frame (NED) --> |
584 | 573 | <gazeboXYZToNED>0 0 0 3.141592653589793 0 1.5707963267948966</gazeboXYZToNED>
|
585 | 574 |
|
586 | 575 | <!-- Sensors -->
|
|
635 | 624 |
|
636 | 625 | </plugin>
|
637 | 626 |
|
638 |
| - <!-- PUBLISH THE GROUND-TRUTH POSE FOR RVIZ2 --> |
639 | 627 | <plugin
|
640 | 628 | filename="gz-sim-odometry-publisher-system"
|
641 | 629 | name="gz::sim::systems::OdometryPublisher">
|
|
0 commit comments