Initial position estimate
Opened this issue · 2 comments
Hi Clyde,
Been using your codebase for a ROS2 educational workshop, thanks for making this public.
Is this part of this README still accurate? Not seeing where the vision position estimate or default pose is sent to ArduSub.
Line 94 in c91b80c
Thanks in advance.
Been using your codebase for a ROS2 educational workshop, thanks for making this public.
Cool! I hope it is going well.
Not seeing where the vision position estimate or default pose is sent to ArduSub.
orca_base publishes the vision position estimate to the /mavros/vision_pose/pose
topic. Mavros subscribes to this topic and publishes VISION_POSITION_ESTIMATE on MAVLink.
orca4/orca_base/src/base_controller.cpp
Line 389 in c91b80c
orca4/orca_base/src/base_controller.cpp
Line 176 in c91b80c
It took me a while to trace through the mavros code to see how ROS topics turn into MAVLink messages, and vice versa. It would be nice to document some of this in orca4, I suppose.
ArduPilot's DDS support is getting better, it might be possible to remove mavros entirely one day. :-)
@clydemcqueen thanks! That helps. My issue has been waiting for an EKF pose back from ArduSub so that go_auv()
can arm. I thought maybe the EKF wasn't initializing without an initial pose but looks like that wouldn't be it.