Offboard goes to manual in midair immediately after automatic takeoff by MRS #217
Replies: 3 comments 18 replies
-
|
@klaxalk Hey Tomas. Would be appreciated to hear your opinion and feedbacks on this problem. @migsdigs Did you use mrs_point_lio? Did you have the problem of mine? However, I'm sure it's not related to the mrs_point_lio as the state estimator is working perfectly. |
Beta Was this translation helpful? Give feedback.
-
|
I also find this diagram for offboard mode in PX4 docs: |
Beta Was this translation helpful? Give feedback.
-
|
Hey, the GCS (if it is QGC) should have nothing to do with it in any positive way... it is not needed and it might even interfer when it is connected over WiFi through Mavros (since more data is pushed through the serial line). Moreover, there is a known issue that can cause the Mavros the crash when QGC is disconnected, so do not use this during a flight. Just to make sure we are on the same page:
The message "we are out of offboard' is just a report on the change of state of PX4. This means that PX4 decided to exit offboard for on of the following reasons:
Tomas |
Beta Was this translation helpful? Give feedback.







Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an aerial robot, and have installed MRS UAV System version 1.5 (ROS Noetic) on it. I'm using mrs_point_lio as my state estimator as my SLAM.
MRS is able to take off my robot autonomously, but immediately after the takeoff, the robot performs an emergency landing (eland). I checked my console logs, and I see there is an error in the control manager after the takeoff that states:
[ERROR]: [ControlManager]: we fell out of OFFBOARD in mid air, disabling outputTo check the issue more deeply, I removed my props and made a bench test, where I moved the robot to the takeoff setpoint, and in this case, the issue did not exist! There was only one difference between my real flight and the bench test: My ground control station was connected to the Pixhawk over USB. To confirm this, I removed the USB and repeated the bench test, and saw that the issue was happening. Also, I was able to make a full autonomous flight from takeoff to landing with MSR in offboard mode, but with a connected USB cable to the ground control station (my laptop).
I have these things on my aerial robot:
I have a good Wi-Fi UDP connection between GCS and Pixhawk 6x, not interrupted even during flights. The strange point is that in offboard mode, the GCS has nothing to do with the robot except monitoring; So what is really the link between my problem and the non-existence of USB between GCS and Pixhawk 6x?
Also, I check my PX4 logs (available here). Indeed, the error that appears after the takeoff by MRS is a PX4 failsafe that states offboard signal lost. In the MRS ROS core log, it states OFFBOARD has deactivated, so it had to stop sending output.
It's really strange, but what it is, is related to the USB between Pixhawk and GCS.
I have attached my main MRS terminal logs.
4_HwApi.log
5_Status.log
7_Core.log
8_AutoStart.log
14_EstimDiag.log
15_kernel_log.log
16_roscore.log
I would appreciate any kind of ideas and fixes for solving this problem!
Beta Was this translation helpful? Give feedback.
All reactions