Go to Post Hey Don, if the [Woody Flowers] award doesn't impress the non-FIRST friends and family, just tell them you have your own "inter-web thread" - tell them you are like a Chuck Norris on the internet!!! - ebarker [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 23-02-2016, 19:24
Railbots Railbots is offline
Registered User
FRC #6029
 
Join Date: Jan 2016
Location: Lincoln Park Michigan
Posts: 3
Railbots is an unknown quantity at this point
Help programming our robotic arm

Our programming team is currently working on trying to get our arms program done while our mechanical team finishes attaching the arm to the base but we aren't sure what we're doing wrong or if we're doing the right thing. We would greatly appreciate help getting the code up and running. We used this webpage we found to get to this point.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (6).png
Views:	23
Size:	182.8 KB
ID:	20170  Click image for larger version

Name:	Screenshot (5).png
Views:	18
Size:	185.2 KB
ID:	20171  
Reply With Quote
  #2   Spotlight this post!  
Unread 23-02-2016, 19:59
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,731
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: Help programming our robotic arm

The code in Begin.vi on the left that you've taken is old and some of it is done a little differently.

Just Open a Servo like you would normally.
In your block diagram just delete all the constants you have there now.
Left-click on the PWM Channel input node and select Create->Constant to get your PWM constant. Then set it to the PWM you want.
I'd leave the Angular Range (170) off and just let it default.

Double check that the joystick axis (3) is the one you want to be using.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-02-2016 at 20:11.
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 04:00.

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