|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |