ROS2 component that publishes raw images taken from an IP camera.
Note: to cross-compile for ARM architecture see the related article_.
.. _article: http://surfertas.github.io/ros2/cross-compile/2019/10/14/crosscompile.html
.. code:: bash
git clone https://github.com/surfertas/ros2_ipcamera.git colcon build --symlink-install . install/setup.bash
Docker:
.. code:: bash
git clone https://github.com/surfertas/ros2_ipcamera.git cd ros2_ipcamera sudo docker build -t ros2_ipcamera/latest .
rtsp_uri
parameter found in /config/ipcamera.yaml
with the appropriate rtsp uri to your IP camera./config
... code:: bash
ros2 run ros2_ipcamera composition
ros2 launch ros2_ipcamera ipcamera.launch.py
Docker:
.. code:: bash
sudo docker run -it ros2_ipcamera/latest bash vi src/ros2_ipcamera/config/ipcamera.yaml source ./install/setup.bash ros2 launch ros2_ipcamera ipcamera.launch.py
Topics:
/ipcamera/image_raw
- topic for raw image data
/ipcamera/camera_info
- topic for camera info