You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: module 'adafruit_platformdetect.constants.chips' has no attribute 'JH71x0'
thanks
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: