|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Our team, Say Watt, started a blog on our website to post our solutions to difficult problems. After receiving a few questions about the details of getting Teleop programs to work in RobotC, we decided to write up a small tutorial on programming Joystick code.
You can find the tutorial here. Or, if you know all that already, you can see our earlier post on how to use motor encoders effectively. |
|
#2
|
|||
|
|||
|
Re: [FTC]: Using the Joysticks - Robot C Tutorial
Good work on posting helpful information for other teams.
Since you've put it in a tutorial format, I would suggest taking the examples a little further while keeping the step-by-step approach you used to building up to a full and complete example. I personally would like to see a tutorial for using the joystick also include: - a proportionally scaled output for motors from the analog sticks - a logarithmic scale for motors from the analog sticks (advanced) - some code for the tophat - include an example of moving some of the code into a function I've attached a supplementary training guide which was used at a coaches training camp in Iowa over the summer for some other examples of this type of tutorial. The guide is specific to the demo bot design from ORTOP, but the code examples should be generic enough to still be useful. Edit: fixed attachment |
|
#3
|
||||
|
||||
|
Re: [FTC]: Using the Joysticks - Robot C Tutorial
That is a great resource, thanks for sharing!
So far we haven't needed to scale the outputs because our drivers just flick the joysticks to do small movements. Gamers will be gamers. One thing that our programmers may post soon is how to ramp the power. It puts less strain on the motors, and can lessen the likelihood of burnouts. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The KOP Joysticks suck for controlling the Robot | Labot2001 | Chit-Chat | 2 | 14-02-2010 17:05 |
| What Joysticks are you using? | GEARmaster08 | FRC Control System | 1 | 05-02-2010 17:24 |
| [FTC]: Tips page on using FTC Encoders with LabVIEW | PhilBot | FIRST Tech Challenge | 7 | 27-01-2009 14:00 |
| Robot Joysticks and OI included in the shipping? | iPilipino | General Forum | 1 | 19-02-2008 11:04 |
| using easyC to give more control to the joysticks | Neurovirus | Programming | 5 | 26-01-2008 18:38 |