View Single Post
  #1   Spotlight this post!  
Unread 30-01-2014, 23:39
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Unhappy Robot behaving strangely

After a quick search around chief delphi and a look in the technical forum on the first forum, I have not found a solution to what is happening to the robot. Recently, a side of the robot will drive without any command from the joystick. The weird thing here is that even using a blank project, the side will move. Now during testing, I changed which pwm for each side in the program.(i.e. pwm 2 for the left is now pwm 1 for the left) When doing this, the other side will now move without any command from the joystick. I probed the joystick output values and it verified that the joystick is not responsible for the issue. The robot worked before Tuesday night.

There's another issue I have when deploying code, is that the cRIO is not recognized. Yes, I have checked the laptop's ip, it is set-up correctly. Yes, I have tried switching cables. Only when I rewrite my code from scratch in a new project will it work.

Now I am at a dead end with this, I tried power cycling and reformatting the cRIO. I also checked the cables themselves and they all are wired correctly.

The vi we are trying to drive is with the tank drive vi. Temporarily it worked when we deleted the vi and bringing it back into the program. If it helps, the motors are y'ed together and they both show a solid green led light and the other side show the orange light. Again we used a blank project and in the project we are working in, we disabled all of our other code in tele-op except for the drive. There is also nothing filtering the joystick value to the tank vi.
Reply With Quote