Skip to content

Commit de403bd

Browse files
Update start.sh
1 parent adc33f7 commit de403bd

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

start.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
#!/bin/bash
22

3-
source /opt/ros/*/setup.bash # this adapter is meant to work with any ROS2 distribution
3+
# This adapter is meant to work with any ROS2 distribution
4+
source /opt/ros/*/setup.bash
5+
# Optional ROS environment variables
6+
#export ROS_DOMAIN_ID=1
7+
#export ROS_LOCALHOST_ONLY=1
8+
#export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
49

510
if [ -z ${FORMANT_ROS2_WS+x} ]; then
611
echo "FORMANT_ROS2_WS unset"
712
else
813
echo "sourcing $FORMANT_ROS2_WS"
9-
source $FORMANT_ROS2_WSs
14+
source $FORMANT_ROS2_WS
1015
fi
1116

17+
export PYTHONUNBUFFERED=true
1218
python3 -m pip install -r requirements.txt
1319
cd formant_ros2_adapter/scripts/
14-
python3 main.py
20+
python3 main.py

0 commit comments

Comments
 (0)