PDA

View Full Version : Arbotix sketch to center a servo



wthierry
08-10-2014, 05:26 PM
Is there a sketch out there to just center a servo? Or some documentation on using the servo library that will define all the functions? I have all the libraries, but havent found documentation on it...

ArduTank
08-10-2014, 05:49 PM
You can use Dynamanager to control single servos at a time (only one actually hooked up to the ArbotiX) plus set ID's, etc.

In the test servo section, click 'center servo' after following the connection steps.

DynaManager learn.trossen page: http://learn.trossenrobotics.com/arbotix/arbotix-getting-started/1-setting-dynamixel-ids-with-the-dynamanager.html

KurtEck
08-10-2014, 07:01 PM
Also not sure how you are setup. But when I first start out on projects like setting up the PhantomX Hexapod, I quite often do some quick and dirty test programs to help me figure things out. I also keep adding things in it as I need it, like the ability to see some status on the servos or reset an id of a servo...

I have at least one version of such a program up on github: https://github.com/KurtE/AX12_Test

It is setup for the IDs associated with servos of a Hexapod, but have some generic commands, like move all servos to their zero point...

Kurt

wthierry
08-11-2014, 02:19 PM
Ill check those tips out, thanks!