Giter VIP home page Giter VIP logo

jetracer's Introduction

JetRacer

6/01/2021 - JetPack 4.5.1 based image is updated. It is pre-configured for JetRacer. Detail here.

JetRacer is an autonomous AI racecar using NVIDIA Jetson Nano. With JetRacer you will

  • Go fast - Optimize for high framerates to move at high speeds

  • Have fun - Follow examples and program interactively from your web browser

By building and experimenting with JetRacer you will create fast AI pipelines and push the boundaries of speed.

To get started, follow the setup below.

Cars

There are two different JetRacer cars that you can build. They differ primarily in size and speed. Which one to pick depends on your use case

Latrax Rally Tamiya TT02
1/18th scale 1/10th scale
Moderate Speed High Speed
~$400 total build cost ~$600 total build cost
Compact and portable Large and easy to modify
Soldering required No soldering required
Base car pre-assembled Base car assembly required

If you have any questions, please reach out by creating an issue.

Examples

JetRacer comes with a couple examples to get you up and running. The examples are in the format of Jupyter Notebooks, which are interactive documents which combine text, code, and visualization. Once you've completed the notebooks, start tweaking them to create your own racing software!

Example 1 - Basic motion

In this example you'll learn to progam JetRacer programatically from your web browser. Learn more in the examples documentation.

Example 2 - Road following

In this example, you'll teach JetRacer how to follow a road using AI. After training the neural network using the interactive training notebook, you'll optimize the model using NVIDIA TensorRT and deploy for a live demo. Learn more in the examples.

Setup

To get started with JetRacer, follow these steps

  1. Order parts from the bill of materials

  2. Follow the hardware setup

  3. Follow the software setup

  4. Run through the examples

See also

  • JetBot - An educational AI robot based on NVIDIA Jetson Nano

  • JetCam - An easy to use Python camera interface for NVIDIA Jetson

  • JetCard - An SD card image for web programming AI projects with NVIDIA Jetson Nano

  • torch2trt - An easy to use PyTorch to TensorRT converter

jetracer's People

Contributors

adammconway avatar chitoku avatar jaybdub avatar tokk-nv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jetracer's Issues

jetracer

Hi all,
i build me a jetracer and all notebooks are running, but i have several questions

  1. when i turn on the car, the speedcontroller is bibing all the time
  2. is their a webinterface to drive the car or only with the hardware controller
  3. any assembling or training video available

thx for your help

Alexander

import jetracer error

I setup python using sudo python3 setup.py install
The result I think is OK but I ran basic_motion.ipynb script copying to basic_motion.py
And run the script but raise RuntimeError("The current user does not have permissions set to "....

Does anyone have any idea how to solve this?

OS : linux18.04
python 3.6.8
jetsonnano local

----------------Output of setup.py-------------------

running install
running bdist_egg
running egg_info
writing jetracer.egg-info/PKG-INFO
writing dependency_links to jetracer.egg-info/dependency_links.txt
writing requirements to jetracer.egg-info/requires.txt
writing top-level names to jetracer.egg-info/top_level.txt
reading manifest file 'jetracer.egg-info/SOURCES.txt'
writing manifest file 'jetracer.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/jetracer
copying build/lib/jetracer/racecar.py -> build/bdist.linux-aarch64/egg/jetracer
copying build/lib/jetracer/nvidia_racecar.py -> build/bdist.linux-aarch64/egg/jetracer
copying build/lib/jetracer/init.py -> build/bdist.linux-aarch64/egg/jetracer
byte-compiling build/bdist.linux-aarch64/egg/jetracer/racecar.py to racecar.cpython-36.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetracer/nvidia_racecar.py to nvidia_racecar.cpython-36.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetracer/init.py to init.cpython-36.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying jetracer.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetracer.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetracer.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetracer.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetracer.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/jetracer-0.0.0-py3.6.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing jetracer-0.0.0-py3.6.egg
Removing /usr/local/lib/python3.6/dist-packages/jetracer-0.0.0-py3.6.egg
Copying jetracer-0.0.0-py3.6.egg to /usr/local/lib/python3.6/dist-packages
jetracer 0.0.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.6/dist-packages/jetracer-0.0.0-py3.6.egg
Processing dependencies for jetracer==0.0.0
Searching for adafruit-circuitpython-servokit==1.1.0
Best match: adafruit-circuitpython-servokit 1.1.0
Processing adafruit_circuitpython_servokit-1.1.0-py3.6.egg
adafruit-circuitpython-servokit 1.1.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_servokit-1.1.0-py3.6.egg
Searching for adafruit-circuitpython-register==1.7.1
Best match: adafruit-circuitpython-register 1.7.1
Processing adafruit_circuitpython_register-1.7.1-py3.6.egg
adafruit-circuitpython-register 1.7.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_register-1.7.1-py3.6.egg
Searching for adafruit-circuitpython-pca9685==3.2.5
Best match: adafruit-circuitpython-pca9685 3.2.5
Processing adafruit_circuitpython_pca9685-3.2.5-py3.6.egg
adafruit-circuitpython-pca9685 3.2.5 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_pca9685-3.2.5-py3.6.egg
Searching for adafruit-circuitpython-motor==2.0.0
Best match: adafruit-circuitpython-motor 2.0.0
Processing adafruit_circuitpython_motor-2.0.0-py3.6.egg
adafruit-circuitpython-motor 2.0.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_motor-2.0.0-py3.6.egg
Searching for adafruit-circuitpython-busdevice==4.0.0
Best match: adafruit-circuitpython-busdevice 4.0.0
Processing adafruit_circuitpython_busdevice-4.0.0-py3.6.egg
adafruit-circuitpython-busdevice 4.0.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_busdevice-4.0.0-py3.6.egg
Searching for Adafruit-Blinka==2.5.0
Best match: Adafruit-Blinka 2.5.0
Processing Adafruit_Blinka-2.5.0-py3.6.egg
Adafruit-Blinka 2.5.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-2.5.0-py3.6.egg
Searching for spidev==3.4
Best match: spidev 3.4
Processing spidev-3.4-py3.6-linux-aarch64.egg
spidev 3.4 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/spidev-3.4-py3.6-linux-aarch64.egg
Searching for sysv-ipc==1.0.0
Best match: sysv-ipc 1.0.0
Processing sysv_ipc-1.0.0-py3.6-linux-aarch64.egg
sysv-ipc 1.0.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/sysv_ipc-1.0.0-py3.6-linux-aarch64.egg
Searching for Jetson.GPIO==2.0.1
Best match: Jetson.GPIO 2.0.1
Adding Jetson.GPIO 2.0.1 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for Adafruit-PureIO==0.2.3
Best match: Adafruit-PureIO 0.2.3
Processing Adafruit_PureIO-0.2.3-py3.6.egg
Adafruit-PureIO 0.2.3 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/Adafruit_PureIO-0.2.3-py3.6.egg
Searching for Adafruit-PlatformDetect==1.3.4
Best match: Adafruit-PlatformDetect 1.3.4
Processing Adafruit_PlatformDetect-1.3.4-py3.6.egg
Adafruit-PlatformDetect 1.3.4 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/dist-packages/Adafruit_PlatformDetect-1.3.4-py3.6.egg
Finished processing dependencies for jetracer==0.0.0

-----------------------------------------RunTime Error is below--------------------------------

Traceback (most recent call last):
File "./test.py", line 2, in
from jetracer.nvidia_racecar import NvidiaRacecar
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 656, in _load_unlocked
File "", line 626, in _load_backward_compatible
File "/usr/local/lib/python3.6/dist-packages/jetracer-0.0.0-py3.6.egg/jetracer/nvidia_racecar.py", line 3, in
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 656, in _load_unlocked
File "", line 626, in _load_backward_compatible
File "/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_servokit-1.1.0-py3.6.egg/adafruit_servokit.py", line 52, in
File "/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-2.5.0-py3.6.egg/board.py", line 86, in
from adafruit_blinka.board.jetson_nano import *
File "/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-2.5.0-py3.6.egg/adafruit_blinka/board/jetson_nano.py", line 3, in
from adafruit_blinka.microcontroller.tegra.t210 import pin
File "/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-2.5.0-py3.6.egg/adafruit_blinka/microcontroller/tegra/t210/pin.py", line 3, in
import Jetson.GPIO as GPIO
File "/usr/local/lib/python3.6/dist-packages/Jetson/GPIO/init.py", line 1, in
from .gpio import *
File "/usr/local/lib/python3.6/dist-packages/Jetson/GPIO/gpio.py", line 33, in
raise RuntimeError("The current user does not have permissions set to "
RuntimeError: The current user does not have permissions set to access the library functionalites. Please configure permissions or use the root user to run this

BLE comm. between JetRacer and Phone App

Hi, This is SG Kim,

I hope to send some data from Phone App to JetRacer based on BLE comm.
Can you guide what to do to enable BLE comm between JetRacer and Phone App based on Python?
( JetRacer : device ( Peripheral ), Phone : Central )

I tried to install pybluez, but failed it.

Thanks in advance for your help.

Basic motion problems JetRacer

Hello everyone,

I had a problems with basic_motion notebook.

  1. During calibration no matter what numbers I put in car.steering_gain and car.steering_offset my servo does not turn to right. Maximum motion to the right is natural straight run position (which should be on '0' value). Maximum left motion touches chassis and it looks like it would turn more down if there is not a chassis plate.
  2. Second problem is about throttle. Contrariwise to the instinctive thinking, when I put negative value the car moves forward and opposite with positive value it moves backward.

Thank you in advance for any hints.
Greetings

3D Printed Models for TT-01

Will the 3D printer parts also work for a TT-01? If not, can anyone give some advice on what needs to change?

Jetson Nano B01

Hello,

I got Jetson Nano B01, and I tried included images in this repository but it didn't work. The Nano didn't boot at all.
This there may you mention what this image has over the original image. So, I can run the code over this Nano jetson.

Issue running basic_motion.ipynb directly after software setup

Screen Shot 2019-12-26 at 17 19 21 (2)
Screen Shot 2019-12-26 at 17 19 30 (2)

Forgive my ignorance, as I'm sure the answer to this issue is incredibly simple.

I have attempted to run basic_motion.ipynb after finishing the software setup. However, there are apparently some erroneous values in the code, and I am not experienced enough to figure out what to do to fix it.

I figured posting this as an issue would help others who get stuck right after the software setup as well.

Thanks for any advice you can give, and happy holidays!

Problem with NvidiaRacecar class

Screen Shot 2020-01-10 at 5 04 53 PM

In both the basic_motion and road_following notebooks, the following line results in a timeout error:
car = NvidiaRacecar()

This same code ran fine a few weeks prior and we haven't changed anything since.

Tamiya version problem

Hi,
I made a tamiya version. When I tried the basic motion part, the throttle command did not have any response from the car. I viewed an issue about the transmitter do not have manual override switch. So I bypass the multiplexer and connect the cable of servo motor and ESC to the PCA PWM driver directly. The steering command had response but the throttle did not have. My ESC's model number is TAMIYA TBLE-02S. What problems it might have? Thank you.

wiki page links

on the wiki page none of the link are working... :(

Follow these steps and you should be up and running with JetRacer in no time!

Get parts from the bill of materials
Follow the hardware setup
Follow the software setup
Run through the examples

torch2trt no attribute for reciprocal_

ERROR : AttributeError: module 'torch' has no attribute 'reciprocal_'

while running
'''
from torch2trt import torch2trt
data = torch.zeros((1, 3, 224, 224)).cuda().half()
model_trt = torch2trt(model, [data], fp16_mode=True)
'''

is there any version problem for torch2trt?

image

Mini PC payload

Would it be too heavy on the chassis to add an Intel NUC to jetracer?

Car steering is reversed

I am using a Traxxas 4WD Slash RC Car in place of the Tamiya RC Car and have found during the basic motion tests that the Slash car steering direction is the opposite of the Tamiya car steering direction ie: the Slash steers left when steering is set to 1 instead of steering right.
Therefore I would appreciate it if someone can point me to the proper python code in jetracer where I can reverse the steering input so that my Traxxas car will steer right when steering is set to 1 instead of to the left.
TCIII

STL files dimension unit

Hi,
I am thinking to order an online 3D print service to purchase the supports and the provider asks if the unit dimensions are in millimeters, centimeters or inches?

Does anyone suggest any 3d printing services?

Thanks,
Albano

Criteria for choosing the RC car

Hi,

This is not really an issue but a query. Did you choose the Traxxas LaTrax Rally car specifically for a particular reason, such as the 3d printed base board would fit well with it, or you knew that it was hackable? I am asking because the Traxxas RC cars are not available in India and importing it costs 3x more. There are other RC cars with similar specs (1:18 scale, 2.4 GHz radio, 4WD), such as this.

The Donkey car is also a relatively affordable option. I would appreciate if you could give any opinion on this, I have never played with RC cars and haven't done any hardware hacking before.

PiOLED not connected

When PiOLED is not connected, i2c error message (no acknowledge from address 0x3c) keep sending to console. how to disable or remove PiOLED on Jetracer platform?

小车移动


TimeoutError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_busdevice-4.1.1-py3.6.egg/adafruit_bus_device/i2c_device.py in __probe_for_device(self)
162 try:
--> 163 self.i2c.writeto(self.device_address, b'')
164 except OSError:

/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-3.3.4-py3.6.egg/busio.py in writeto(self, address, buffer, start, end, stop)
83 return self._i2c.writeto(address, memoryview(buffer)[start:end], stop=stop)
---> 84 return self._i2c.writeto(address, buffer, stop=stop)
85

/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-3.3.4-py3.6.egg/adafruit_blinka/microcontroller/generic_linux/i2c.py in writeto(self, address, buffer, start, end, stop)
37 end = len(buffer)
---> 38 self._i2c_bus.write_bytes(address, buffer[start:end])
39

/usr/local/lib/python3.6/dist-packages/Adafruit_PureIO/smbus.py in write_bytes(self, addr, buf)
255 self._select_device(addr)
--> 256 self._device.write(buf)
257

TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

OSError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_busdevice-4.1.1-py3.6.egg/adafruit_bus_device/i2c_device.py in __probe_for_device(self)
168 result = bytearray(1)
--> 169 self.i2c.readfrom_into(self.device_address, result)
170 except OSError:

/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-3.3.4-py3.6.egg/busio.py in readfrom_into(self, address, buffer, start, end)
73 stop = True # remove for efficiency later
---> 74 return self._i2c.readfrom_into(address, buffer, stop=stop)
75

/usr/local/lib/python3.6/dist-packages/Adafruit_Blinka-3.3.4-py3.6.egg/adafruit_blinka/microcontroller/generic_linux/i2c.py in readfrom_into(self, address, buffer, start, end, stop)
43
---> 44 readin = self._i2c_bus.read_bytes(address, end-start)
45 for i in range(end-start):

/usr/local/lib/python3.6/dist-packages/Adafruit_PureIO/smbus.py in read_bytes(self, addr, number)
154 self._select_device(addr)
--> 155 return self._device.read(number)
156

OSError: [Errno 121] Remote I/O error

During handling of the above exception, another exception occurred:

ValueError Traceback (most recent call last)
in
1 from jetracer.nvidia_racecar import NvidiaRacecar
2
----> 3 car = NvidiaRacecar()

/usr/local/lib/python3.6/dist-packages/jetracer-0.0.0-py3.6.egg/jetracer/nvidia_racecar.py in init(self, *args, **kwargs)
16 super(NvidiaRacecar, self).init(*args, **kwargs)
17 self.kit = ServoKit(channels=16, address=self.i2c_address1)
---> 18 self.motor = ServoKit(channels=16, address=self.i2c_address2)
19 self.motor._pca.frequency = 1600
20 self.steering_motor = self.kit.continuous_servo[self.steering_channel]

/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_servokit-1.1.0-py3.6.egg/adafruit_servokit.py in init(self, channels, i2c, address, reference_clock_speed)
84 if i2c is None:
85 i2c = board.I2C()
---> 86 self._pca = PCA9685(i2c, address=address, reference_clock_speed=reference_clock_speed)
87 self._pca.frequency = 50
88

/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_pca9685-3.2.5-py3.6.egg/adafruit_pca9685.py in init(self, i2c_bus, address, reference_clock_speed)
129
130 def init(self, i2c_bus, *, address=0x40, reference_clock_speed=25000000):
--> 131 self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
132 self.channels = PCAChannels(self)
133 """Sequence of 16 PWMChannel objects. One for each channel."""

/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_busdevice-4.1.1-py3.6.egg/adafruit_bus_device/i2c_device.py in init(self, i2c, device_address, probe)
65
66 if probe:
---> 67 self.__probe_for_device()
68
69 def readinto(self, buf, **kwargs):

/usr/local/lib/python3.6/dist-packages/adafruit_circuitpython_busdevice-4.1.1-py3.6.egg/adafruit_bus_device/i2c_device.py in __probe_for_device(self)
169 self.i2c.readfrom_into(self.device_address, result)
170 except OSError:
--> 171 raise ValueError("No I2C device at address: %x" % self.device_address)
172 finally:
173 self.i2c.unlock()

ValueError: No I2C device at address: 60
这是为什么啊

trouble compiling in road_following.ipynb

After running through the code in interactive_regression.ipynb and training/evaluating a dataset, I am unable to get past creating the camera class in road_following.ipynb. Specifically, the block of code starts compiling but never finishes compiling.

Particularly I am talking about this block:
image
Everything before it compiles with no problem.

I also have no problem creating the camera class in interactive_regression.ipynb so I am unsure what would be causing it to hang in road_following.ipynb.

Any help would be appreciated. Thank you.

Throttle reverse issue in basic_motion.ipynb

Hello all, happy holidays!

I am having a strange issue when running the JetRacer basic motion notebook.

When I run basic_motion.ipynb and adjust car.throttle, positive values actually make the car go in reverse, and negative values move it forward.

If I adjust car.throttle_gain to a negative number, that allows positive values in car.throttle to move the car forward.

Basically, things seem to be working in reverse for some reason. Anyone have any clue what's going on here?

Let me know if you need additional info to give an answer and I'll provide what you need. Thanks!

Road Following steering and bias setting problem

In road_follwing, it looks like setting the value of car.steering and bias
Actually, it is set up by adding up the setting value of Bias.
It looks like you need to change car.steering_offset to change Bias.
Is that right?

road_following.iphnb

from utils import preprocess
import numpy as np

STEERING_GAIN = 0.75
STEERING_BIAS = 0.00

car.throttle = 0.15

while True:
image = camera.read()
image = preprocess(image).half()
output = model_trt(image).detach().cpu().numpy().flatten()
x = float(output[0])
car.steering = x * STEERING_GAIN + STEERING_BIAS

class NvidiaRacecar(Racecar):

i2c_address = traitlets.Integer(default_value=0x40)
steering_gain = traitlets.Float(default_value=-0.65)
steering_offset = traitlets.Float(default_value=0)
steering_channel = traitlets.Integer(default_value=0)
throttle_gain = traitlets.Float(default_value=0.8)
throttle_channel = traitlets.Integer(default_value=1)

def __init__(self, *args, **kwargs):
    super(NvidiaRacecar, self).__init__(*args, **kwargs)
    self.kit = ServoKit(channels=16, address=self.i2c_address)
    self.steering_motor = self.kit.continuous_servo[self.steering_channel]
    self.throttle_motor = self.kit.continuous_servo[self.throttle_channel]

@traitlets.observe('steering')
def _on_steering(self, change):
    self.steering_motor.throttle = change['new'] * self.steering_gain + self.steering_offset

@traitlets.observe('throttle')
def _on_throttle(self, change):
    self.throttle_motor.throttle = change['new'] * self.throttle_gain

No module named 'jupyter_clickable_image_widget'

notebooks/interactive_regression.ipynb

Data Collection

import cv2
import ipywidgets
import traitlets
from IPython.display import display
from jetcam.utils import bgr8_to_jpeg
from jupyter_clickable_image_widget import ClickableImageWidget
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-4-ffabc01d44a0> in <module>
      4 from IPython.display import display
      5 from jetcam.utils import bgr8_to_jpeg
----> 6 from jupyter_clickable_image_widget import ClickableImageWidget
      7 
      8 

ModuleNotFoundError: No module named 'jupyter_clickable_image_widget'

I can't find a package or module named "jupyter_clickable_image_widget"

Receiver version

Hello,
Is there any reason of buying RX TX Combo (Futaba 3PV) with R304SB as we are being pointed by moving to Amazon listing? As far as I know R203GF just don't have the voltage telemetry, which I don't think we use anyway, but it can save some extra bucks.
EDIT1: Actually, by looking at this section, I can see that only 3 channels are being used and none of them is the telemetry one (one for servo, one for ESC and another one for SEL). Does it mean that I can use any receiver with 3CH and not exactly Futatba 3PV as the controller?

Use of Futaba S3004 Servo in Tamiya Setup

Futaba S3004 Standard Ball Bearing Servo is listed in Tamiya Bill-Of-Materials . But its not used in the Hardware assembly .

So is it Futaba S3004 Standard Ball Bearing Servo really required for Tamiya setup ?

jetracer - road following problem

I definitely took 400 pictures and 10 trainings, but in road_following the jetracer can't follow the line properly. Obviously the blue dot in the 'evaluate' followed the line well, but in the road_following the jetracer doesn't have it properly.

Issue compiling basic_motion.ipynb

After following all the software setup, when I try to run the first line in basic_motion.ipynb, I get this error:
issue1

issue

saying an integer was required but got a type bytearray.

Not sure what to do to fix it.

No Display with JetRacer Image

When i etched the image on the sd card and booted up my jetson nano, i got no display. No idea where to go from here. Any help would be appreciated.

unable to train and run

Hi!
Just builded my Jetracer (latrax 1:18 -> youtube video )
I created a setup track:
photo_2019-09-20_12-45-42


After following instructions:

  1. basic motion works correctly;
  2. interactive regression gives me always right-bottom blue point during "evaluation";
  3. road following: car always go right.

I always tried with a simple path:
photo_2019-09-20_17-02-19
And car goes right.

Installed camera is: IMX219 with wide angle.

How do I choice correctly points? Which is correct sequence (create images -> train button -> evaluate -> save)?
Is my track correct or are necessary other stuffs such as central line and uniform colours?

Thank you in advance!

Replacing the Pololu 4-Channel RC Servo Multiplexer

Hello,

I am wondering if I can replace Pololu 4-Channel RC Servo Multiplexer with other chips. It is expansive to ship it to Canada. I don't have any experience with electronics, I appreciate any help.

Develop jetracer-ROS

Is there any work underway to release instructions to create a "jetracer-ROS" platform, analagous to the "jetbot-ROS? It seems the most significant change is changing the jetbot AdafruitMotorHAT motor driver (which is not actually a ROS Node) to a steering Servo/ESC motor drive Node listening to geometry_msg/Twist. This should be functionally similar to what's used on the Racecar-j-ROS, https://www.jetsonhacks.com/2018/08/19/racecar-j-ros-teleoperation/ ?

RC transmitter modification for tamiya version

Hi, I made JetRacer of tamiya version.

Then, I followed the instruction in docs/examples.md Example 1 - Basic Motion.
When I run the line of car.steering = 0.3 in notebooks/basic_motion.ipynb, my car doesn't response.
The comment in the notebook said:

If the car does not respond, it may still be in manual mode. Flip the manual override switch on the RC transmitter.

However, my RC transmitter ( which is TTU-08 also in the photo of docs/tamiya/bill_of_materials.md) doesn't have override switch.

It seems like the hardware setup for latrax (at the Phase 4 of docs/latrax/hardware_setup.md) has RC transmitter modification.
Does tamiya version also have to do same modification like latrax version to make it manual mode?

Deployment Issue

Can anyone share the successful training method or a training video !

  1. I have tried a lot but the car doesn't turn through the curves and if i adjust it to make curve...even for fractional adjustments in the value makes the car to be turning forever.

  2. I had also tried various positions of camera from the default position(where the feed image has half road and half of the room) to fully focusing the road by tilting the camera downwards a little.

Receiver cable orientation

Hello, I have a question about the cable orientation in the final build.

The pictures in the build show the original 2 channel + B receiver, however it's unclear where the cables are supposed to be connected in the final build.

I can get the car running in Jupyter Lab, but when running the Basic Motion file, steering seems to control the car's throttle, and vice versa for throttle controlling the steering. In manual mode, the car controls as you would expect, this is only a problem for "Nvidia" mode.

Do you have any photos of the updated final build that would make the cable orientation more obvious? I feel like I must simply have wires in the wrong place or something.

Thanks a bunch!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.