Log in

View Full Version : feature suggestions


rbayer
04-06-2002, 12:13
Now that I've finsished my whitepaper on serial port stuff, I've decided to dig up an old piece of code I wrote at nats. Basically, it's a graphical Windows program to help you program your robot. Using buttons, checkboxes, etc., you can create Relays, Joysticks, Motors, etc w/o any knowledge of PBASIC.

Currently working features include:
PWMS: axis, switch, constant, tank drive options
Relays: axis, switch, constant, pump options
Joysticks: deadzone, digital filters for all four axis.
Sensors: nothing special yet
Limits: All relays and motors can be limited by either digital or analog sensors
Other: supports reversal of individual PWMs.

So my question is, what other features would be useful?\

BTW, if you are interested in source code(Visual C++) or binaries for this, let me know. Both are available.

Ian W.
04-06-2002, 16:39
sure, i'll take the source code, doesn't hurt to see how it works. heck, might be helpful to teach new programmers, before you try to confuse them with the actual code :p. even so, sounds like a cool program.

DanL
04-06-2002, 18:44
How about making support for the digital inputs on the oi ports - the joystick buttons or whatever you wire to 'em. Not sure if that was implied by the joysticks or not

rbayer
04-06-2002, 20:43
How about making support for the digital inputs on the oi ports

Yep, thats in there too. As soon as you create a joystick, regardless of whether you activate any of the axis, the program sets of trig, top, aux1, and aux2.

rbayer
04-06-2002, 21:54
After spending 10 min. creating a site, source code is available here. (http://FIRSTprograms.tripod.com) Be warned, the program is still in an alpha stage, and has a tendency to crash if you give it invalid input (such as an axis control without telling it which axis). This will be fixed within the next few days when I release the final version.

Again, I'm looking for features you think would be useful, both for teaching newbies and for not having to re-write the same code year after year.