Closed sjavdani closed 8 years ago
The high-level implementation looks good. I posted a few comments related to threading on the commits.
Ok, added lock, added docstring and modified the use of timer. Comment about servo vs. set velocity inline. Now, it will reset it's internal timer until the handler is called once, at which time the thread will exit. if you call reset again, and the thread has exited, it will spawn a new thread.
Implemented joint velocity commands through the Servo function for the mico arm. Also added a watchdog that sends zero velocity after 0.25 seconds of no commands sent to the arm.
Not included is the code to activate all the controllers - I'll add that directly to adapy, since it uses the controller interface included there.