From 029f224d7266850e97069eef0a785ee07bcf322c Mon Sep 17 00:00:00 2001 From: acki Date: Tue, 20 May 2025 16:29:11 -0400 Subject: [PATCH] update install / build script --- build.sh | 4 +++- install.sh | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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