I have a problem in simulation using gazebo, mavros, ros noetic.
I wrote a script to send landig_target/raw data to the autopilot but the terminal in mission planner and mavros shows PrecLanding Failsafe Measures
I have a problem in simulation using gazebo, mavros, ros noetic.
I wrote a script to send landig_target/raw data to the autopilot but the terminal in mission planner and mavros shows PrecLanding Failsafe Measures
Without more information there is no way we can guess what is your problem.
Post a lot more details
@amilcarlucas I have followed the documentation on ros sitl mavros
Using the default parameters of SITL in iris world applied changes to enable the camera view with roscam
On the default parameters of the simvehicle.py the plnd is enabled.
I wrote a script to detect aruco markers and publish to mavros/landing_target/raw the angle and the distance with pose and orientation
Enabled the lt on landing target in apm_config.yaml file
I am taking off to 5m, enabling the aruco detector script is publishing to landing target/raw but when i change mode to Land the error warning show PrecLand Failsafe Measures and lands vertictly without considering the aruco pose
Also i cant see the LANDING_TARGET on my mavlink inspector when I am publishing to mavros/landing_target/raw