This application demonstrates a simple setup for using ROS 2 with ReductStore.
To use Python environment:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
You need to add COLCON_IGNORE to the .venv directory to avoid colcon trying to build it.
touch .venv/COLCON_IGNORE
Build the ROS package:
colcon build --packages-select reduct_camera
Source the ROS package:
source install/local_setup.bash
Run the ReductStore container:
docker run -d -p 8383:8383 -v ${PWD}/data:/data reduct/store:latest
Run the package with the default parameters:
ros2 run reduct_camera capture_and_store
Launch the webcam:
ros2 run usb_cam usb_cam_node_exe --ros-args --params-file ./usb_cam_config.yaml