Skip to content

Latest commit

 

History

History
163 lines (123 loc) · 6.21 KB

README.md

File metadata and controls

163 lines (123 loc) · 6.21 KB

ECM Description

The Endoscopic Camera Manipulator (ECM) package provides the URDF descriptions, launch files, and configurations necessary to simulate and visualize the ECM in ROS 2. This package includes both the ECM base and the endoscopic arm components.

Table of Contents

Package Structure

ecm_description
├── CMakeLists.txt
├── config
│   ├── ecm.base.controllers.yaml
│   └── ecm.controllers.yaml
├── launch
│   ├── ecm_base_bringup.launch.py
│   ├── ecm_bringup.launch.py
│   ├── README.md
│   └── view_robot.launch.py
├── meshes
│   ├── ecm
│   │   └── [ECM arm mesh files]
│   └── ecm_base
│       └── [ECM base mesh files]
├── package.xml
├── README.md
├── rviz
│   └── ecm_description.rviz
├── src
│   └── ecm_joint_controller.cpp
└── urdf
    ├── ecm.base.urdf.xacro
    ├── ecm.urdf.xacro
    ├── README.md
    ├── ros2_control
    │   ├── ecm.base.ros2_control.xacro
    │   ├── ecm.ros2_control.xacro
    │   └── README.md
    └── xacros
        ├── common.xacro
        ├── ecm.base.xacro
        ├── ecm.xacro
        └── README.md

URDF and Xacro Files

URDF Directory (urdf/)

  • Contains the Unified Robot Description Format (URDF) files and Xacro macros defining the ECM model.
  • README: See urdf/README.md for detailed information.

Main URDF Files

Xacro Macros (urdf/xacros/)

ROS 2 Control Configurations (urdf/ros2_control/)

Meshes

  • ECM Base Meshes (meshes/ecm_base/)
    • Contains STL files for the ECM base components (e.g., ecm_base_link.stl, ecm_yaw_link.stl, etc.).
  • ECM Arm Meshes (meshes/ecm/)
    • Contains STL files for the ECM arm components (e.g., Endo_Arm.stl, EndoScope.stl, etc.).

Controllers

RViz Configurations

  • RViz Configuration (ecm_description.rviz)

Building the Package

Ensure you have a ROS 2 workspace set up. Clone the ecm_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

Usage Examples

Simulate the ECM with Controllers

To simulate the ECM with ROS 2 control and visualize it in RViz:

ros2 launch ecm_description ecm_bringup.launch.py

For the ECM base only:

ros2 launch ecm_description ecm_base_bringup.launch.py

Visualize and Manipulate the ECM with GUI

To launch the ECM and manipulate its joints using the Joint State Publisher GUI:

ros2 launch ecm_description view_robot.launch.py

Additional Resources