![]() |
Autonomous Motor Control
1 Attachment(s)
Hi, I am using autonomous and I know how to code the movement commands, but I was wondering about how to program 2 other motors that control the lift mechanism that we have on our robot. Please help
Attachment 18289 |
Re: Autonomous Motor Control
Do you know how to program the motors that lift the mechanism in teleop? Have you written for a non drive motor before?
Here's an example: ![]() |
Re: Autonomous Motor Control
1 Attachment(s)
Thanks for the reply, here is what our teleop looks like, I am one of the 2 programmers on our team this year and we are brand new to labview after switching from Java last year. sorry for the poor photo quality but hopefully you can still see it. Attachment 18353
|
Re: Autonomous Motor Control
Your "Lift Motors" refnum can be read in auto and motor updates sequenced with your drive base code using a sequence structure or data flow.
By default, safety is not enabled on motors other than the drive base. So you do not need to use a special Delay and Update Safety function. A simple timer delay will do fine. Is this enough info? It is really similar to the sample code that was there already. Greg McKaskle |
| All times are GMT -5. The time now is 04:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi