All Projects → eFiniLan → xnxpilot

eFiniLan / xnxpilot

Licence: MIT license
Openpilot on Jetson Xavier NX

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Cap'n Proto
48 projects
assembly
5116 projects
shell
77523 projects

Projects that are alternatives of or similar to xnxpilot

linux nvidia jetson
Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems. Currently supporting Nano, TX2, AGX Xavier, and Xavier NX. Support for TX2 NX coming soon.
Stars: ✭ 68 (-16.05%)
Mutual labels:  nvidia, xavier-nx
isaac ros dnn inference
Hardware-accelerated DNN model inference ROS2 packages using NVIDIA Triton/TensorRT for both Jetson and x86_64 with CUDA-capable GPU
Stars: ✭ 67 (-17.28%)
Mutual labels:  nvidia, jetson
Torch-TensorRT
PyTorch/TorchScript compiler for NVIDIA GPUs using TensorRT
Stars: ✭ 1,216 (+1401.23%)
Mutual labels:  nvidia, jetson
play with tensorrt
Sample projects for TensorRT in C++
Stars: ✭ 39 (-51.85%)
Mutual labels:  nvidia, jetson
Jetson Inference
Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
Stars: ✭ 5,191 (+6308.64%)
Mutual labels:  nvidia, jetson
Jetson easy
🔩 Automatically script to setup and configure your NVIDIA Jetson [Nano, Xavier, TX2i, TX2, TX1, TK1] . This script run different modules to update, fix and patch the kernel, install ROS and other...
Stars: ✭ 219 (+170.37%)
Mutual labels:  nvidia
eon-custom-themes
Upgrade your EON/Leon/Two's Boot Logo, Boot Animation, OpenPilot Spinner, and more!!!
Stars: ✭ 21 (-74.07%)
Mutual labels:  openpilot
Nicehashquickminer
Super simple & easy Windows 10 cryptocurrency miner made by NiceHash.
Stars: ✭ 211 (+160.49%)
Mutual labels:  nvidia
Genomeworks
SDK for GPU accelerated genome assembly and analysis
Stars: ✭ 215 (+165.43%)
Mutual labels:  nvidia
nvidia-docker-bootstrap
For those times when nvidia-docker is not possible (like AWS ECS)
Stars: ✭ 19 (-76.54%)
Mutual labels:  nvidia
openpilot
FOR PRE-AP/AP1/AP2 TESLA CARS ONLY: open source driving agent. You can help development by donating @ https://github.com/sponsors/BogGyver
Stars: ✭ 30 (-62.96%)
Mutual labels:  openpilot
Plotoptix
Data visualisation in Python based on OptiX 7.2 ray tracing framework.
Stars: ✭ 252 (+211.11%)
Mutual labels:  nvidia
Gl ssao
optimized screen-space ambient occlusion, cache-aware hbao
Stars: ✭ 220 (+171.6%)
Mutual labels:  nvidia
openpilot
jvePilot: FCA: Hybrid OpenPilot/ACC
Stars: ✭ 32 (-60.49%)
Mutual labels:  openpilot
Relion
Image-processing software for cryo-electron microscopy
Stars: ✭ 219 (+170.37%)
Mutual labels:  nvidia
F1-demo
Real-time vehicle telematics analytics demo using OmniSci
Stars: ✭ 27 (-66.67%)
Mutual labels:  nvidia
Moonlight Common C
Core implementation of Nvidia's GameStream protocol
Stars: ✭ 218 (+169.14%)
Mutual labels:  nvidia
Deeppicar
Deep Learning Autonomous Car based on Raspberry Pi, SunFounder PiCar-V Kit, TensorFlow, and Google's EdgeTPU Co-Processor
Stars: ✭ 242 (+198.77%)
Mutual labels:  nvidia
MultiOSD
MinimOSD firmware for OpenPilot/LibrePilot CC/CC3D/Atom/Revolution/Revo Nano, MAVLink (APM/Pixhawk PX4/Paparazzi/generic MAVLink), GPS u-blox, TauLabs, dRonin
Stars: ✭ 42 (-48.15%)
Mutual labels:  openpilot
Jetson Containers
Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
Stars: ✭ 223 (+175.31%)
Mutual labels:  nvidia

Licensing

xnxpilot is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless Rick Lan, dragonpilot, comma.ai, Inc. and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.


Table of Contents


What is xnxpilot?

xnxpilot (Xavier NX Pilot) is an open source driver assistance system based on dragonpilot and openpilot, running on a NVIDIA Jetson Xavier NX platform instead of a qualcomm 821 mobile phone.

If you would like to run it with minimal changes to openpilot, please see the example in "doc" branch, based on openpilot 0.8.4


Showcase

Simulation:

On road:

Running on dragonpilot 0.8:


Checklist

  • Create build scripts
  • Add patch samples / tutorials.
  • On road lateral control tests.
  • On road longitudinal control tests.
  • Add IMU sensor to improve GPS accuracy.
  • Tuning. (WIP)

Hardware Requirement


Software Requirement


Hardware assembly

It is important to know that your camera needs firmly attached onto your windshield, any small movement to the camera while driving may result dangerous steering/acceleration.

I highly recommended to 3D print those commaai windshield mount (use with gopro mount) and use it to mount your camera, 24 degree one will do the job.


Installation

  1. Install ubuntu 18.04 / Jetpack 4.6 on to sdcard
  2. Insert your sd card to your jetson, have camera connect to CAM0, boot up, use the following configuration (installer will use those values to set up the device):
  • username: comma
  • password: comma
  • hostname: tici
  • mode: 20W 6 cores
  1. Once installation finished, SSH into the device and continue the rest of the processes.
  2. run:
  • sudo /opt/nvidia/jetson-io/jetson-io.py
  • select Configure Jetson Nano CSI Connector > Configure for compatible hardware > Camera IMX477 Dual > Save pin changes > Save and exit without rebooting.
  1. clone this repo to your home directory (e.g. cd ~/ && git clone https://github.com/efinilan/xnxpilot.git openpilot -b 0.8.9 --single-branch)
  2. run cd ~/openpilot/jetson/ && sudo bash env_installer.py
  3. Take a rest, this will take around 1.5 hrs to config your system and another 10 mins to compile dragonpilot, depends on your internet connection.
  4. Congradulations, you have dragonpilot running on your jetson.

Credits


Notes

set_core_affinity

Jetson Xavier NX has 6 cores running at 1.9 GHz, here is what I've defined:

0 = camerad

1 = modeld

2 = boardd

3 = controlsd

4 = plannerd / radard

This will spread processes other CPU cores.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].