mirror of
https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
synced 2025-09-15 13:08:35 +08:00
sim time param
This commit is contained in:
parent
0cd1ed03b0
commit
db506f845e
@ -46,7 +46,7 @@ $ cd ~/turtlebot3_ws && colcon build
|
|||||||
```
|
```
|
||||||
$ export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/turtlebot3_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models
|
$ export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/turtlebot3_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models
|
||||||
$ cd ~/turtlebot3_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds
|
$ cd ~/turtlebot3_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds
|
||||||
$ gazebo --verbose turtlebot3_ros2_demo.world
|
$ gazebo --verbose turtlebot3_ros2_demo.world -s libgazebo_ros_init.so
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run tf2_monitor
|
### Run tf2_monitor
|
||||||
@ -97,5 +97,6 @@ $ ros2 run tf2_ros tf2_echo base_footprint wheel_left_wheel
|
|||||||
### Run Cartographer
|
### Run Cartographer
|
||||||
|
|
||||||
```
|
```
|
||||||
|
$ launch `ros2 pkg prefix turtlebot3_cartographer`/share/turtlebot3_cartographer/launch/turtlebot3_cartographer.py
|
||||||
|
$ ros2 param set cartographer_node /use_sim_time true
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue
Block a user