A ROS 2 package that defines the robot description (URDF/XACRO) and visualization settings for the McQueen robot.
Halil İbrahim ŞENAYDIN
E-mail: halilsenaydin@gmail.com
GitHub: github.com/halilsenaydin
- ROS 2 (recommended Iron)
Defines the complete robot model for McQueen using URDF and Xacro. Enables seamless integration with ROS 2 visualization and introspection tools.
- Full 3D URDF description with:
- Base link, wheels, and sensors
- Joint definitions
- Inertial and visual properties
- Easily visualizable in
rviz2 - Includes material definitions and RViz configuration files
- Launchable with GUI sliders using
joint_state_publisher_gui
- Publishes robot description to
/robot_descriptionusingrobot_state_publisher - Compatible with
joint_state_publisherand real/simulated feedback
- Includes hardware interface tag for
ros2_controlintegration - Pairs with
mcqueen_hwpackage for real-time control
Start by creating a new ROS 2 workspace if you don't already have one:
mkdir -p ~/workspace/src
cd ~/workspace/srcUse Git to download the mcqueen_description package from the repository:
git clone https://github.com/halilsenaydin/mcqueenBefore building the workspace, make sure all system and ROS 2 package dependencies are installed using rosdep:
# Navigate to the root of your ROS 2 workspace
cd ~/workspace
# Update rosdep database (recommended)
rosdep update
# Install all dependencies defined in package.xml files
rosdep install --from-paths src --ignore-src -r -yNavigate to the root of your workspace and build the package using colcon:
cd ~/workspace
colcon build --symlink-installAfter building, don’t forget to source the setup file before running any ROS 2 commands:
source install/setup.bashLaunches the URDF model along with the necessary nodes for robot visualization and joint publishing:
ros2 launch mcqueen_description mcqueen.launch.pyTo visualize the robot with a predefined RViz2 configuration, run the following command:
rviz2 -d ~/workspace/src/mcqueen_teleop/config/mcqueen.rviz