install mavros/mavlink from source
[link](https://dev.px4.io/en/ros/mavros_installation.html\
change version of mavros/mavlink package in /tmp/mavros.rosinstall file
and following instructions from there.
rosdep error
install dependencies for ros packages.
Use
rosdep update
first.
rosdep install mavros
rosdep install mavlink
instead of for all.
alternatively
The above procedure is equivalent to git clone
source code, then checkout
certain tags, then catkin build
.
Remember to get all the dependencies using rosdep
.
make gazebo error
use Gazebo7 (9 is not working for make gazebo)
apt-get install gazebo7
apt-get install libgazebo7-dev
may need to install dependencies if prompted
tutorial suggested Gazebo7/8.
Vehicle GPS not fixed
It is likely a problem with Firware, v1.8.0 is tested and there was no problem.
P.S.: v1.7.3 is not working
takeoff altitude too low
in rover airframe, don't use takeoff command in waypoints.
offboard mode (or mission mode) during the autonomous mode
what does the vehicle do after disengaged from offboard mode?
COM_OBL_ACT parameter and COM_OBL_RC_ACT parameter
spektrum binding
use QGroundControl to set receiver into binding mode. select bind in transmiter to bind.
communication with companion computer
- parameter sys_companion set to correct value with baud rate 921600
- extra.txt file set communication baud rate
mavlink stop-all mavlink start -d /dev/ttyS1 -b 921600 -r 20000 -m onboard
pwm no output?
- memory card issue? remove memory card and see
- check mode/airframe are properly set