View Single Post
  #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