Closed JFredPerspektiv closed 10 months ago
Good morning, I test TMotorCANControl & motor connection with "check _motor_connection_mit_can.py". My PC runs Ubuntu 22.04, I use PEAK PCAN. I have no idea why CAN_Manager is failing to find the .notifier attribute.
$ runfile('/home/exit888/Documents/PRO/YOGI/YOGI23/Tmotor/TMotorCANControl demo mit_can/check_motor_connection_mit_can.py', wdir='/home/exit888/Documents/PRO/YOGI/YOGI23/Tmotor/TMotorCANControl demo mit_can')
Initializing device: AK80-64 ID: 92 Traceback (most recent call last): (... I skip some errors) File /usr/local/lib/python3.10/dist-packages/TMotorCANControl/mit_can.py:315 in add_motor self.notifier.add_listener(motorListener(self, motor)) AttributeError: 'CAN_Manager' object has no attribute 'notifier'
Good morning, I test TMotorCANControl & motor connection with "check _motor_connection_mit_can.py". My PC runs Ubuntu 22.04, I use PEAK PCAN. I have no idea why CAN_Manager is failing to find the .notifier attribute.
Here is what I do:
$ runfile('/home/exit888/Documents/PRO/YOGI/YOGI23/Tmotor/TMotorCANControl demo mit_can/check_motor_connection_mit_can.py', wdir='/home/exit888/Documents/PRO/YOGI/YOGI23/Tmotor/TMotorCANControl demo mit_can')
Output is:
Initializing device: AK80-64 ID: 92 Traceback (most recent call last): (... I skip some errors) File /usr/local/lib/python3.10/dist-packages/TMotorCANControl/mit_can.py:315 in add_motor self.notifier.add_listener(motorListener(self, motor)) AttributeError: 'CAN_Manager' object has no attribute 'notifier'