Corran54
05-06-2012, 00:39
Hi there,
I have been searching everywhere to find a way to program a servo using Java. While I have found many great sources, none have been helpful. I am using NetBeans as the IDE and the program is iterative. what I am trying to do is creat a command that will cause the servo to rotate from one of it's maximums to the other in order to release a spring loaded "stinger". I am new to Iterative programming and am wondering also if I need to create a subsystem before I can create the command.
I do however have the button mapping worked out, and I also know where and how to hook the servo up to the sidecar. It is only code that I need in order to make the servo move. I don't have a clue where to begin as this is my first time working with servo's in software, and any help at all would be greatly appreciated.
Thanks to all,
Andrew Brown
Team 3310
I have been searching everywhere to find a way to program a servo using Java. While I have found many great sources, none have been helpful. I am using NetBeans as the IDE and the program is iterative. what I am trying to do is creat a command that will cause the servo to rotate from one of it's maximums to the other in order to release a spring loaded "stinger". I am new to Iterative programming and am wondering also if I need to create a subsystem before I can create the command.
I do however have the button mapping worked out, and I also know where and how to hook the servo up to the sidecar. It is only code that I need in order to make the servo move. I don't have a clue where to begin as this is my first time working with servo's in software, and any help at all would be greatly appreciated.
Thanks to all,
Andrew Brown
Team 3310