Thread: Running Robot
View Single Post
  #12   Spotlight this post!  
Unread 18-01-2017, 10:30
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Running Robot

Quote:
Originally Posted by WalnutsAndBolts View Post
How do I get this thing working and how do I program it?
"how do I program it" is the first step. You have to install the preferred environment on your Programming Computer (which can also be your Driver's Station). Write the Code. Compile it.

At that point, you are ready to attempt communicating with the Robot.

Do the basic robot setup (battery, pdp, crio). Also attache a motor controller, and put a Volt Meter on the output. Alternatively, you can setup the pneumatic system (compressor, pressure sensor).

Program and setup the radio. Update the cRio firmware.

Establish communications with the robot (I suggested tethered for the first time until you are sure it works).
Deploy the code.
Enable the robot.

What you want to do with your code is energize the Motor Controller (without the motor attached), or enable the pneumatic system and hear the compressor start up. Have it cycle on and off (1 second on, 1 second off).

At that point, you have gotten code to run on your robot.
__________________

Reply With Quote