![]() |
Our Crio Won't Run deployed Code and there are no Error messages
Hi, Our Crio has not been able to use the driver station since day one of the build period and we have been madly trying to get it working
here's what we are doing. we format the crio according to the documentations instructions exactly then we push down the basic default code, and we have tried some of our own versions as well with no avail after that we log into the driver account and it says we have the crio image in diagnostics and all of the lights are green. the only problem is is that our controls do not make our jaguars work but we do have green lights on our controls and when we press the trigger the light in the driver station responds, it's just our control board doesn't |
Re: Our Crio Won't Run deployed Code and there are no Error messages
First,
There are 3-5 main languages used by people to program the robot. Can you please specify what language you are using? |
Re: Our Crio Won't Run deployed Code and there are no Error messages
Sorry about that, we are using c++ in windriver as our language
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
Are the green lights you mentioned communications, robot code and the stop botton?
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
I'm making the assumption that you're attempting to control the jaguars via PWM. Can you confirm?
Have you connected the PWM cables to the correct channel on the digital sidecar? They PWM cables can be plugged in white-red-black or black-red-white Are the PWM cables plugged in correctly? At both ends? Also, did you set your team number at Window -> Preferences -> FIRST Downloader Preferences (can't remember how crucial this last item is)? |
Re: Our Crio Won't Run deployed Code and there are no Error messages
Whenever I deploy new C code, I have to issue a 'reboot' command over the serial port or power cycle the crio for the changes to take effect.
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
Are you enabling the robot?
When the crio reaches some magic point during its boot sequence, the signal light starts blinking rapidly. Once the crio is fully booted and ready to be enabled, the signal light blinks more slowly than before. When the robot is enabled, the signal is on with very minimal blinking. For all intents and purposes, the signal light is on steady. Once you see the above three states, you'll know what I'm talking about. The driver station has a setup tab. Is the team number set correctly? One last thing while I'm thinking about it. Does the driver station show the battery voltage? |
Re: Our Crio Won't Run deployed Code and there are no Error messages
yes we are using pwms we reboot it every time, yes i mean the communications robot code and stop button green lights the team number is set correctly, the pwms are correctly plugged in yes the driver station shows battery voltage
thanks for looking at this sry i took a while to reply |
Re: Our Crio Won't Run deployed Code and there are no Error messages
Are you pressing the green enable button? The status indicator should read "Teleoperated Enabled" in the driver station after you push the button.
When you try to drive, do you notice if the lights on the Jaguars are doing anything? I believe when they're receiving a neutral PWM signal they're solid orange, and then they flash green and red depending on which direction you're driving them. This is based on my (somewhat quirky) memory and CAN mode, so I'm not 100% sure. What are your Jags doing? Matt |
Re: Our Crio Won't Run deployed Code and there are no Error messages
Remember to change your battery constantly... If it drops below 11V, it sometimes does not respond.
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
After we enable it, it syas teleop enabled and the jaguars lights keep flashing yellow like they are on standby. Our battery voltage is just above 12v
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
Quote:
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
Except that it's not working, all of our pwm's are connected properly and our robot should be working but it isn't, thanks for your time guys
|
Re: Our Crio Won't Run deployed Code and there are no Error messages
Could be code and could be electrical.
Take a photo of the Digital Sidecar, so we can see what's connected where. I don't remember if the basic default code actually does anything. |
Re: Our Crio Won't Run deployed Code and there are no Error messages
It may also be worth connecting a servo motor (any standard servo will do) to the sidecar and putting the 6V jumper in place to power it, and just seeing if it reacts at all to your joystick inputs.
Just to clarify, the servo should connect to one of the PWM outputs you're trying to drive a Jaguar with, just to clarify a valid signal is being generated. Matt |
| All times are GMT -5. The time now is 03:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi