Go to Post to all of the people who are on robotics, I thank you for giving me the chance and happiness that i had never had before. robotics has been the happiest thing i have ever done in my life - gondorf [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 15-02-2009, 13:22
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: adding a second joystick to TeleOp Init

Pausert,

The REX build up zip that you posted yesterday at 07:15 pm is missing a Joystick Open in the Teleop.vi Init case. The USB 1 Joystick is opened and assigned to JoystickDevRef, but the JoystickDevRef 2 is unassigned.

This could certainly create strange behavior.

-Nate
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2009, 19:27
Pausert Pausert is offline
Registered User
FRC #1727 (REX)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Maryland
Posts: 69
Pausert is an unknown quantity at this point
Re: adding a second joystick to TeleOp Init

Thank you for all your help! It appears that there were some code issues, but also there were problems with how Labview handles Victors. Once we cleaned up the code and changed to Spikes the code worked as intended. Thanks!
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2009, 20:38
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: adding a second joystick to TeleOp Init

Wanna elaborate on the victor issue?

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2009, 20:43
Pausert Pausert is offline
Registered User
FRC #1727 (REX)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Maryland
Posts: 69
Pausert is an unknown quantity at this point
Re: adding a second joystick to TeleOp Init

Sure. Essentially, whenever we used a Victor, it would receive some form of crosstalk from joystick 1 even though it was supposed to be received by joystick 2. If we changed the motor VIs to Jaguar ones and put a Jaguar into the electronics the code would run fine, otherwise one of our 2 Victors would start to move with both of the 2 Jaguars we had. If we unplugged the Victor that was receiving the crosstalk, the other Victor would start to move in response to the crosstalk. That behavior alerted us to something odd with the Victors or Victor VIs. Because we didn't really need analog control where the Victors were and we didn't have any extra Jaguars we replaced them with Spikes and used the Relay library.

In short, I have no idea what is actually wrong with the Victors or their associated code, but something is weird about it.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding all devices to Typedef increases Teleop by 100 ms per iteration rwood359 NI LabVIEW 1 07-02-2009 22:11
adding second camera iwdu15 Electrical 1 01-02-2007 20:53
Wierd basic init Jeremy J Programming 5 06-02-2003 11:42
Basic Init Error yan184 Programming 5 14-12-2002 13:10
Programming the second joystick in PBASIC archiver 2001 2 24-06-2002 00:25


All times are GMT -5. The time now is 21:39.

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