Go to Post Mentor: You must first learn patience... Student (impatiently): How long is that going to take? - kaszeta [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 20-02-2012, 21:01
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Programming Autonomous

I have never really worked in autonomous but I was able to look up some of the basics online. I am using a simple flat sequence structure with timers in between the motor functions. for example I want the robot to drive forward for 5 seconds so I set the (Wait for) for 5000 milliseconds. When I deploy this to the cRio and run it the robot just jerks forward for about .6 seconds. I might be doing something wrong but if anyone can help that would be great.

Thanks,
Team 1824
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2012, 21:11
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: Programming Autonomous

The Safety Config sounds like it is enabled, so after 100ms the motors are disabled. The options are to disable the Config go to the RobotDrive palette and then the Advanced palette.

The other option is to change the autonomous VI to loop setting the speed every 50ms or so to the same value and exiting to move to the next sequence frame.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2012, 06:47
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Programming Autonomous

I will try that when I get back to the robot.

Thanks for your quick reply,
Team 1824
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2012, 16:22
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Programming Autonomous

Do you disable the safety config in begin.vi or autonomous.vi?
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2012, 16:58
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,833
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: Programming Autonomous

Since you just need this in Autonomous, keep it in there.

Disable the Safety Config before entering the sequence and re-enable it at the end of the sequence when you turn your drive motors off.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 24-02-2012, 17:28
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Programming Autonomous

Alright, I will try that. Thank you.
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 22:07.

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