|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Jaguar Blinking Yellow
Quote:
|
|
#17
|
||||
|
||||
|
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 |
|
#18
|
|||||
|
|||||
|
Re: Jaguar Blinking Yellow
It's so strange that I suspect you either have a broken Digital Sidecar or a faulty cable connecting it to the DIO module in the cRIO. Do you have access to any others to try swapping them out?
|
|
#19
|
|||
|
|||
|
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. Last edited by meltbox360 : 25-01-2012 at 18:27. |
|
#20
|
||||
|
||||
|
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 |
|
#21
|
|||
|
|||
|
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. Last edited by meltbox360 : 31-01-2012 at 23:20. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|