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

attribute error in basic motion notebook (waveshare jetracer pro ai kit) #155

Open
0jeetparmar0 opened this issue Oct 7, 2024 · 0 comments

Comments

@0jeetparmar0
Copy link

i am using waveshare jetracer pro ai kit and i am getting this error using code from waveshare.


AttributeError 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)
19 def init(self, *args, **kwargs):
20 super(NvidiaRacecar, self).init(*args, **kwargs)
---> 21 self.kit = ServoKit(channels=16, address=self.i2c_address)
22 self.kit._pca.frequency = 60
23 self.steering_motor = self.kit.continuous_servo[self.steering_channel]

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

~/env/lib/python3.6/site-packages/board.py in I2C()
278 import busio
279
--> 280 return busio.I2C(SCL, SDA)
...
---> 65 elif chip_id == ap_chip.JH71x0:
66 from adafruit_blinka.microcontroller.starfive.JH71x0 import *
67 elif chip_id == ap_chip.SUN8I:

AttributeError: module 'adafruit_platformdetect.constants.chips' has no attribute 'JH71x0'

thanks

@0jeetparmar0 0jeetparmar0 changed the title attribute error in basic motion notebook (waveshare jetracer) attribute error in basic motion notebook (waveshare jetracer pro ai kit) Oct 7, 2024
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

1 participant