Skip to content

Commit

Permalink
Minor fixes to the URDF tutorial. (#3743) (#3747)
Browse files Browse the repository at this point in the history
While debugging an issue I went over the URDF tutorial
and noticed these small issues, which are all fixed in this PR.

Signed-off-by: Chris Lalancette <[email protected]>
(cherry picked from commit 9c1f870)

Co-authored-by: Chris Lalancette <[email protected]>
  • Loading branch information
mergify[bot] and clalancette authored Jun 21, 2023
1 parent 254f17f commit 27f0e32
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Tasks

.. code-block:: console
mkdir -p ~/second_ros2_ws/src # change as needed
mkdir -p ~/second_ros2_ws/src
cd ~/second_ros2_ws/src
ros2 pkg create urdf_tutorial_r2d2 --build-type ament_python --dependencies rclpy
ros2 pkg create urdf_tutorial_r2d2 --build-type ament_python --dependencies rclpy --license Apache-2.0
cd urdf_tutorial_r2d2
You should now see a ``urdf_tutorial_r2d2`` folder.
Expand Down Expand Up @@ -229,7 +229,7 @@ Edit the ``~/second_ros2_ws/src/urdf_tutorial_r2d2/setup.py`` file as follows:
data_files=[
...
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*launch.[pxy][yma]*'))),
(os.path.join('share', package_name), glob('urdf/*'))
(os.path.join('share', package_name), glob('urdf/*')),
],
- modify the ``entry_points`` table so you can later run 'state_publisher' from a console
Expand Down Expand Up @@ -272,8 +272,8 @@ See the `User Guide <http://wiki.ros.org/rviz/UserGuide>`__ for details on how t
Summary
-------

You created a JointState publisher node and coupled it with ``robot_state_publisher`` to simulate a walking robot.
The code used in these examples can be found `here <https://github.com/benbongalon/ros2-migration/tree/master/urdf_tutorial>`__.
You created a ``JointState`` publisher node and coupled it with ``robot_state_publisher`` to simulate a walking robot.
The code used in these examples is originally from `here <https://github.com/benbongalon/ros2-migration/tree/master/urdf_tutorial>`__.

Credit is given to the authors of this
`ROS 1 tutorial <http://wiki.ros.org/urdf/Tutorials/Using%20urdf%20with%20robot_state_publisher>`__
Expand Down

0 comments on commit 27f0e32

Please sign in to comment.