Forum Update - Announcement about May 10th, 2018 update and your password.

Python Servo Library

I have purchased three Parallax Feedback 360° High-Speed Servos to create a three axis gimbal. The only example code for these servos is in C, however the product guide says that a python library is coming soon. When will this be available, and until then how can I interface with these servos using python?

Comments

  • 6 Comments sorted by Date Added Votes
  • Here's a spin/PASM driver. It can do up to four feedback servos in a single cog. obex.parallax.com/object/869
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
  • roark wrote: »
    I have purchased three Parallax Feedback 360° High-Speed Servos to create a three axis gimbal. The only example code for these servos is in C, however the product guide says that a python library is coming soon. When will this be available, and until then how can I interface with these servos using python?

    Do you have a link to that Product Guide? I don't see any mention of Python library in the Guide supplied by Parallax....
  • @roark - just checked the product guide. I am with DaveJenson - I cannot find the reference to a python library either.

    Any idea where you saw that?
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • I've searched the parallax documentation and can't find the reference to the python library. I swear there was reference to embedding the example c code provided into a python library, possibly on github. I don't need to use python, however I don't believe the driver suggested by tomcrawford will function on the intel edison board I am using for this project. If so, how would I implement it?
  • roark wrote: »
    I don't believe the driver suggested by tomcrawford will function on the intel edison board I am using for this project. If so, how would I implement it?

    Absolutely won't work on intel edison. It is written in PASM, the native propellor assembler. Sorry.

    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
  • The only reference I found was on adafruit's site (https://www.adafruit.com/product/3614), where it mentions circuitpython.
    roark wrote: »
    I've searched the parallax documentation and can't find the reference to the python library. I swear there was reference to embedding the example c code provided into a python library, possibly on github. I don't need to use python, however I don't believe the driver suggested by tomcrawford will function on the intel edison board I am using for this project. If so, how would I implement it?

    You are correct about the provided driver. That code targets the Propeller. If you are targeting the Edison Development Board for Arduino, consider using the Arduino driver mentioned at the link above. Note that this will not handle the feedback for you. You will have to handle that yourself. You should be able to use a good portion of the parallax-provided code to do the calculations.
Sign In or Register to comment.