Go to Post 1) Field reset will want to do mean things to you. They have to remove the tubes. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-09-2011, 10:35
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Custom Controller Info

Seeing as how the cRIO can decode a jpeg with 80,000 pixels in a 20ms control period, it can certainly do a few derivatives. But directly to the issue. Try just plotting the axis value and determine if it is a line, a curve, or other. Also, do you have any documentation on the controller? It isn't uncommon for a supplier to have developer level documents on their site that describe the SW interface or the configurations available.

The initialize value on analysis blocks should receive one True, and then Falses. It is often wired with either a (first run) block or the i==0 expression based on a loop in the program. Depending on the joystick graph, you can probably just use discrete math -- subtract the previous value to get the delta, and then normalize the delta between -1 and 1. I'd assume that the joystick simply adds a scaled value to an accumulated value. Note that this will glitch when/if the DS packet to the robot is dropped.

If you want to post some VIs and screenshots showing how the controller behaves, someone may have other ideas.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 05-09-2011, 11:17
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Custom Controller Info

The Space Navigator might serve you better as a positional control than a joystick replacement. Since it's a 3D mouse intended to control a point in space you might use it to control the absolute position of the robot on the field, or of a multi-degree-of-freedom manipulator.

Output is really a measure of torque translated to a moving point in 3D space. Twist/pull/lean harder and the point translates or moves faster.
Have you used the 3Dconnexion control panel to reduce the speed of each axis as much as possible?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-09-2011 at 18:58.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi