![]() |
|
#1
|
|||
|
|||
|
We've tried servo.get(), servo.getAngle, servo.getRaw(), but these methods always return 0. We can control the servo using servo.set but the servo doesn't report its position after moving. Has anyone successfully read a servo's position using Java? We're using the HiTechnic HS-322HD servo. Any suggestions are appreciated. Thanks.
|
|
#2
|
|||
|
|||
|
We ran into the same problem too. Even after using a set, it would still return 0.
Our team deicded to improvise by always starting from the "0" position and then increment our own int angle so as to reflect what we should get from the getAngle() method. |
|
#3
|
|||
|
|||
|
Thanks for the response. Glad to hear we weren't overlooking anything.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with running Java bench test | matsuo | Java | 1 | 01-29-2010 09:55 AM |
| Java: Vision Libraries | Delian | Vision | 1 | 01-12-2010 06:42 AM |