Issues with controller and drone
-
@Eric-Katzfey The desicion to use systemctl start voxl-px4 was because from what i understand it is that the system boots and services necessary to flight should be enabled and running once a preflight has passed. Our preflight was showing pass but the systems never enabled even though the preset is enabled.

So I am trying to force it to start.When I force it to start I can run the following commands to verify that my preflight has failed in the px4.

Now the system is up and running

Now to check the preflight status:

Here the preflight has failed but in QGround Control its stating a pass and that we are ready to fly.

-
@daniellee Okay, well I would have just recommended power cycling the drone. Let's look at your personal drone now. Seems that the RC is working fine since you can see it in QGC. Why do you say it is not receiving inputs from the RC? What are you doing that convinces you of that?
-
@daniellee said in Issues with controller and drone:
Our preflight was showing pass but the systems never enabled even though the preset is enabled.
What do you mean that the systems never enabled? What systems? How are you trying to enable them? What is the preset you are talking about? Looking at the QGC screen it looks like it is ready to arm. Can you arm it via QGC?
-
@Eric-Katzfey That is the problem. Every time I power cycle the system, it does not keep the services necessary for flight enabled. I will power cycle the drone to show that it does not stay enabled. After power cycling I enabled the px4 service because it was not enable on start up so that I can view the vehicle status.

The preflight failed in the adb shell. But is passing in QGC.I can see the radio RC transmitter moving the joysticks in QGC but the drone does NOT take off. So movement commands sent via the controller are being seen but not used by the drone.

This is what I mean by the joystick inputs not working. These photos show that the controller is connected and the inputs are being read. However, the drone is not using them. -
@daniellee So when you power cycle the drone and then adb in and do
voxl-inspect-serviceswhich services are not enabled and running that you think should be? In your earlier screen shotvoxl-px4, andvoxl-mavlink-serverwere both enabled and running. What other services do you think you need for flight? That's all that should be required for manual flight mode. -
@Eric-Katzfey I understand that but do you know why the controller inputs arent being received by the drone? We have no idea what is causing this.
-
@daniellee I don't know what that means. If you can see the RC sticks / switches at QGC then PX4 has to be seeing them. What happens when you try to arm the drone from QGC?
-
@Eric-Katzfey It gets armed but the drone does not fly/respond to the controller inputs.
-
@daniellee Ah, okay, now we're getting somewhere. If it is arming that means you see the propellers spinning? Can you send me the log file from px4? (Look in
/data/px4/logs). -
@Eric-Katzfey Hi Eric Im not at the computer right now and the px4 logs are the same as the ones above, the props arent spinning even when armed on QGroundControl.
-
@daniellee I don't see any log files attached in this thread.