Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGC logging issues with Intel Aero RTF #9332

Closed
jdiament95 opened this issue Apr 19, 2018 · 3 comments
Closed

QGC logging issues with Intel Aero RTF #9332

jdiament95 opened this issue Apr 19, 2018 · 3 comments

Comments

@jdiament95
Copy link

jdiament95 commented Apr 19, 2018

I'm following the instruction in this tutorial, but I can't consistently generate log files. Most of the time, when I click "start logging" no file appears under "Saved Log Files." Occasionally a file appears and the index begins increasing, but then it quickly disappears.

Here's some info from the NuttX console:

nsh> logger status
INFO [logger] Running in mode: mavlink
INFO [logger] Mavlink Logging Running

nsh> mavlink status
instance #0:
mavlink chan: #0
no telem status.
flow control: ON
rates:
tx: 0.512 kB/s
txerr: 0.000 kB/s
rx: 0.000 kB/s
rate mult: 0.377
accepting commands: YES, FTP enabled: NO
transmitting enabled: YES
mode: Normal
MAVLink version: 2
transport protocol: serial (/dev/ttyS3 @57600)

instance #1:
GCS heartbeat: 865846 us ago
mavlink chan: #1
type: GENERIC LINK OR RADIO
flow control: ON
rates:
tx: 66.425 kB/s
txerr: 0.028 kB/s
rx: 0.805 kB/s
rate mult: 1.000
ULog rate: 40.0% of max 70.0%
accepting commands: YES, FTP enabled: YES
transmitting enabled: YES
mode: Onboard
MAVLink version: 2
transport protocol: serial (/dev/ttyS1 @921600)

@bkueng
Copy link
Member

bkueng commented Apr 19, 2018

Did you disable logging in mavlink-router? By default, logs are already stored on the linux side via mavlink router under /var/lib/mavlink-router.

@jdiament95
Copy link
Author

How could I check if I disabled logging in mavlink-router? I never intentionally did that.

Is the file path you mentioned on the aero compute board? If so, is there any way to get the logs to store on my laptop running QGC?

@bkueng
Copy link
Member

bkueng commented Apr 19, 2018

How could I check if I disabled logging in mavlink-router?

There should be a line Log= in /etc/mavlink-router/main.conf on the compute board that you can delete.

Is the file path you mentioned on the aero compute board?

Yes. If you disable mavlink router ligging, you should be able to use the QGC log streaming, as you did above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants