|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Spontaneous stopping
As far as I can tell, it seems like more of a hardware problem rather then a code problem. Unless there was some kind of virus code that shut down your robot, I'm thinking it would have to do with maybe the cRIO. It could also possibly be that one of the components in the electrical system may have either short circuited or not have been wired correctly. Make sure you check your wiring, look for bad components that may have stopped working, etc.
This is merely a possibility, so if anyone else can correct or give me some insight, that would be great. Hope this helps and good luck! |
|
#2
|
|||
|
|||
|
Re: Spontaneous stopping
Lemiant, can you see the boot messages on the cRIO when you reboot or turn it on? The cRIO may be complaining about something else entirely.
We usually get cRIO messages in our IDE (NetBeans), but when things are really hosed up, that doesn't work. The all-else-fails method is to hook a serial null modem cable (this was a royal pain for us to set up -- we use five consecutive converters and gender benders to get null modem serial male D9 to USB) from the serial port on the cRIO to a laptop running puTTY or other terminal console software. We can then control the cRIO from its "console," and when rebooting, see its messages as well as any we may have imbedded in our code. Bit Team 279 |
|
#3
|
||||
|
||||
|
Re: Spontaneous stopping
Thanks guys. We managed to get it fixed at competition, big thanks to Simbotics. It appears it was a code problem. He coding mentor from Simbotics rewrote our drive code in java (it was C), and now it works fine.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|