The Patient Cart Description package provides the URDF descriptions, launch files, and configurations necessary to simulate and visualize the Patient Cart of a surgical robotic system in ROS 2. This package includes models for both the classic and SI (System Intelligence) versions of the Patient Cart.
- Package Structure
- URDF Files
- Controllers
- RViz Configurations
- Building the Package
- Usage Examples
- Additional Resources
patient_cart_description
├── CMakeLists.txt
├── config
│ ├── patient_cart.classic.controllers.yaml
│ └── patient_cart.si.controllers.yaml
├── launch
│ ├── patient_cart_classic_bringup.launch.py
│ ├── patient_cart_si_bringup.launch.py
│ ├── README.md
│ └── view_robot.launch.py
├── package.xml
├── README.md
├── rviz
│ └── patient_cart_description.rviz
├── src
│ └── patient_cart_joint_controller.cpp
└── urdf
├── patient_cart.classic.urdf.xacro
├── patient_cart.si.urdf.xacro
└── README.md
-
Classic Patient Cart URDF (
patient_cart.classic.urdf.xacro
)- Located at
urdf/patient_cart.classic.urdf.xacro
. - Defines the model for the classic version of the Patient Cart.
- Located at
-
SI Patient Cart URDF (
patient_cart.si.urdf.xacro
)- Located at
urdf/patient_cart.si.urdf.xacro
. - Defines the model for the SI (System Intelligence) version of the Patient Cart.
- Located at
-
URDF README
- See
urdf/README.md
for detailed information on the URDF files and their structure.
- See
-
Classic Patient Cart Controllers (
patient_cart.classic.controllers.yaml
)- Located at
config/patient_cart.classic.controllers.yaml
. - Defines the controllers for the classic version of the Patient Cart.
- Located at
-
SI Patient Cart Controllers (
patient_cart.si.controllers.yaml
)- Located at
config/patient_cart.si.controllers.yaml
. - Defines the controllers for the SI version of the Patient Cart.
- Located at
-
Custom Joint Controller Source (
patient_cart_joint_controller.cpp
)- Located at
src/patient_cart_joint_controller.cpp
. - Implements specific control logic for the Patient Cart.
- Located at
- RViz Configuration (
patient_cart_description.rviz
)- Located at
rviz/patient_cart_description.rviz
. - Pre-configured settings for RViz visualization of the Patient Cart.
- Located at
Ensure you have a ROS 2 workspace set up. Clone the patient_cart_description
package into the src
directory of your workspace, and then build the workspace:
colcon build
Source your workspace after building:
source install/setup.bash
To simulate the classic version of the Patient Cart with ROS 2 control and visualize it in RViz:
ros2 launch patient_cart_description patient_cart_classic_bringup.launch.py
To simulate the SI version of the Patient Cart:
ros2 launch patient_cart_description patient_cart_si_bringup.launch.py
To launch the robot and manipulate its joints using the Joint State Publisher GUI:
ros2 launch patient_cart_description view_robot.launch.py
- URDF README:
urdf/README.md
- Detailed documentation on the URDF files for both classic and SI versions. - Launch Files README:
launch/README.md
- Explanations of the provided launch files and their usage.