Go to Post How FIRST is helping: teaching me just how much I can achieve in 6 weeks. - Otaku [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 24-10-2010, 17:04
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: How to code Macanum ddrive

Note that Mark's code is really used for a joystick that twists (the kit joysticks don't).

If you have a joystick that doesn't twist, you usually program 2 buttons to rotate the robot in different directions (you may have experienced this concept in video games, where the rear controller buttons rotate the vehicle/whatever you're in).

If you want to do this, you basically test both buttons and send different values to that Rotation terminal based on which button is pressed, if any. Doing that might get complicated, so if you can't figure it out, feel free to post back or check out this recent thread that is very similar. They talk about controlling a motor with two buttons.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
 


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
Macanum ability to climb ramps BIGWILLI2081 Rules/Strategy 47 17-01-2010 00:20
How do i Upload code? seanl Programming 2 20-01-2009 10:46
Inventor > G-Code - HOW!!?? =Martin=Taylor= Inventor 4 17-07-2007 03:18
How to type my code jewbilee Programming 7 07-03-2007 21:51
how to convert Easy C code into real code? TheHolyLancer Programming 1 29-01-2006 09:09


All times are GMT -5. The time now is 23:40.

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