Go to Post (Water on all this would be good too) - buildmaster5000 [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 01-02-2017, 08:10
crc540 crc540 is offline
Registered User
FRC #3976
 
Join Date: Feb 2017
Location: Hopkins, SC
Posts: 3
crc540 is an unknown quantity at this point
Setting motor speed

How do you set a reduced power/speed to a motor or do you set a variable to the joystick.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2017, 08: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,906
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: Setting motor speed

If it's based on a joystick axis, then just multiply the axis output by the percentage maximum power you want before you send it to the motor, e.g., (axis 1 * .7 = 70% power)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2017, 08:57
crc540 crc540 is offline
Registered User
FRC #3976
 
Join Date: Feb 2017
Location: Hopkins, SC
Posts: 3
crc540 is an unknown quantity at this point
Re: Setting motor speed

Mark how can I do that. Thank you for your help
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2017, 09:00
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,906
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: Setting motor speed

Here's an example: http://www.team358.org/files/program...ickMaxThrottle

The right half is a simple throttle limit.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2017, 09:04
crc540 crc540 is offline
Registered User
FRC #3976
 
Join Date: Feb 2017
Location: Hopkins, SC
Posts: 3
crc540 is an unknown quantity at this point
Re: Setting motor speed

Thanks Mark
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 10:58.

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