Asked — Edited
Resolved Resolved by Rich!

Its All In The Script. Its A Control Thing You Know

I finally got a joystick (game controller). It works well linked up to the Sabertooth H bridge control to control the G=Bots two drive motors but -due to the weight and high cg of the G-Bot - I'm going to need much precise and variable control.

Can anyone point to a tutorial that may give suggestions (script, other controls, or a combination) that will allow me to achieve this?

Also, the axis of the joystick control is 90 degrees off what I want. Is there an easy what to change that?

What about custom assigning other buttons for other functions? I've gotten the soil sampler to deploy with a joystick button using Rich's E switch and I've experimented with using some other simple script to try and achieve control of the torso rotation control motor using joystick 2 (using a diverse electronincs H bridge) but, again, I need much better control (variable speed and direction ramping, etc). When I tried to add another H bridge control to control the torso rotation with joystick two, ARC won't allow more that ONE Movement Panel at a time? What's up with that? E Switch

Is there anything like a primer on how this all works? (specifically: what is scripting? Is it a language? , how does serial motor control work?, advantages of using PWM vs serial with available premade controls?)

I know I have much to learn to get the G-Bot where I want him by Halloween and I'm not even really sure where to start.

Any help ans suggestion much appreciated as usual.

Thanks


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#9  

Thanks for the help again guys...

#10  

Gwen, love the load test! Makes me wish I was a toddler again and had you around with your leg section. Maybe in a few years down the road when I have trouble getting around I'll turn my leg section into a really cool old guys cart. cool