Go to Post ..the way we see it FIRST isn't about winning a robot contest, its about trying your best to complete a really really hard task in a really really short amount of time. - Stuart [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-10-2010, 17:56
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Teleop to No Comms?

Like I said in the earlier post, were you really reformatting, or just running the tool to change languages? A true format takes minutes and reboots the controller numerous times.

The dip switches for resetting IP and things like that should have had no impact.

As for how a printf can crash a program? Are you calling functions inside the printf or are you dereferencing pointers or calling copy constructors, constructors, descructors? Those sorts of things can have bugs in them that haven't been visited, then you call them as a side-effect and BOOM.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 09-10-2010, 18:01
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Teleop to No Comms?

Yes, we really re-formatting. We checked the Format check-box.

I was calling the functions inside it, to return a number.

I don't know why, but when we flipped the IP Reset switch and pressed the reset button on the cRIO, it finally worked.

Also, we had a similar problem the day before, but less "severe".

We could get a steady connection, and download the code we used during competition just fine, and it would run the autonomous code without crashing, but as soon as you enabled tele-op, it would lose connection. (This was without any printfs)
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera + DS Comms Sauce Programming 6 21-01-2010 20:11
No comms because of router reset? vivek16 FRC Control System 3 25-08-2009 21:06
No Comms Issue.... JoeyTNT280 FRC Control System 9 11-06-2009 20:32
Teleop Lag Xavier Brandall Programming 14 17-03-2009 18:21


All times are GMT -5. The time now is 17:01.

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