Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   706 had the curse of all curses (http://www.chiefdelphi.com/forums/showthread.php?t=93536)

boomergeek 15-03-2011 16:24

Re: 706 had the curse of all curses
 
Have you tried loading the BuiltinDefaultCode robot example shipped with the CRio?
If that shows the problem, then it's obviously not the software.

petet4 16-03-2011 09:45

Re: 706 had the curse of all curses
 
Hi AL,
see post #13 of this thread. A new project was started using the default Linefollower code. In that code there is no teleop code. In this section the 2 lines were added, turn on 1 solenoid and wait 0.01. Along with these couple of lines, the init section was changed to add the solenoid in the initialization.

Running this code produced the same results, with the solenoid LED randomly turning off for brief periods when enabled.

-pete

boomergeek 16-03-2011 12:19

Re: 706 had the curse of all curses
 
Have you tried stategic placements of printf to determine if the code is leaving the OperatorControl() method possibly because the IsOperatorControl() occasionally becomes false?

Has the CRio flashing option included a reformating? (to get rid of any extraneous .out)

And because we have burned ourselves so many times by not keeping Windows->Preferences->FIRST Downloader Preferences properly up to date, we add:
printf("\n\n###################################### ####################");
printf("\n 2011 Astro Robot code version 2011_v1.0");
printf("\n Base Drivetrain #0");
printf("\n Build Date: %s at %s ", __DATE__, __TIME__);
printf("\n Clock Rate: %f /second",(double) sysClkRateGet());
printf("\n######################################## #################\n\n")

to the beginning of RobotIint(), just to be sure we know what we are running matches our intentions.

Al Skierkiewicz 16-03-2011 12:37

Re: 706 had the curse of all curses
 
Pete,
Have you just tried simple code? Like just download the compressor code, nothing else, and see if it runs normally when enabled.

olapmonkey 24-03-2016 19:36

Re: 706 had the curse of all curses
 
At 706, we have decided to go with redundant power to our radio. It seems the barrel jacks we had for our radio...one kit of parts and one from Andy Mark...possibly were both missed shipped and may have been 2.5mm instead of the specified 2.1mm. So we have replaced our barrel jack, but then not to take any chances we are also redundantly supplying the radio with power over passive PoE. We can remove either power source individually and our radio will not lose power.

Hadi379 24-03-2016 20:00

Re: 706 had the curse of all curses
 
Could you post a photo of the POE setup

Trevor1523 24-03-2016 22:22

Re: 706 had the curse of all curses
 
Not to be rude, but I actually think 1523 had the curse of all curses at Orlando a few weeks ago ;).

Your weekend sounds like a dream!

Best of luck to fixing your issues.

olapmonkey 24-03-2016 23:46

Re: 706 had the curse of all curses
 
Quote:

Originally Posted by Hadi379 (Post 1562771)
Could you post a photo of the POE setup

I'm not sure a photo will help too much as it's all buried in the guts of the robot now.

We split the Ethernet cable apart and the brown pair gets wired into the negative 12V terminal on the VRM and the blue pair gets wired into the positive terminal on the VRM. The VRM has 2 sets of 12V terminals, so we use one for the barrel jack and one for the PoE. The PoE cable is then patched from the RoboRio to the radio 12V Ethernet port...where the radio end gets the standard 4 pairs all coming in and the RoboRio end just has 2 pairs to carry just the data (on pins 1,2,3,6). So pins 4,5,7,8 at the radio are carrying the power.

Hope that helps.


All times are GMT -5. The time now is 12:53.

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