View Single Post
  #2   Spotlight this post!  
Unread 08-02-2016, 20:32
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,795
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: "Control Motor" Programming

It's pretty straight forward.
I've attached a snippet of the basics.

There is a stand-alone example under Support ->Find FRC examples...
Then in the roboRIO file->Robot and Motor->Motor Control.lvproj

You are going to need to think about adding limit switches to the top and bottom of the lift to automatically stop the motor from overdriving the mechanical stops.
Attached Thumbnails
Click image for larger version

Name:	SingleMotorExample.png
Views:	35
Size:	25.6 KB
ID:	20011  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote