-
Notifications
You must be signed in to change notification settings - Fork 993
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
Mavros dies and kills jetson TX1 also #645
Comments
Following up on my own question. I changed the TX1 to use UART1 instead of UART0. This shows up in 16.04 L4T as /dev/ttyTHS2. I can see traffic from the pixhawk using cat. Now if run px4.launch with ttyTHS2 as the _fcu_url mavros starts up and communicates with the pixhawk. So some progress. Maybe the TX1 only wants console on UART0. HOWEVER, I cannot keep mavros running - gives all kinds of timeouts: If i try ubuntu@tegra-ubuntu:~$ rostopic echo mavros/state I get just this one response then hangs... header:
|
It's is a bug in the Tegra serial driver. I have been able to reproduce this forever. |
But as far as Nvidia told me, the 16.04 release shouldn't have it. Did you disable the system serial console on UART0? Because it will cause the same issues as you're seeing unless the console is completely disabled. I don't remember the exact procedure, but you need to edit a few files to disable console output on UART0. I would suggest using UART1 however. |
Also maybe better to use USB-UART since nvidia does crap again... Look at To run under strace you must start |
Good news. mavros works with JetsonTX1 running ubuntu 16.04 L4T! Problem with earlier test using uart1 was a bad regulator so pixhawk was resetting on brownout. BTW I am using the connect-tech orbitty carrier board on the TX1. It is compact and excellent. So for any one connecting pixhawk via mavros to Jetson TX1:
Hope this helps someone. Thanks to mhkabir and vooon |
How did you guys connect the Jetson TX1 to the pixhawk? Do you have a picture of the wiring done? |
This is only bug and feature tracker, please use it
to report bugs or request features.
Issue details
I have been running mavros on ubuntu laptop 14.04 indigo fine but I am moving to jetson TX1 running 16.04 kinetic. I am connected over UART1 (ttyS0)
Please describe the problem, or desired feature
I can see traffic on ttyS0 using cat /dev/ttyS0 so I know the hardware is working. when I launch px4.launch I get the output shown below but within a few seconds the system dies and the TX1 is completety unresponsive. Need to disconnect the pixhawk and then restart TX1 !
MAVROS version and platform
Mavros: ?0.18.4?
ROS: Kinetic - installed using procdedure by Jetson hacks. ROS works ok
Ubuntu: ?16.04?
kinetic 16.06 tegra
Autopilot type and version
[ ] ArduPilot
[X] PX4
Version: ?3.7.1?
Node logs
Diagnostics
cannot run this is uart connected to pixhawk !
Check ID
gives no response. need to ctrl-C
The text was updated successfully, but these errors were encountered: