April Tag Relocalization with External Fight Controller
-
Hi everyone,
I am trying to use the April Tag Relocalization with an External Flight Controller. Everything works fine on the voxel's side i.e. the tag is detected and my debugging show that the body frame with respect to the fixed frame is computed correctly. However, it is unclear to me how the correction of the April Tag is transmitted to the autopilot since the documentation says:"When enabled, any SET_POSITION_TARGET_LOCAL_NED mavlink messages received through UDP will have its position, velocity, acceleration, and yaw values updated with the fixed frame offset before being sent to PX4 over UART. This is very useful for MAVROS and MAVSDK processes running locally or remotely."
I was expecting this to work also with an external flight controller by sending the setpoints from a remote ground station, but the drone keeps NOT following the tag's corrections. Could you provide some help with this issue?
Thanks in advance for your response.
-
Hi everyone,
I am trying to use the April Tag Relocalization with an External Flight Controller. Everything works fine on the voxel's side i.e. the tag is detected and my debugging show that the body frame with respect to the fixed frame is computed correctly. However, it is unclear to me how the correction of the April Tag is transmitted to the autopilot since the documentation says:"When enabled, any SET_POSITION_TARGET_LOCAL_NED mavlink messages received through UDP will have its position, velocity, acceleration, and yaw values updated with the fixed frame offset before being sent to PX4 over UART. This is very useful for MAVROS and MAVSDK processes running locally or remotely."
I was expecting this to work also with an external flight controller by sending the setpoints from a remote ground station, but the drone keeps NOT following the tag's corrections. Could you provide some help with this issue?
Thanks in advance for your response.
-
I was able to make it work. I have only one question left: is it possible to leverage the Relocalization only in Offboard mode and not in Mission? Or am I missing something?
To conclude this post in the hope to help someone else who's having the same problem, I found this reply on another question in this forum which dates back to 2021. I guess the Relocalization still works only in Offboard and NOT in Mission. The same applies for an external flight controller e.g. in Ardupilot it works in Guided Mode and NOT in Auto.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login