I am using the robot kit and programming it through Further and keep getting issues running code; it either doesn’t connect or the code runs successfully but nothing on the robot happens. I get this message through Further:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pitop/pma/ultrasonic_sensor_base.py”, line 89, in check
firmware_device = FirmwareDevice(FirmwareDeviceID.pt4_expansion_plate)
File “/usr/lib/python3/dist-packages/pitop/common/firmware_device.py”, line 73, in init
hex(self.part_name), hex(self.get_part_name())
pitop.common.firmware_device.PTInvalidFirmwareDeviceException: Part name provided does not match. 0x2222 != 0x0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/further/61c79008a0be7f001c29f3ca/1head_control.py”, line 5, in
robot = assemble_robot()
File “/home/pi/further/61c79008a0be7f001c29f3ca/assemble.py”, line 18, in assemble_robot
robot.add_component(UltrasonicSensor(“A1”))
File “/usr/lib/python3/dist-packages/pitop/pma/ultrasonic_sensor.py”, line 31, in init
name=name,
File “/usr/lib/python3/dist-packages/pitop/pma/ultrasonic_sensor_base.py”, line 128, in init
CompatibilityCheck()
File “/usr/lib/python3/dist-packages/pitop/common/singleton.py”, line 8, in call
cls.instance = super(Singleton, cls).call(*args, **kwargs)
File “/usr/lib/python3/dist-packages/pitop/pma/ultrasonic_sensor_base.py”, line 85, in init
self.check()
File “/usr/lib/python3/dist-packages/pitop/pma/ultrasonic_sensor_base.py”, line 102, in check
"Please use an Expansion Plate in order to use the analog ports for the Ultrasonic "
RuntimeError: Please use an Expansion Plate in order to use the analog ports for the Ultrasonic Sensor.
Any ideas what is wrong?