FlytOS 1.34b on Pi3, with Pixhawk loaded PX4 firmware is not displaying GPS, Flight mode in Flytconsole whereas with Ardupilot firmware its working fine


#1

Hi !

FlytOS 1.34b on Pi3, with Pixhawk loaded PX4 firmware is not displaying GPS, Flight mode in Flytconsole whereas with Ardupilot firmware its working fine.

I have followed the procedure here.


#2

Can you please send the screenshot when connected to PX4


#3

Hi, pls find below as required. In FlytOS1.31 there was no such issue


#4

Very strange, it started working ok after few power cycles.


PX4 Firmware on Pixhawk connectivity issue with FlytOS-Pi3 (some times work some time not)

PX4 Firmware on Pixhawk connectivity issue with FlytOS-Pi3 (some times work some time not, this time it is 4th power cycle when it not worked).

One thing I have observed that MAVLink Telemetry on QGCS @TCP also does not work in the situation when all tabs are not well detected with PX4.


#5

When you change your autopilot from APM to PX4 or vice versa, FlytOS takes some time to get working. Have patience, and leave it on for 3-4 mins. Mind you, you would only need to wait once. This is a known bug and we are working on it. But, once it connects to PX4, the connection would remain stable, even after multiple reboots.

If flytconsole shows Disconnected, QGC won’t work too.

Also, I hope you understand, that after booting up RPi, please wait for around a minute or two, before expecting Connected status in FlytConsole.


#6

Hi, Thanks for the continued support. I always waited for around 4-5 minutes after every reboot but got it working OK hardly once out of 20 reboots.

With Ardupilot firmware on the same Pixhawk board, no such issue observed even on repeated reboots.
For the time being, I am sticking only to Ardupilot Firmware and shall wait for the fix for PX4.


#7

Hi,

Do you have any preference for APM vs PX4? [quote=“narpat007, post:6, topic:425”]
For the time being, I am sticking only to Ardupilot Firmware and shall wait for the fix for PX4.
[/quote]

Yes, please do this. In the time being, i would do some stress test on RPi with PX4, and try to figure out the problem.


#8

Hi, the only preference is that on the same board when loaded with PX4 firmware, there is huge huge connectivity issue while with Ardupilot firmware on the same Pixhawk board, I did not observe any issue so far.


#9

By this I meant, Which autopilot would you like to work with? Have you worked with either of them before?


#10

Hi, I have very long working experience with Ardupilot, and very rarely used PX4 firmware on Pixhawk board. But I can think of using PX4 firmware too.


#11

Hi,

As such we support both PX4 and APM equally (except FlytConsole mostly supports PX4). All our APIs work with both PX4 and APM. So you can very well work with APM for now.

Unfortunately I have not been able to reproduce your issue on PX4.
Can you please do the following:

  1. Run PX4 on Pixhawk
  2. SSH into RPi3
  3. Stop FlytOS by running command : stop_flytOS
  4. Launch FlytOS by running command : launch_flytOS
  5. Copy the entire output thrown in terminal, into a file
  6. Upload the file over here.

#12

Hi, will try and update once back home.

Regards
NSR


#13

Hi, Pls find attached the same.FlytOS-Pi3 with PX4 firmware on Pixhawk Board - log.txt (81.8 KB)


#14

Well, was flytos working fine at the time you registered the log? with flytconsole showing connected.


#15

Hi, yes, I observed in the FlytConsole that it was working fine at least till the next reboot


#16

Hi, it seems, I got a temporary workaround of this issue and that is while the Pi is on and I have waited for some 3-4 minutes the give power cycle to Pixhawk running PX4 firmware then all the tabs in the FlytConsole become active.


#17

Great that you have found this hack. I think even we faced a similar bug, and it was solved this week. Your problem should be solved in our next release.


#18

Hi, thanks for the support. Is the CSI cam support been resolved ?
I am still waiting for the support to get me HD video at ground.


#19

It is in our pipeline. Should be released by the end of next week.


#20

Thanks, I shall be waiting for that