Go to Post Don't you just wish life had a redo button? - DHarris [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 13-01-2014, 17:18
chiefwebmaster's Avatar
chiefwebmaster chiefwebmaster is offline
Registered User
FRC #3169
 
Join Date: Nov 2011
Location: Oklahoma
Posts: 12
chiefwebmaster is an unknown quantity at this point
Default Mecanum Code Not Working

Hello,
We are having trouble getting the default mecanum drive code up and running. Currently when the code is deployed the robot goes full speed forward even when the joystick is in the center position. When we move the joystick the robot moves full power in that direction.
We also tried the mecanum with arm in the simulator and the robot just spins in a clockwise circle without any input from the joystick.
Is anyone else having this problem?
Thanks for your help,
Garrett
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2014, 17:26
Iaquinto.Joe's Avatar
Iaquinto.Joe Iaquinto.Joe is offline
RPI 2018
AKA: Joe Iaquinto
FRC #0308 (The Monsters)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2011
Location: United States
Posts: 166
Iaquinto.Joe is a jewel in the roughIaquinto.Joe is a jewel in the roughIaquinto.Joe is a jewel in the rough
Re: Default Mecanum Code Not Working

Make sure you have calibrated your speed controllers correctly. Additionally, make sure your joysticks are working correctly with your computer (Control Panel > Devices And Printers > right click controller > game controller settings > properties). Also, check to see that you are sending the right axis to the right input of the VI (Axis 1 and 2 on an attack 3 joystick are X and Y respectively, Axis 3 is the throttle knob).
__________________
4 year 2011 - 2014 FRC team 308 member, Lead Programmer - C++ / LabVIEW

3 year 2011, 2013, 2014 OCCRA member, Co-Captain OCCRA team 308
  • OCCRA Engineering Excellence - Waterford Kettering 2013
  • Innovation in Control - 2011
  • Quality award- Northville 2012
  • Engineering Excellence- Howell 2014
  • Innovation in Controls- Livonia 2014
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2014, 21:23
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Default Mecanum Code Not Working

You can use the Joy Stick Explorer to verify joystick axis and values:
http://firstforge.wpi.edu/sf/frs/do/...stick_explorer
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2014, 22:27
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 50
Owen Makin is an unknown quantity at this point
Re: Default Mecanum Code Not Working

Maybe your joysticks are faulty. Try running the program from the main block diagram, and go in to your teleop code and put a probe on the joystick outputs.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2014, 22:38
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: Default Mecanum Code Not Working

if all else fails, reimage the Crio and start a new project... sometimes a fresh start is the easiest way to fix a problem.
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2014, 15:25
chiefwebmaster's Avatar
chiefwebmaster chiefwebmaster is offline
Registered User
FRC #3169
 
Join Date: Nov 2011
Location: Oklahoma
Posts: 12
chiefwebmaster is an unknown quantity at this point
Re: Default Mecanum Code Not Working

Thanks,
Apparently the throttle has to be centered and not all the way down.

Garrett
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:59.

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