Async notification for position setpoint achieved


#1

Hi Flytbase Team,
If i set Async flag true in position setpoint API then is there any callback/topic which updates results asynchronously.
I went through forum and found this post.

Here you have recommended to subscribe to topic /navigation_server_pos/result.
I tried this but found that position is updated continuously on this topic.
I would like to have single notification indicating position reached successfully or failed.
Do you have any other topic for this? How can I achieve this?

Thanks
Sapana


#2

Hi @sapana_khemkar,

The topic you mentioned is indeed the correct topic. It gets updated when a new position setpoint/ velocity setpoint is completed. For px4/apm, If the vehicle is not in Offboard/guided mode, it may get updated every 1s, but for DJI it should not be the case.