- Install ROS melodic
- Install mavros
- Clone and build this repo
mkdir uw_rov_catkin_ws
cd uw_rov_catkin_ws
git clone [email protected]:Sea-Swindlers/underwater_rov_main.git src
catkin build
roslaunch mavros apm.launch
rosservice call /mavros/set_stream_rate 0 10 1 # To have apm publish messages to ros.
pip3 install roboticstoolbox-python
rosrun mavros mavsafety arm
rosrun mavros mavsys mode -c MANUAL
rosrun mavros mavsys mode -c STABILIZE
roslaunch mavros_extras teleop.launch teleop_args:="-rc"
On the jetson:
export ROS_MASTER_URI=http://192.168.4.104:11311
On the laptop:
export ROS_MASTER_URI=http://192.168.4.104:11311
export ROS_IP=192.168.4.104 # or whatever your laptop ip is