![]() |
[FTC]: Using the Joysticks - Robot C Tutorial
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. |
Re: [FTC]: Using the Joysticks - Robot C Tutorial
1 Attachment(s)
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 |
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. |
| All times are GMT -5. The time now is 18:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi