Mavlink shell on PixFalcon

Hi!

Is it possible to access the nsh shell via the mavlink USB link on PixFalcon?

I was unsuccessful so far. I can receive mavlink messages using USB and it connects correctly to QGroundControl. However when I run the mavlink_shell.py script, it hangs forever, and the board stops sending on USB.

I made sure to disconnect QGC before running the script, and I checked with minicom that nothing was sent afterward.

I flashed the PixFalcon with latest QGC with stable and master builds, I also tried with master that I built myself.

Thanks,

Have you tried without QGC running at all? Then plug in the pixfalcon and try mavlink_shell.py. Are you sure you have the correct serial port?

I made more tests but I cannot really make sense of the results. It seems mavlink_shell.py or QGC have to connect quickly after the board is plugged, otherwise the board becomes silent.

Test 1

  • plug board
  • start mavlink_shell.py : OK
  • stop mavlink_shell.py
  • start QGC : communication lost after ~1second
  • stop QGC
  • start mavlink_shell.py: hangs forever trying to connect

Test 2

  • plug board
  • wait 1 minute
  • start mavlink_shell.py : hangs forever trying to connect
  • stop mavlink_shell.py
  • start QGC : no connection
  • stop QGC
  • start mavlink_shell.py: hangs forever trying to connect

Test 3

  • plug board
  • start QGC : communication lost after ~1second
  • stop QGC
  • start mavlink_shell.py: hangs forever trying to connect

Test 4

  • plug board
  • wait 1 minute
  • start QGC : communication lost after ~1second
  • stop QGC
  • start mavlink_shell.py: hangs forever trying to connect

Test 5

  • start QGC
  • plug board: communication OK
  • stop QGC
  • start mavlink_shell.py : hangs forever trying to connect

Test 6

  • start QGC
  • plug board: communication OK
  • stop QGC
  • start QGC: communication lost after ~1second

Hi! I am trying to connect my pc as a companion computer with my controller(using two UART to USB converter and connect them to my pc) but when I try to connect to mavlink_shell.py from the terminal itis just giving me the messageconntecting to MAVLINK and waits forever, did you overcome your issue? If yes, what did you do?