diff --git a/README.md b/README.md index 8f6a12b..64830cf 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,12 @@ For the QUALISYS driver, we use the interface from [Qualisys2Ros](https://github For the rest of the software, the license is Apache 2.0 wherever not specified. ## Compiling -This is a catkin package. Make sure the package is on `ROS_PACKAGE_PATH` after cloning the package to your workspace. Drivers for different motion capture system can be independently compiled. - -``` -cd your_work_space -catkin_make --pkg mocap_{sys} --cmake-args -DCMAKE_BUILD_TYPE=Release +To compile, simply use `rosdep` and `colcon build` as follows: +```bash +rosdep install --from-paths src -y -i +colcon build --packages-select mocap_base mocap_vicon ``` -This will compile the drivers for `{sys}` ## Example Usage diff --git a/mocap_base/package.xml b/mocap_base/package.xml index c34971f..94e0eca 100644 --- a/mocap_base/package.xml +++ b/mocap_base/package.xml @@ -12,7 +12,7 @@ ament_cmake geometry_msgs rclcpp - eigen_conversions + ament_cmake diff --git a/mocap_vicon/package.xml b/mocap_vicon/package.xml index e6d35fe..e8c78d9 100644 --- a/mocap_vicon/package.xml +++ b/mocap_vicon/package.xml @@ -18,9 +18,9 @@ ros2launch geometry_msgs - roscpp - tf - tf_conversions + + + mocap_base