View Single Post
  #1   Spotlight this post!  
Unread 10-03-2013, 23:00
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
There are things I don't know...

Howdy

I tried to move drive motor control from TeleOp to PeriodicTasks, by sampling joystick data in TeleOp, pushing it to globals, then reading the globals in the periodic loops. Terrible results, laggy response, Y-axis data got around to working, X-axis virtually ignored.

With probes in place, I can see the data getting to the Arcade Drive instance, but the outputs were junk, moreson on the X-axis than the Y. I really thought a ~20mS loop shoveling data asynchronously to a 10mS loop would be no problem.

TeleOp and Autnomous VI fragments attached. Any thoughts?

TIA,
Tim
Attached Thumbnails
Click image for larger version

Name:	teleop1.png
Views:	70
Size:	32.8 KB
ID:	14308  Click image for larger version

Name:	Periodic1.png
Views:	59
Size:	43.3 KB
ID:	14309  
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote