Go to Post Place a corner of it on the end of a table, clamp down the other side, and have a good whack at it with a hammer (hard). If it didn't break, it was polycarbonate. - vivek16 [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 09-02-2009, 22:59
varun1718's Avatar
varun1718 varun1718 is offline
ToaD
AKA: Varun Jasuja
FRC #1669 (Jaganators)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Long Beach
Posts: 8
varun1718 is an unknown quantity at this point
Send a message via AIM to varun1718
Question Robot Programming help needed!!!

Hey there. This year is my first year programming for the Robotics competition and i seem to be getting very little help.
I dont have any experience in labview or C++. I took the labview basics tutorials but they dont seem to help much in such advanced programming.
First of all, i could not program the basic program that runs the robot on arcade drive. The program was in the robotics library and appears when i make a new project using Labview. the jaguars dont respond to the cRIO signals. i had to reformat the cRIO in order to make the jaguars work again.

Second, i am trying to program the Y axis of joystick 1 to move four motors forward and backward and the x axis to move another motor which moves the wheels around. To add to that, i need to program the other joystick to move a motor which we are using for a turret. I want to program a button to turn the another motor on and off and a button to control a pnuematic arm.

Any help would be appreciated..
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2009, 07:46
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,751
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: Robot Programming help needed!!!

My advice is to create either of the templates. At this late date, the Basic may be a better choice since it has fewer concepts to get lost in.

Where it Opens two motors outside the loop, open several more. Where it Uses the Drive, you probably want to open the drive and look at it and basically replace the drive with some motor speed sets.

People have been putting up code and pictures of turret code with limit switches, be sure to look there.

The steering is just another motor to open and hook to the other joystick axis, probably with some scaling.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2009, 12:12
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Robot Programming help needed!!!

Quote:
Originally Posted by varun1718 View Post
...Any help would be appreciated..
I strongly suggest that you wact the Tip Jar video tutorials #5 through #8 (inclusive) to get a very fast ramp up on how to use the basic robot framework.

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2009, 23:58
varun1718's Avatar
varun1718 varun1718 is offline
ToaD
AKA: Varun Jasuja
FRC #1669 (Jaganators)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Long Beach
Posts: 8
varun1718 is an unknown quantity at this point
Send a message via AIM to varun1718
Re: Robot Programming help needed!!!

yay! i made the basic movement program of the robot today.
i seem to have a little problem with programming the pneumatic arm
i cant seem to get the program right.

i want to program it to button 2 of joystick 1 or 2. i couldnt get the compressor working after a lot of tries.

can somebody help me with the programming and the physical setup of the compressor?
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2009, 09:37
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,751
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: Robot Programming help needed!!!

Since I can't see your code I don't know what it looks like right now. But I assume you are reading one joystick button and controlling the motor. Duplicate the unbundle by name and place it near the current one. Wire the new one to the device ref of the other joystick. Now OR the two buttons together before going into the case.

If this makes no sense for your diagram, post a picture.

Greg McKaskle
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
C Programming Homework Help Needed Pat McCarthy Programming 53 27-09-2008 22:15
C Programming Homework Help Needed berkanbaba Programming 16 15-04-2008 17:44
programming help needed krunal Programming 3 29-01-2007 00:18
HELP-URGENT PROGRAMMING HELP NEEDED Rohith Surampudi Lego Mindstorm Discussion 1 24-03-2006 23:05
URgent Programming Help needed rcubes85 Programming 4 15-02-2005 23:21


All times are GMT -5. The time now is 10: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