source/home/ros/.bashrc
source/opt/ros/jazzy/setup.bash
sourceinstall/setup.bash
echo'🐢 Environment ready!'# bash key bindings# replace bringup with full bringup namebind'"\C-b": "ros2 launch <bringup>"'# Function to get git branchparse_git_branch(){gitbranch2>/dev/null|sed-e'/^[^*]/d'-e's/* \(.*\)/[\1]/'}# Custom PS1 with turtle icon and git branchexportPS1="🐢 \[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\]\$ "
build:# Use symlink install to speed up buildssymlink-install:true# Set build type (e.g., Release or Debug)cmake-args:-"-DCMAKE_BUILD_TYPE=Release"test:# Run tests in parallelparallel-workers:4# Additional settings for colcon test and other commandstest-result:verbose:true
{"version":"2.0.0","tasks":[{"label":"colcon","detail":"Build all ros2 packages using colcon","type":"shell","command":"colcon build","problemMatcher":[],"group":{"kind":"build","isDefault":true}}]}