Thread: CRIO ghosting
View Single Post
  #5   Spotlight this post!  
Unread 23-03-2014, 19:58
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,091
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: CRIO ghosting

Quote:
Originally Posted by Greg McKaskle View Post
I'd like to focus on the robot enabled when you didn't intend it to be first.

If there is a way for this to happen, please try to give me steps. The DS shouldn't enable without a robot attached. The robot is told its state. I do not know of a way for it to coerce the DS to enable. The field can cause the DS to enable, but your DS must be connected to the field for that to happen. There are odd corner cases such as when you are developing on a cRIO and start new code while running existing code. As far as I've seen, when new code on the robot takes over from old code, the FRC Communication task tells the DS and the new program is disabled even if the old one.

Are you sure that someone didn't enable the robot from the DS? F1 is the shortcut to enable the robot, by the way. Enter key is the shortcut to disable, and space is the shortcut to Estop.

As for the other symptoms. If you attach code, I can give it a look and see if anything jumps out.

Greg McKaskle
When it enabled, it was sitting on the cart and we were in the queue. We were booting the robot into the loaded code. The laptop was sitting in the programmer's hands plugged in through an ethernet cable. As soon as the robot actually gained robot code, it enabled itself. We know about the buttons that enable the robot, and none of them were pressed. It was really odd, and I had never seen it before.

As for the code, if you PM me your email I will send it to you. PM won't let me send attachments, and we do not want to post the code publicly.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.

Last edited by Thad House : 23-03-2014 at 20:02.
Reply With Quote