From a6908fa95d715b75d1e19da45cf7b6b3524c9242 Mon Sep 17 00:00:00 2001 From: FWalkowicz <32652664+FWalkowicz@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:43:41 +0100 Subject: [PATCH 1/2] Update README.md --- src/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/README.md b/src/README.md index 216cf67..0d8943b 100644 --- a/src/README.md +++ b/src/README.md @@ -46,7 +46,6 @@ Follow the official [ROS2 Humble installation guide](https://docs.ros.org/en/hum ros-humble-ros2-controllers \ ros-humble-gazebo-ros2-control \ ros-humble-position-controllers \ - ros-humble-controller-manager-spawner \ ros-humble-xacro \ joystick \ jstest-gtk \ From 68a271bc268e05db2cc7d140150db77d2ca275e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Kobyli=C5=84ski?= Date: Fri, 7 Feb 2025 13:38:22 +0100 Subject: [PATCH 2/2] fix(#123): add README.md details --- src/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 0d8943b..1a00c38 100644 --- a/src/README.md +++ b/src/README.md @@ -53,7 +53,11 @@ Follow the official [ROS2 Humble installation guide](https://docs.ros.org/en/hum ros-humble-twist-mux \ ros-humble-rviz2 ``` -3. Build the workspace: +3. To store your model create a folder in the root directory of the project: + ```bash + mkdir ~/.gazebo/models + ``` +4. Build the workspace: ```bash colcon build --symlink-install source install/setup.bash @@ -91,6 +95,12 @@ To control the robot manually: ```bash ros2 launch rover_teleop_twist_joy teleop_twist_launch.py ``` +### Test gazebo wheels + + ```bash + ros2 topic pub /diff_drive_controller_right/cmd_vel_unstamped geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}" + ros2 topic pub /diff_drive_controller_left/cmd_vel_unstamped geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}" + ``` ---