feat: modify nav param
This commit is contained in:
@@ -61,7 +61,7 @@ colcon build
|
|||||||
|
|
||||||
```
|
```
|
||||||
source install/setup.bash
|
source install/setup.bash
|
||||||
ros2 launch fishbot_description gazebo.launch.py
|
ros2 launch fishbot_description gazebo_sim.launch.py
|
||||||
```
|
```
|
||||||
|
|
||||||
运行导航
|
运行导航
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ fishbot_diff_drive_controller:
|
|||||||
left_wheel_names: ["left_wheel_joint"]
|
left_wheel_names: ["left_wheel_joint"]
|
||||||
right_wheel_names: ["right_wheel_joint"]
|
right_wheel_names: ["right_wheel_joint"]
|
||||||
|
|
||||||
wheel_separation: 0.17
|
wheel_separation: 0.20
|
||||||
#wheels_per_side: 1 # actually 2, but both are controlled by 1 signal
|
#wheels_per_side: 1 # actually 2, but both are controlled by 1 signal
|
||||||
wheel_radius: 0.032
|
wheel_radius: 0.032
|
||||||
|
|
||||||
@@ -40,8 +40,8 @@ fishbot_diff_drive_controller:
|
|||||||
publish_rate: 50.0
|
publish_rate: 50.0
|
||||||
odom_frame_id: odom
|
odom_frame_id: odom
|
||||||
base_frame_id: base_footprint
|
base_frame_id: base_footprint
|
||||||
pose_covariance_diagonal : [0.001, 0.001, 0.0, 0.0, 0.0, 0.01]
|
pose_covariance_diagonal : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
||||||
twist_covariance_diagonal: [0.001, 0.0, 0.0, 0.0, 0.0, 0.01]
|
twist_covariance_diagonal: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
||||||
|
|
||||||
open_loop: true
|
open_loop: true
|
||||||
enable_odom_tf: true
|
enable_odom_tf: true
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
<plugin name="laserscan" filename="libgazebo_ros_ray_sensor.so">
|
<plugin name="laserscan" filename="libgazebo_ros_ray_sensor.so">
|
||||||
<ros>
|
<ros>
|
||||||
<namespace>/</namespace>
|
<namespace>/</namespace>
|
||||||
<remapping>~/out:=scan</remapping>
|
<remapping>~/out:=scan1</remapping>
|
||||||
</ros>
|
</ros>
|
||||||
<output_type>sensor_msgs/LaserScan</output_type>
|
<output_type>sensor_msgs/LaserScan</output_type>
|
||||||
<frame_name>laser_link</frame_name>
|
<frame_name>laser_link</frame_name>
|
||||||
</plugin>
|
</plugin>
|
||||||
<always_on>true</always_on>
|
<always_on>true</always_on>
|
||||||
<visualize>true</visualize>
|
<visualize>false</visualize>
|
||||||
<update_rate>5</update_rate>
|
<update_rate>10</update_rate>
|
||||||
<pose>0 0 0 0 0 0</pose>
|
<pose>0 0 0 0 0 0</pose>
|
||||||
<!-- 激光传感器配置 -->
|
<!-- 激光传感器配置 -->
|
||||||
<ray>
|
<ray>
|
||||||
|
|||||||
1
chapt7/chapt7_ws/src/navigation2
Submodule
1
chapt7/chapt7_ws/src/navigation2
Submodule
Submodule chapt7/chapt7_ws/src/navigation2 added at 150dd6beb5
Reference in New Issue
Block a user