Servers by jDrones

NVIDIA Jetson Nano for Pixhawk

Thank you .

I had follow up question ,

  1. how do you remote login into Nano , do you ssh or any other method and to that do you use a wifi network outwards ?
  2. Do you run your algorithm on Nano everytime you start PH2 or you programmed Nano to run your program on boot.

Yes you can ssh through wifi or using 900Mhz telemetry radio or bluetooth to the TTY console port

I am currently using jd-RF900Plus for telemetry from Pixhawk 4. And If I use another one to communicate with Nano, they might interfere. I have will have to look for another alternative.

But thanks for your answering my questions.

How to run mavproxy autostart?

Hi! You should use JGND J8 J10 pinouts for UART connetction.
mavproxy.py --master=/dev/ttyTHS1 --baudrate 921600 --aircraft MyCopter

it’s stuck on MAV> link 1 down.
I’ve made the setup GND, Rx-TX and vice versa. But no response from pixhawk. What else do I need to do with /dev/ttyTHS1 port?

Can I do this without a serial converter? I already have a wifi module on USB port and I intend to attach two cameras for stereo vision. Adding another USB device would take up bandwidth. (will this be a issue since it’s usb 3.0)

As quoted above you can use the onboard serial port

Check this
https://www.jetsonhacks.com/2019/10/10/jetson-nano-uart/

Hi ppoirier,
Problem: Quadcopter gets armed, gets GPS location but I am not able to spin motors or lift it even one meter, I have tested udacidrone, dronekit-python, mavproxy.py, ardupilot in all cases it is not able to takeoff.

Definitely I am doing something wrong but after days of work I am still not able to figure out what should be changed and what I have to modify. I need help from experts in this area. On web I have not seen implementation of Jetson nano with quadcopter however NVIDIA’s redtail github (https://github.com/NVIDIA-AI-IOT/redtail) supports jetsonTX1 and TX2. There is some initiative for jetson nano (https://github.com/mtbsteve/redtail) however its not ready to implement and test. I have tested this F450 assembly using FS-i6 transmitter and it fly’s , so there is no issue with quadcopter , it is something related to connection between jetson-nano and pixhawk . I NEED HELP AND GUIDANCE FOR jetson-nano and pixhawk implementation on Quadcopter (please do not point me towards available solution for TX1, TX2, XAVIER or Pi4, I am exclusively trying to implement with nano). I have used the same jetson-nano for jetbots and door camera etc. so i am sure there is no problem or issue with jetson-nano

I have documented all the steps with pictures and it is available in the below mentioned link.
https://www.snitchai.com/category/ai/
or

Any guidance or help will be highly appreciated.
Thank you
shubra

Hello,

Are you able to read any data from Flight Controller using a simple tool like microcom ?
If you connect to a Mavlink enable port you should be able to read some readeable data mixed with binary data.

Ahh OK I looked at your site. I see you can connect with dronekit.
The most striking issue I see is here:
Autopilot Firmware version: APM:Copter-3.4.6

First of all, upgrade the firmware to latest (4.0.2 or more recent)
And then we can start talking :wink:

Thanks ppoirier, i will update the firmware to 4.0.2

Hi snitchai,
what leads you to the conclusion that my project is not ready to implement and test? I have it up and running along with a full implementation of the original Redtail project on Arducopter plus a bunch of enhancements.
In case you ran into any problems please open an issue in my git.

I created it for the TX2 but nothing in the code should prevent it from running on a Nano.

When you can communicate with Arducopter through mavlink and even arm the drone as you described in your paper, then the issue is likely with the drone. I suggest to first verify your logs for any prearm check failures.

mtbsteve, thanks for letting me know that it works for jetson-nano, initially( couple of months ago) i started with redtail but was unsuccessful may be because of my ignorance, it would be a great help if you could add couple of lines on github about any additional requirements/configuration for jetson nano or a small implementation document for jetson nano.

I will first update firmware to 4.0+, rerun and will verify pre arm logs , i sure will communicate back all successful/unsuccessful events. Once again thanks for pointing me in correct direction.

mtbsteve , do you think there is a connection problem between nano and pixhawk? Are the pins correctly connected as shown in my document?

You wrote in your documentation that the communication is working. If your wiring was wrong, you would not receive any results from eg your mavproxy scripts. I have no clue what you are trying to do with those UDACIDRONE packages.
Test it with some simple mavlink commands as explained eg here and look at the Arducopter logs on the Flightcontroller response.
http://ardupilot.github.io/MAVProxy/html/index.html

Thanks ppoirier, I have upgraded from Autopilot Firmware version: APM:Copter-3.4.6 to Autopilot Firmware version: APM:Copter-4.0.1.

Every thing is working as expected , i have uploaded results on the following linkconnecting jetson-nano to pixhawk

1 Like
Servers by jDrones