This repository was archived by the owner on Feb 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Pool testing
Maxwell Lin edited this page Sep 2, 2023
·
4 revisions
A collection of frequently used commands during pool tests.
Launch our pool-test setup:
scripts/docker-pool-test.shNOTE: If the onboard and landside docker containers are already running, instead use
scripts/pool-test.shdocker run -td --privileged --net=host -v /home/robot/robosub-ros:/root/dev/robosub-ros -v /dev:/dev dukerobotics/robosub-ros:onboardNOTE: For joystick, landside must be running on the Linux laptop
docker run --privileged --net=host -td -p 2201:2201 -v ${PWD}:/root/dev/robosub-ros dukerobotics/robosub-ros:landsidehostnamenano etc/hostsping {hostname}roslaunch offboard_comms serial.launchrostopic pub -r 10 /offboard/thruster_speeds custom_msgs/ThrusterSpeeds '{speeds: [10,10,10,10,10,10,10,10]}'NOTE: This must be done with serial.launch instead of motion.launch because motion.launch launches
test_state_publisher.py which also publishes to offboard/thruster_speeds.
roslaunch execute motion.launchrosservice call /enable_controls truerosrun controls test_state_publisher.pyStart the raw joystick node on the landside computer by executing
roslaunch joystick_raw.launchStart the joystick pulishing node on either computer by executing
roslaunch pub_joy.launch