Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:vision:realsense2-ros [2023/01/17 15:47] – marcusk | documentation:vision:realsense2-ros [2023/01/19 10:06] (current) – marcusk | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Realsense2 + ROS ====== | ====== Realsense2 + ROS ====== | ||
- | Minimal test setup in ROS containers: | + | Minimal test setup in [[documentation: |
+ | To allow hardware to work within containers you have to use the option '' | ||
+ | |||
+ | ==== Inside the container ==== | ||
<cli> | <cli> | ||
# Install realsense drivers | # Install realsense drivers | ||
Line 19: | Line 22: | ||
sudo apt update | sudo apt update | ||
- | sudo apt install -y librealsense2-dkms librealsense2-utils librealsense2-dev | + | sudo apt install -y librealsense2-dkms librealsense2-utils librealsense2-dev |
+ | </ | ||
- | sudo apt install ros-noetic-realsense2-camera | + | To get all Robotlab pieces for vision there is a config: |
- | roslaunch | + | < |
+ | workspace init minimal_vision.rosinstall | ||
+ | cd ~/ | ||
+ | catkin build | ||
+ | workspace shell | ||
+ | roslaunch | ||
</ | </ | ||
- | This should start a ROS node and create suitable topics. | + | ==== Known issues ==== |
+ | If you get an error similar to this: | ||
+ | '' | ||
+ | |||
+ | This is known to be fixable by a firmware update of the Realsense D435 camera. |