![]() |
Re: Jaguar Blinking Yellow
Quote:
|
Re: Jaguar Blinking Yellow
You're welcome. I thought that the SimpleRobot demo example did do a drive forward for 2 seconds in autonomous and also did arcade drive during teleop though. Let me know how things turn out.
bob |
Re: Jaguar Blinking Yellow
Quote:
|
Re: Jaguar Blinking Yellow
Quote:
EDIT: Simple robot does indeed do those things at least the code suggests it should but the last time I ran it absolutely nothing happened. I will try again. The main difference I have spotted between the example code that I ran and worked and simple robot is the working code use the "new" c++ keyword to allocate memory for a "RobotDrive" object instead of the way the simple robot and my code have it done. I should definitely see if that fixes it although it should not have any effect unless the code is doing something really weird behind the scenes. |
Re: Jaguar Blinking Yellow
If you are heading into "strange-land" possibly...I would suggest that you try the known-good labview program like 10 times in a row with moving a few things around ... wiring etc... if you get rock solid consistent results there, then move to C++ simplerobot and re-test... this would help gain you some sanity if it help identify a hardware flakey issue.
bob |
Re: Jaguar Blinking Yellow
I am leaning toward either a broken cable at the moment as I have found that initializing a Jaguar appears to init a relay. EG I init PWM 1 as a Jaguar and instead relay 1 lights up green. Any thoughts?
EDIT: As a side note. The code that works for me in tele-op uses RobotDrive however it now refuses to drive the motors 100% forward but will drive them at 100% in reverse. More strange stuff? Just to make sure what should all the lights on the cRIO FRC II be lit up as? Just want to make sure I didn't overlook those stupidly. |
| All times are GMT -5. The time now is 14:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi