| View previous topic :: View next topic |
| Author |
Message |
HakBot
Joined: 31 Jul 2006 Posts: 14
|
Posted: Thu Apr 26, 2007 5:42 pm Post subject: Free open source servo sequencer |
|
|
Hello,
I have created a simple servo sequencer application that Id like to share with you guys.
I tried to make it simple so it is easy to add more channnels of control. The smaple app only has 1. I'm sure a ton of things can be improved on but its here, it works, and its free. Oh yeah, and it's open source so feel free to make improvements.
I designed it to work with a PCTx or Endurance R/C servo controller so y you will need to make some adjustments to get it working with your own controller.
Here is the page: http://www.endurance-rc.com/sequencer.html
Here is the source: http://www.endurance-rc.com/media/sequencer.zip
Phil |
|
| Back to top |
|
 |
ginge Site Admin
Joined: 14 Jan 2006 Posts: 1029 Location: Manchester, UK
|
Posted: Thu Apr 26, 2007 5:57 pm Post subject: |
|
|
Hi Phil,
The application looks good. It certainly is a great idea. I am interested in the way the servo timings are implemented. If I understand correctly you add dots to the timeline that represent the servo position. Nice. I might just have to "borrow" that idea.
Note to OpenServo users: you can use this interface with the Endurance R/C PCTx or servo controller with the new standard servo PWM signalling interface.
Just a quick note about the source... you might want to remove the debug folder with the object files in, as well as possibly removing the 20MB ncb file. if anything it will save your bandwidth bill.
Cheers,
Barry _________________ http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/ |
|
| Back to top |
|
 |
HakBot
Joined: 31 Jul 2006 Posts: 14
|
Posted: Thu Apr 26, 2007 6:36 pm Post subject: |
|
|
ginge,
You bring up a good point. Maybe I should let you guys know how to operate it.
Adding Points:
The white panel is the timeline. Right click anywhere on the timeline to add a point. After adding 2 points a line is created connecting the points together. The line acts as the current position of the servo so by your positioning you are able to control servo position.
Removing Points:
Once points are added they can be removed by left clicking on them.
Moving Points:
Points can also be moved by left clicking and then dragging them to the new position.
Moving the timeline:
By using your middle mouse button(or the scroll wheel) click anywehre on the timeline and drag it to a new position. This way you can create points that are not currently visible.
If you happen to move a windo in front of the controller you will notice the dots and lines go away. They are there, just not visible. Use the refresh button to make them visible again. This is a dumb bug so feel free to correct it if you want.
Everything else is pretty simple to figure out what it does. |
|
| Back to top |
|
 |
devr2k
Joined: 11 May 2008 Posts: 2
|
Posted: Sun May 11, 2008 9:25 am Post subject: |
|
|
Good day Phil
It's a neat work you got here... you certainly made my idea into a reality .. implementation of motion tweening in servo control, two thumbs up !
However it seems like I cant compile the source code in Visual C++ 2008 express ed.. this error pops up "C:\WINDDK\3790.1830\lib\wxp\i386\setupapi.lib" .. is there a way o disable this driver?
What version of Visual C++ were you using? I'm not very proficient in V C++ and tracing it is taking me forever is there by chance that do you have a C sharp version of this ?
cheers
dev |
|
| Back to top |
|
 |
HakBot
Joined: 31 Jul 2006 Posts: 14
|
Posted: Sun Jun 01, 2008 6:18 pm Post subject: |
|
|
hey dev,
No sorry I dont have a C# version but I can help you with your other issue.
Go to Project->sequencer Properties, then Configuration Properties->Linker->Input. And change the paths to the files provided under the sequencer directory. |
|
| Back to top |
|
 |
devr2k
Joined: 11 May 2008 Posts: 2
|
Posted: Tue Jun 03, 2008 2:36 pm Post subject: Free open source servo sequencer |
|
|
Hi Phil,
Thanks for the reply, it now works without the hardware. I've decided that I'll study C++ to understand your code better. Once again thank you very much for the help.
Dev |
|
| Back to top |
|
 |
markjay50
Joined: 26 Jul 2010 Posts: 2
|
Posted: Thu Aug 19, 2010 2:14 am Post subject: |
|
|
hello !!!
I have created a simple servo sequencer application that Id like to share with you guys.
I designed it to work with a PCTx or Endurance R/C servo controller so you will need to make some adjustments to get it working with your own controller. !!
i will tell you guyz next tym haha!!!!
best wishes...!!! _________________ Make Money Online |
|
| Back to top |
|
 |
|