diff --git a/README.MD b/README.MD index 197df01..56ef5b6 100644 --- a/README.MD +++ b/README.MD @@ -11,24 +11,12 @@ official [ROS 2 installation guide](https://docs.ros.org/en/galactic/Installatio ### other dependencies -● Install dependencies (be careful with your ROS distribution) +● Install dependencies with rosdep ```bash - Assuming you have sourced the ros environment, same below -sudo apt install libgflags-dev ros-$ROS_DISTRO-image-geometry ros-$ROS_DISTRO-camera-info-manager\ -ros-$ROS_DISTRO-image-transport ros-$ROS_DISTRO-image-publisher libgoogle-glog-dev libusb-1.0-0-dev libeigen3-dev - -``` - -● Install libuvc - -```bash -git clone https://github.com/libuvc/libuvc.git -cd libuvc -mkdir build && cd build -cmake .. && make -j4 -sudo make install -sudo ldconfig # Refreshing the link library +#sudo rosdep init #uncomment, if not done +#rosdep update #uncomment, if not done +sudo apt update && rosdep install --from-paths src --ignore-src -r -y ``` ### Getting Started diff --git a/astra_camera/package.xml b/astra_camera/package.xml index 7d9c875..777e89f 100644 --- a/astra_camera/package.xml +++ b/astra_camera/package.xml @@ -15,12 +15,18 @@ astra_camera_msgs builtin_interfaces class_loader - message_filters camera_info_manager cv_bridge + eigen image_geometry image_publisher image_transport + libgflags-dev + libgoogle-glog-dev + libusb-1.0 + libuvc-dev + message_filters + nlohmann-json-dev rclcpp_components rclcpp sensor_msgs