|
445 | 445 | <child>laser</child> |
446 | 446 | </joint> |
447 | 447 |
|
448 | | - <plugin filename="gz-sim-diff-drive-system" name="gz::sim::systems::DiffDrive"> |
449 | | - <left_joint>left_wheel_joint</left_joint> |
450 | | - <right_joint>right_wheel_joint</right_joint> |
451 | | - <wheel_separation>0.5380</wheel_separation> |
452 | | - <wheel_radius>0.1205</wheel_radius> |
| 448 | + <plugin filename="gz-sim-velocity-control-system" name="gz::sim::systems::VelocityControl"> |
453 | 449 | <topic>/roombaROS/cmd_vel</topic> |
454 | | - <odom_topic>/roombaROS/odom</odom_topic> |
455 | | - <frame_id>odom</frame_id> |
456 | | - <odom_publisher_frequency>20.0</odom_publisher_frequency> |
457 | | - <child_frame_id>base</child_frame_id> |
458 | 450 | </plugin> |
459 | 451 |
|
460 | | - <plugin filename="gz-sim-pose-publisher-system" name="gz::sim::systems::PosePublisher"> |
461 | | - <publish_link_pose>true</publish_link_pose> |
462 | | - <publish_sensor_pose>true</publish_sensor_pose> |
463 | | - <publish_collision_pose>false</publish_collision_pose> |
464 | | - <publish_visual_pose>false</publish_visual_pose> |
465 | | - <publish_nested_model_pose>true</publish_nested_model_pose> |
466 | | - <publish_model_pose>false</publish_model_pose> |
467 | | - <use_pose_vector_msg>true</use_pose_vector_msg> |
468 | | - <static_publisher>true</static_publisher> |
469 | | - <static_update_frequency>100</static_update_frequency> |
| 452 | + <plugin filename="gz-sim-odometry-publisher-system" name="gz::sim::systems::OdometryPublisher"> |
| 453 | + <odom_frame>odom</odom_frame> |
| 454 | + <robot_base_frame>base</robot_base_frame> |
| 455 | + <odom_publish_frequency>20.0</odom_publish_frequency> |
| 456 | + <odom_topic>/roombaROS/odom</odom_topic> |
| 457 | + <dimensions>3</dimensions> |
470 | 458 | </plugin> |
471 | 459 |
|
472 | 460 | </model> |
|
0 commit comments