Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Tips for first-year programmers (http://www.chiefdelphi.com/forums/showthread.php?t=107896)

mjcoss 17-09-2012 15:18

Re: Tips for first-year programmers
 
Over the years we've used a number of different controllers. And every year, I have the programming team sit down with the drivers to work out how they want to control the robot. We test drive with xbox and joysticks, and even one year a steering wheel.

We tend to always end up with joysticks for tank driving, and an xbox controller for co-pilot operations. The single xbox controller gives us a lot of flexibility with regards to buttons, and just ease of use for the co-pilot.

tcjinaz 18-09-2012 23:11

Re: Tips for first-year programmers
 
Quote:

Originally Posted by Jon Stratis (Post 1182347)
Anytime I see a thread list this, I can't help but think about a session I attended at Java one a few years ago by the "Diabolical Developer", in which he suggested we should teach programming by sitting someone down at a unix prompt, typing "man man", hitting enter, and then leaving the room!

My top, number 1 suggestion for you: Reprogram last year's robot this fall. Start from scratch, and don't reuse any code from last year. Once you can get it up and running again with all of your own code, you'll know you're ready to tackle the new robot on day 1 of the build season.

I tried the former with mu son. He came back some days later with "Dad, what will rm -rf /* do?"

joseluis4126 19-09-2012 00:06

Re: Tips for first-year programmers
 
I am the only programmer at my school, my knowledge is very basic, i seem to be having problems with setting up the drive system on usb1 and on usb2 set the arm, we are using the joysticks from the kofp and when i change the usb 1 from the drive for the motors to usb 2 the same happens for the arm, based on what i saw do i need to make different joystick refnums, one for joystick 1 and the other for joystick 2 thanks in advance
jose villa kofa robotics frc team 4126

vhcook 20-09-2012 16:21

Re: Tips for first-year programmers
 
Quote:

Originally Posted by joseluis4126 (Post 1186288)
I am the only programmer at my school, my knowledge is very basic, i seem to be having problems with setting up the drive system on usb1 and on usb2 set the arm, we are using the joysticks from the kofp and when i change the usb 1 from the drive for the motors to usb 2 the same happens for the arm, based on what i saw do i need to make different joystick refnums, one for joystick 1 and the other for joystick 2 thanks in advance
jose villa kofa robotics frc team 4126

Yes. Each device needs its own OPEN block and its own Refnum.

xisybyl 21-09-2012 16:21

Re: Tips for first-year programmers
 
Is anyone else besides me having trouble with FRCMastery? I can see the selections but when I click on anything in the VIDEOS box nothing happens.


All times are GMT -5. The time now is 03:21.

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