service for modelec rasp pi

This commit is contained in:
acki
2025-05-14 13:22:32 -04:00
parent da79f5d871
commit a1262b1d0f
2 changed files with 31 additions and 0 deletions

13
start_ros2.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e # quitte en cas d'erreur
source /opt/ros/jazzy/setup.bash
source /home/modelec/modelec-serge-ROS/install/setup.bash
export RCL_LOG_LEVEL=info
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
export FASTRTPS_DEFAULT_PROFILES_FILE=/home/modelec/modelec-serge-ROS/fastdds_setup.xml
export ROS_DOMAIN_ID=128
# Lance ton launch file
exec ros2 launch modelec_core test.modelec.launch.py