|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I have been trying to make my robot work for over 2 hours now. My radio is working and I have tried the screen steps instructions with no luck. How do I get this thing working and how do I program it? Thank you for your help! |
|
#2
|
||||
|
||||
|
Re: Running Robot
are you programming with labview, java or C++? which instructions are you using as a guide (link please so we can help you more quickly)
|
|
#3
|
|||
|
|||
|
Re: Running Robot
Quote:
http://wpilib.screenstepslive.com/s/...ogram-wireless |
|
#4
|
||||
|
||||
|
Re: Running Robot
your team number and battery voltage show up?
Are the communication, robot code and joystick lights all green? those will say where to start. also, other people that might read this thread, please jump in because i won't be available anymore pretty soon. |
|
#5
|
|||
|
|||
|
Re: Running Robot
The communications and robot code are not coming up green.The team number is up, but I think that I manually entered it? I also did bridge my radio.
|
|
#6
|
||||
|
||||
|
Re: Running Robot
ok, focus on communications first. can you get to the roborio configuration page in a web browser (even if you don't have silverlight, you should at least get something)
verify your ip addresses or mDNS setup. http://wpilib.screenstepslive.com/s/...rio-networking specifically the troubleshooting link http://wpilib.screenstepslive.com/s/...anual-id=24193 |
|
#7
|
|||||
|
|||||
|
Re: Running Robot
Your radio should be setup as a 2.4GHz access point, not as a bridge, but if your selection had 2.4GHz in it anywhere, then it's okay.
Does your team number show up in your PC's wireless selection list and did you connect to it (example attached)? |
|
#8
|
|||
|
|||
|
Re: Running Robot
Quote:
|
|
#9
|
|||
|
|||
|
Re: Running Robot
Quote:
https://photos.google.com/search/_tr...0_QYCN8MhSqEnh |
|
#10
|
|||
|
|||
|
Re: Running Robot
Quote:
|
|
#11
|
|||
|
|||
|
Re: Running Robot
Quote:
https://goo.gl/photos/8RejK5yHUt5hNfBM9 |
|
#12
|
|||
|
|||
|
Re: Running Robot
Quote:
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. |
|
#13
|
|||||
|
|||||
|
Re: Running Robot
With Ethernet from your picture, it looks like your robot is running fine.
Does it not respond to your joystick? Check the USB tab in the Driver Station (on the left-the tab with a USB symbol) to see where your joystick has been connected. For the basic LabVIEW project it should be in the USB 0 position, it should be green, and it should brighten whenever a button is pushed. |
|
#14
|
|||
|
|||
|
Re: Running Robot
Quote:
Also, how would I write a basic code in labview so that I can use the joystick in the KOP? |
|
#15
|
|||
|
|||
|
Re: Running Robot
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|