Go to Post Code doesn't break. It reacts exactly the same time every time. When something new happens that never happened before, it's because the mechanicals, electricals or drivers gave the code some new stimulus that wasn't tested before. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-01-2017, 13:44
Andrew01377's Avatar
Andrew01377 Andrew01377 is offline
Maker of the robots on Computer
AKA: Andrew
FRC #3633 (Catalyst 3633)
Team Role: CAD
 
Join Date: May 2015
Rookie Year: 2014
Location: Albert Lea
Posts: 9
Andrew01377 is an unknown quantity at this point
Unhappy RoboRio and Radio Troubles

1/21: I'm having trouble with our RoboRio, and connecting to the Radio. All the wiring is correct but, our Radio is just not connecting to the RoboRio. I've already flashed the RoboRio, and configured the Radio.
When I was trying to connect wireless I can get connection to the Radio but when I try to Build the code it can't locate the RoboRio and the build fails.
I am able to connect to the RoboRio with the cable that I used to Image the Robot but, when that is disconnected I lose both connection and code on the DriverStation. I am lost with what is wrong at this point.

1/22: So still having trouble with trying to get them connected. We have tried restarting the Computer, gone through power cycles, tried following the wiring from last years robot. We talked to our old programmer and still had no idea what was going on. We are using C++, and currently we have the code as

Code
class Robot: public SampleRobot
{
Joystick* Stick;
Joystick* xbox;
Talon *LeftFront;
Talon *RightFront;
Talon *LeftBack;
Talon *RightBack;

public:

Robot(){
Stick=Joystick(0);
xbox=Joystick(1);
LeftFront= new Talon(0);
RightFront= new Talon(1);
LeftBack= new Talon(2);
RightBack= new Talon(3);
}
void operatorControl() {
while(IsOperatorControl()&& IsEnabled()){
LeftFront->Set(1);
RightFront->Set(1);
LeftBack->Set(1);
RightBack-Set(1);
Wait(0.01);
}
}
};

We put the code like this in an attempt to just connect and getting the wheels moving, but when we did and deployed the code (wired) none of the wheels moved. At this point we are lost at what the situation could be, and we are just trying to get some communications between the two, or get the Robot to move just in general.
__________________
Apart of FIRST since 2014.
"You will be given a very hard problem. Use it well" ~Woodie Flowers

Last edited by Andrew01377 : 22-01-2017 at 18:36.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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