View Single Post
  #1   Spotlight this post!  
Unread 09-02-2013, 10:59
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Robot "twitching?"

Our robot is almost fully programmed but we've run into a problem, the robot's drive motors and some other motors run themselves for a fraction of a second with no joystick input every now and then. It only happens when the robot is enabled in teleop and the only error messages we get are that the loop that robotdrive and one other motor are in is running to slowly.

I did fix half of the problem yesterday when a digital I/O port on the sidecar was being read by both the compressor and a digital read at the same time, that caused it to twitch a TON.

I would like to add that I tried a completely new project with just drive and it worked fine so it's not the hardware or wiring.

Is this caused by the slow loop or is it something wrong with my teleop code?
Attached Files
File Type: vi Teleop.vi (40.2 KB, 32 views)
File Type: vi Firing project.vi (72.0 KB, 24 views)
Reply With Quote