mavros icon indicating copy to clipboard operation
mavros copied to clipboard

Running precision landing on the FCU with landing target plugin doesn't seem to be working

Open canberkgurel opened this issue 6 years ago • 7 comments

Hi all,

I am working on a precision landing problem where I have a custom vision node (aruco_detect) that runs on the companion computer (Ubuntu 16.04, ROS Kinetic) and passes the pose estimation to the landing_target.cpp plugin. The message type that I'm using is PoseStamped (geometry_msgs::PoseStamped) msg. I added a few print statements into landing_target.cpp and captured a snapshot of the data that the plugin is receiving.

When I'm testing, the drone arms, switches to the GUIDED mode, and takes off to 3m, then it flies over the aruco marker. I monitor the output of the vision node and when it starts publishing the pose estimation (a marker is being detected), the drone switches to the land mode and lands. I expect the drone to follow the landing target that is set while it's descending, which doesn't appear to be the case. It looks like it doesn't take corrective actions and instead it lands where it is.

MAVROS version and platform

Mavros: ?0.18.4? ROS: Kinetic Ubuntu: 16.04

Autopilot type and version

[ x ] ArduPilot [ ] PX4

Version: 3.6.11

canberkgurel avatar Dec 11 '19 23:12 canberkgurel

@canberkgurel Were you able to solve it?

aydal avatar Dec 29 '19 13:12 aydal

Hello @canberkgurel Are you using AUTO.PRECLAND mode in ardupilot? This may help : https://docs.px4.io/v1.9.0/en/advanced_features/precland.html#software-configuration-parameters

aydal avatar Dec 31 '19 10:12 aydal

@aydal We are using the APM software stack and in that the mode for precision landing is "land"(after setting the proper precland enable params).

khbnzr avatar Dec 31 '19 11:12 khbnzr

@canberkgurel @khabbab-nazar @m1baldwin Were you able to see the messages in MAVlink inspector?

mohammedshafeeqet avatar Jun 22 '20 16:06 mohammedshafeeqet

Did you manage to solve your problem? I'm facing the same issue

DoneMan avatar Aug 27 '21 14:08 DoneMan

@DoneMan No, not at the time. We'll re-attempt soon with more recent mavros, mavlink, and PX4-Autopilot versions.

canberkgurel avatar Aug 28 '21 19:08 canberkgurel

Did you guys solve it?

BrenoPimentel avatar Aug 16 '22 01:08 BrenoPimentel