Go to Post I could say something technical but I think I will allow myself a moment to pause in the awesomeness... Sweet. - anna~marie [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 11-02-2015, 17:39
15cscheurer 15cscheurer is offline
Registered User
FRC #4246
 
Join Date: Feb 2015
Location: Troy, IL
Posts: 2
15cscheurer is an unknown quantity at this point
Autonomous Motor Control

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

Click image for larger version

Name:	screenshot.jpg
Views:	70
Size:	134.5 KB
ID:	18289
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2015, 18:43
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
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:

Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2015, 18:40
15cscheurer 15cscheurer is offline
Registered User
FRC #4246
 
Join Date: Feb 2015
Location: Troy, IL
Posts: 2
15cscheurer is an unknown quantity at this point
Re: Autonomous Motor Control

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. Click image for larger version

Name:	photo.JPG
Views:	45
Size:	1.21 MB
ID:	18353
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2015, 09:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
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 21:27.

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