Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   R/C car pistol grip style controller (http://www.chiefdelphi.com/forums/showthread.php?t=123007)

yash101 11-12-2013 23:18

Re: R/C car pistol grip style controller
 
I agree that overcomplicating things would be a bad idea. Even better would be to make a glove full of pots so you can control your robot by moving your hand around! That's what I'd call magic!

Andrew Schreiber 11-12-2013 23:55

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by yash101 (Post 1311081)
I agree that overcomplicating things would be a bad idea. Even better would be to make a glove full of pots so you can control your robot by moving your hand around! That's what I'd call magic!

It's been done... a few times. I'd assert it's not the most intuitive control system. Something about how mapping X input into Y output isn't obvious to a casual observer.

Rangel 12-12-2013 01:50

Re: R/C car pistol grip style controller
 
From my experience as a driver for 2 years on 842, the pistol grip controller was extremely intuitive. I had been practicing for a month with joysticks but was nowhere near as good as I was with the pistol grip. With gyro assisted drive and even just a moderate amount of practice, the pistol grip can turn anyone into a top tier driver. Last year we decided we didn't want the cypress board anymore so we took apart the guts of a regular gamepad controller and mapped the potentiometers from the pistol grip controller to to the joystick inputs. After doing this, the computer will just see the pistol grip as a regular gamepad.

Tyler2517 12-12-2013 12:39

Re: R/C car pistol grip style controller
 
We have messed around with implementation a pistol grip controller in the past, when we started using holonomic drives we could not use the full functionality of them and wanted to keep the controllers constant between all drive types. If you are using a Ackerman steering system it would be very user friendly.

yash101 12-12-2013 12:43

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by Tyler2517 (Post 1311253)
We have messed around with implementation a pistol grip controller in the past, when we started using holonomic drives we could not use the full functionality of them and wanted to keep the controllers constant between all drive types. If you are using a Ackerman steering system it would be very user friendly.

Yeah. It seems like the best controller for Ackerman steering because you need a control for the speed and a control for the turning wheels. I guess this could work with swerve, but wouldn't be very intuitive. Otherwise, as I have been reading, for regular Ackerman and tank drive, it seems like the best control. How would you code tank drive to use this? Would you have the accelerator controlling the speed of both sides, and the turn wheel controlling the delta in motor speeds?

Oak1477 12-12-2013 12:55

Re: R/C car pistol grip style controller
 
Our team created a rc remote for last season to drive with. We used a Spektrum dx2e remote. It was gutted and the potentiometers were wired in to an arduino uno. We found some code that would make the arduino be recognized as a logitech joystick so it could be easily changed in case of emergency. We did it because it was driver preference but we have found it is easy to learn.

Alan Anderson 12-12-2013 12:56

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by yash101 (Post 1311254)
How would you code tank drive to use this?

You wouldn't. You'd code it as arcade drive.

TheOtherGuy 12-12-2013 15:31

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by yash101 (Post 1311254)
I guess this could work with swerve, but wouldn't be very intuitive. Otherwise, as I have been reading, for regular Ackerman and tank drive, it seems like the best control. How would you code tank drive to use this? Would you have the accelerator controlling the speed of both sides, and the turn wheel controlling the delta in motor speeds?

Swerve is the drivetrain, the control type (holonomic/omnidirecitonal/etc) requires 3 inputs: translation in the x/y plane and rotation. You have only two inputs with the pistol grip, so you cannot control all three DoFs of an omnidirectional setup with a pistol grip controller.

Arcade and tank are two control types as well - the drivetrain is a skid-steer. You are mapping two inputs to two outputs: arcade requires a linear input and a rotational input, and tank requires two linear inputs. The output is the same for both (left and right sides of drivetrain). Since you are using a wheel (rotational) and a trigger (linear), you are using "arcade" style control and should code it appropriately.

I'll add myself to the list of pistol grip supporters.

Andrew Schreiber 12-12-2013 15:41

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by TheOtherGuy (Post 1311314)
Swerve is the drivetrain, the control type (holonomic/omnidirecitonal/etc) requires 3 inputs: translation in the x/y plane and rotation. You have only two inputs with the pistol grip, so you cannot control all three DoFs of an omnidirectional setup with a pistol grip controller.

Arcade and tank are two control types as well - the drivetrain is a skid-steer. You are mapping two inputs to two outputs: arcade requires a linear input and a rotational input, and tank requires two linear inputs. The output is the same for both (left and right sides of drivetrain). Since you are using a wheel (rotational) and a trigger (linear), you are using "arcade" style control and should code it appropriately.

I'll add myself to the list of pistol grip supporters.


You're making a big assumption - maybe the swerve isn't controllable in one of those outputs… Like say a certain 148 robot that could not turn…

TheOtherGuy 12-12-2013 15:48

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by Andrew Schreiber (Post 1311319)
You're making a big assumption - maybe the swerve isn't controllable in one of those outputs… Like say a certain 148 robot that could not turn…

:rolleyes:
Well, it's technically not omnidirectional then, or swerve. Crab drive? Is that the technical term?

Andrew Schreiber 12-12-2013 15:51

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by TheOtherGuy (Post 1311328)
:rolleyes:
Well, it's technically not omnidirectional then, or swerve. Crab drive? Is that the technical term?

I can never keep those dang things straight. To me swerve/crab are interchangeable and describe a steered wheel system.

But you raised the proper point that, in general, you want to map controllable outputs to inputs and having too few inputs for your outputs is not the most obvious solution. (There are cases when you don't want a 1:1 mapping)

Tyler2517 12-12-2013 16:38

Re: R/C car pistol grip style controller
 
Holomonic is how the programming control type works, behind drive train where you have the capability to divorce the drive bases orientation away from its main drive direction creating a 2D drive.(Where a drive can drive a straight line and still rotate)http://www.youtube.com/watch?v=p9WHMssEF4U what a good representation of a holomoic drive mode looks like. teams 1640 ocolate drive is anouther.

A crab drive is not a holomonic drive because it can not do the 2D drive motion.

yash101 12-12-2013 19:54

Re: R/C car pistol grip style controller
 
If I'm not wrong, that looks like a swerve drive (and I know 1717 uses lots of swerve in their robots). Holonomic would be Mecanum/Omni!

Joe Ross 12-12-2013 20:08

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by yash101 (Post 1311457)
If I'm not wrong, that looks like a swerve drive (and I know 1717 uses lots of swerve in their robots). Holonomic would be Mecanum/Omni!

You are incorrectly constraining the definition of Holonomic. Tyler has the correct definition. Holonomic is not a type of drive system, it is a description of the possible motions of a system. Both swerve and Mecanum/Omni can be holonomic. They can also be programmed or mechanically constrained so they are not Holonomic.

tristan271 13-12-2013 09:01

Re: R/C car pistol grip style controller
 
Quote:

Originally Posted by yash101 (Post 1310822)
I'd like to ask, but why do you want a pistol-grip controller? Is it easier to use? What is the advantage of using such a controller?Are you going to have Ackerman Steering? It seems cool!

What if you take apart a regular joystick, and build another enclosure for the pots? You can re-engineer the joystick to look and feel like piston-grip!

Think like an engineer! Think about how you can modify what you HAVE to get what you WANT!

its easier for me as a driver because i have been racing my r/c cars at a track and its easier to use a cheesy drive program on a pistol grip rc controller because its just what im used to


All times are GMT -5. The time now is 08:40.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi