voxl-mavlink-server external FC Bus Error
-
We were running a VOXL-1 based system off of staging.
Aftern an
opkg update
andopkg upgrade
it looks like the MAVLINK server is broken. We're investigating now, just wanted to get this out there.voxl:~$ voxl-mavlink-server loading our own config file ================================================================= Parameters as loaded from config file: primary_static_gcs_ip: 192.168.8.10 secondary_static_gcs_ip: NULL autopilot_uart_backup_bus: 12 autopilot_uart_bus: 5 autopilot_uart_baudrate: 921600 udp_mtu: 0 en_external_ap_timesync: 1 ================================================================= Successfully opened primary mavparser on bus 5 Starting primary thread for bus 5 Successfully opened backup mavparser on bus 12 Starting backup thread for bus 12 got first packet on bus 5, stopping the other bus: 12 Adding primary GCS IP address from conf file to list: 192.168.8.10 Added new UDP connection to 192.168.8.10 Not connecting to secondary gcs ip: NULL Added new UDP connection to 10.147.20.136 CONNECTED to GCS at 10.147.20.136 Init complete, entering main loop Detected Autopilot Mavlink SYSID 1 thread for bus 12 trying to close thread for bus 12 Successfully closed Bus error
If I rollback the mavlink server to previous versions it seems happy but I can't connect to
voxl-vision-hub
through the mavlink server from something like QGC. -
Hi Steve,
If you are using the dev branch of mavlink-server then you do not need voxl-vision-hub to communicate with QGC. If you are using the previous version from sdk0.9.5 then you need voxl-vision-hub to communicate with qgc.
What exactly are you trying to do here? Are you configuring voxl-mavlink-server and voxl-vision-hub using the voxl-configure tool? Are you using both the dev branch for voxl-vision-hub and voxl-mavlink-server?
Zach
-
Zach,
Thanks for the quick response!
I can run both on the dev branch, or roll back to staging.I thought that voxl-vision-hub would talk to the voxl-mavlink-server which handles all communication with PX4.
From there voxl-mavlink-server forwards between visionhub, px4, and QGC once it connections.
I'll try running the new config tool again to see if that cleans anything up.
Anything else to look for for the bus error?
-
@Steve-Turner said in voxl-mavlink-server external FC Bus Error:
Anything else to look for for the bus error?
Yeah no problem!
So as of the dev branch (which is the latest and greatest dev code) pretty much all mavlink esc forwarding is now handled by voxl-mavlink-server. Which is why you shouldn't need it for qgc connection anymore. Which method of internet are you using? Softap, station? Are you connecting to the voxl wifi or communicating over a LAN?
As for the bus error, could you give me a bit more as to what you are doing hardware wise?
-
I am also trying to understand this. I was able to forward the mavlink messages from voxl to the station via wifi (using voxl-wifi station), but I am not able to specify the port as it streams everything to the default port 14550. How can I specify the port to which I can send the telemetry?
-