Open 41Mo opened 1 year ago
Hi @41Mo, thanks for the notes.
Hi @41Mo Good catch regarding point 1. It is indeed missing the else block. Do you want to create a PR for this? Otherwise, I can do that in a few days.
@julianoes I will be happy to do pr on 2 issue.
Bug report
Greetings. I am trying to communicate with ArduCopter firmware via MAVSDK, and i found out a few problems. Some of them already discussed in #1990 issue.
@41Mo Have you successfully get more actions working with Arducopter? does the set_rate_battery helps? if yes, what value (hz) do you use?
Nevermind, I got it working on Pi4B.
Bug report
Greetings. I am trying to communicate with ArduCopter firmware via MAVSDK, and i found out a few problems. Some of them already discussed in #1990 issue.
Issue details
action.takeoff() implementation for apm - takeoff_async_apm function works only if vehicle is not in offboard mode. This is kinda strange behaviour. e.g. User might change mode to offboard via rc controller and then want to takeoff, but in this case command would not be sent. Probably there is missing else branch.
Another strange thing, not a bug, but misleading behavior is telemetry.set_rate_battery(). This function sets MAVLINK_MSG_ID_SYS_STATUS, which is used not only for battery, but for health status primarily. Probably this function should be called set_rate_sys_status()? And for battery rate MAVSDK should implement set_rate_battery(), which sets BATTERY_STATUS rate?