![]() |
is the set angle, get angle, or set position the same as set output for motor vi's
if not, which one is?
|
Re: is the set angle, get angle, or set position the same as set output for motor vi'
Looking at the diagram, Set Position on a servo ranges between 0 and 1, similar to Set Output for a motor. Set Angle is a wrapper around Set Position that maps the angle between 0 and 1 and calls Set Position. You can use either of them to update a servo to the location you want it.
Greg McKaskle |
Re: is the set angle, get angle, or set position the same as set output for motor vi'
None of the above. A motor (for the purposes of this competition) is controlled by setting its speed. A servo is controlled by setting it's angle. It will then move to this angle and hold that position as best it can until you issue a new command.
|
Re: is the set angle, get angle, or set position the same as set output for motor vi'
Each VI is different if you open it and look inside
Set Angle sets an angle for the servo in degrees. probably a range of [0,360), but depends on the servo Get Angle returns the angle that the servo is currently at. probably range of [0,360) Set Position sets the servo to a percentage of its maximum rotation [0.0,1.0] These are only for servos, and will likely mess up with motors |
Re: is the set angle, get angle, or set position the same as set output for motor vi'
Excellent that was what i needed to know, thanks
|
| All times are GMT -5. The time now is 09:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi