i have a question… - hope someone can help me.
my goal is to start a flying wing manually, fly around for a bit, switch to the offboardmode (via rc) and and then my wing should follow some given setpoints.
i have a pixhawk cube, a lattepanda alpha as companion computer with ros/mavros installed.
now: do i need to write a c++ file with the given setpoints or where shoud the ‘offboard’-route be written? how can i guarantee that the script starts as soon as i am in the offboard mode?
thanks for any help!