-
Add user to dialout group (for serial port access):
sudo usermod -a -G dialout $(whoami)Log out and back in for changes to take effect.
-
(Optional) Change sensor configuration
If the sensor is only going to be used with USB select “Disabled - USB only” as Primary communication interface on the sensor configuration tool (requires chrome browser).
-
(Optional) Create environment setup script: Create
set_ros_env.shin your workspace root:export ROS_DOMAIN_ID=... export RMW_IMPLEMENTATION=... export ROS_NETWORK_INTERFACE=...
Run the setup command with Pixi:
pixi run -e jazzy setupEdit ros2_ws/src/bota_driver_ros2_example/bota_config/bota_binary.json:
- Update
serial_numberto match your device - Set
product_nameaccording to your BOTA sensor
Start the BOTA driver:
pixi run -e jazzy bota-runChange the pixi task "bota-run" to change the frequency or node name.
For more information, visit the BOTA Driver Python Example repository.