I am trying to override the target of the Altitude holder with a custom message from Mavlink but I am not sure how to do it.
I was looking into the code and trying to find out which variable was storing the actually cms that the drone needs to be, but so far I couldn't find the right one.
I did try to override the variable controller_desired_alt, the drone went to the right altitude but after it came back to the original point.
I am thinking that I need to change something else and tell the APM that the target is changed.
Any help? :)
Replies
Anyone?!