diff --git a/build.sh b/build.sh index 2c6442f..c075c61 100755 --- a/build.sh +++ b/build.sh @@ -1 +1,3 @@ -MAKEFLAGS="-j2" colcon build --executor sequential --parallel-workers 1 --cmake-args -DCMAKE_BUILD_TYPE=Release \ No newline at end of file +MAKEFLAGS="-j2" colcon build --executor sequential --parallel-workers 1 --cmake-args -DCMAKE_BUILD_TYPE=Release + +source install/setup.bash \ No newline at end of file diff --git a/install.sh b/install.sh index 88c08fc..80c5eee 100755 --- a/install.sh +++ b/install.sh @@ -34,4 +34,12 @@ sudo apt install "./wiringpi-*.deb" -y sudo apt-get install qt6-base-dev qt6-svg-dev libxml2-dev socat -y -cd .. \ No newline at end of file +cd .. + +echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc +echo "source ~/modelec-marcel-ROS/install/setup.bash" >> ~/.bashrc +echo "export RMW_IMPLEMENTATION=rmw_fastrtps_cpp + export FASTRTPS_DEFAULT_PROFILES_FILE=~/modelec-marcel-ROS/fastdds_setup.xml + export ROS_DOMAIN_ID=128" >> ~/.bashrc + +source ~/.bashrc \ No newline at end of file