ServoKit icon indicating copy to clipboard operation
ServoKit copied to clipboard

Jetson xavier

Open duncanmix opened this issue 4 years ago • 6 comments

does this work with jetson xavier?

duncanmix avatar Feb 29 '20 17:02 duncanmix

and Xavier NX? it is giving me errors

FPSychotic avatar Jun 16 '20 10:06 FPSychotic

Yeah, Xavier Nx doesn't work for me. Any help with that?

mhaboali avatar Oct 13 '20 19:10 mhaboali

@duncanmix @FPSychotic @mhaboali Were you able to get it working with Xavier NX? Can you please share the solution with us all? Thank you!

jakobjackson2016 avatar Jun 11 '21 19:06 jakobjackson2016

@duncanmix @FPSychotic @mhaboali Were you able to get it working with Xavier NX? Can you please share the solution with us all? Thank you!

Not me, I didn't try again

FPSychotic avatar Jun 12 '21 08:06 FPSychotic

Nope, I'd used the Arduino library

mhaboali avatar Jun 12 '21 11:06 mhaboali

Tested on my Jetson AGX Xavier and I got:

andrews@jetson-agx:~/Projects/jetson-hacks/ServoKit$ python3 servoPlay.py 
Initializing Servos
Initializing ServoKit
Done initializing
Traceback (most recent call last):
  File "servoPlay.py", line 39, in <module>
    with ControllerResource() as joystick:
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/selectbinder.py", line 37, in __init__
    self.discoveries = find_matching_controllers(*requirements, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/controllers.py", line 192, in find_matching_controllers
    all_controllers = find_all_controllers(**kwargs)
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/controllers.py", line 268, in find_all_controllers
    id_to_constructor = get_controller_classes()
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/controllers.py", line 246, in get_controller_classes
    controllers = {key: value for key, value in built_in_classes()}
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/controllers.py", line 246, in <dictcomp>
    controllers = {key: value for key, value in built_in_classes()}
  File "/usr/local/lib/python3.6/dist-packages/approxeng/input/controllers.py", line 218, in built_in_classes
    for vendor_id, product_id in controller_class.registration_ids():
TypeError: 'NoneType' object is not iterable
Exiting... 
Cleaning up pins
andrews@jetson-agx:~/Projects/jetson-hacks/ServoKit$

Someone knows how to fix it?

andrewssobral avatar Sep 06 '21 21:09 andrewssobral