Setup robot description
This use-case describes how to set up a robot description package using scripts from ROS Team Workspace (RosTeamWS) framework. The package follows as far as possible best practices for robot support packages from ROS-Industrial consortia. (This has to be verified!)
Script for Setting up Description Package
setup-robot-description
script accepts the robot name.
The package name is obtained from the ‘package.xml’ file.
Note
it is recommended to setup your package using create-new-package script.
Warning
The script has to be executed in the root folder of the ament_cmake package where the robot description files are to be generated.
The scripts copies template files from the templates/robot_description
folder, renames the files, and replaces the placeholders.
setup-robot-description ROBOT_NAME
After all files are copied and placeholders set, changes are automatically staged in git.
To test the generated files compile and source your workspace and execute:
ros2 launch <PKG_NAME> view_<ROBOT_NAME>.launch.py