Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Rover initalization/IK-solver.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd /home/wiscrobo/workspace/IK_Solver/WRoverSoftware
cd src/relaxed_ik_ros2/relaxed_ik_core
cargo build
cd ../../..
source /opt/ros/humble/setup.bash
colcon build --symlink-install
. install/setup.bash
ros2 launch arm_ik demo.launch.py
8 changes: 8 additions & 0 deletions Rover initalization/base-station.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd /home/wiscrobo/workspace/WRoverSoftware

if [ $1 == 'p' ]; then
git checkout dev/basestation
fi

colcon build
./basestation.sh
3 changes: 3 additions & 0 deletions Rover initalization/main.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
gnome-terminal --wait -- ./base-station.sh
gnome-terminal --wait -- ./IK-solver.sh
gnome-terminal --wait -- ./rover-station.sh
17 changes: 17 additions & 0 deletions Rover initalization/rover-station.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
nmcli radio wifi on
nmcli dev wifi connect WRoverBasestation_5G password "i#3Er0b0"

until sshpass -p i#3Er0b0 ssh [email protected]; do
sleep 3
done

cd /home/wiscrobo/workspace/WRoverSoftware
git checkout dev/roverStation

{
colcon build &&
} || {
rm -r build install log && colcon build
}

./roverStart.sh