Go to Post Keep your chin up, your safety glasses on, and don't let the magic smoke out of the electrical components and you'll do just fine :) - rsegrest [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 22-02-2010, 08:19
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: paper: Using a Virtual Robot Model – Testing and Debugging Autonomous Code Throug

Yesterday was our day to get the autonomous code dialed in, so I figure I would post a follow up to report how it went, and how the simulation-based testing and debugging panned out.

Prior to yesterday, here is what we did:

- About 8 hours spent coding our autonomous sub-VI.
- Using the simulation tool, about 4-8 hours spent testing, debugging, and tweaking the autonomous sub-VI.
- Then at various stages, another 4-8 hours for coding, testing, and debugging various "good ideas" we had pertaining to autonomous (all via simulation).

Yesterday, we finally got to test it all on the real robot. Here is what we did:

- about 1 hour was spent dealing with issues in Disabled.vi because we didn't initialize everything correctly.
- about 15 minutes spent in PeriodicTasks making sure calculations were being performed correctly.
- about 20 minutes of testing to be sure the signals were all in the correct orientation (i.e. postive went the proper direction, and negative went the proper direction).

That was all setup in order to start the autonomous subVI testing. In our Auton2010.vi, here is what we did:
- about 1 hour was spent dialing in control gains for all of the various PID loops and controls calculations (and there are quite a few for us).
- about 30 minutes spent running some simple autonomous scripts to verify the robot performance against the simulation.
- about 15 minutes spent writing and testing an autonomous script for use in the competition, which worked flawlessly the first time.

Summary:

During robot testing, we made ONLY two changes in the auton2010.vi:

1) Control gains
2) I removed a feature that I thought was a good idea, but decided it was ill-conceived.

Everything else regarding auton2010.vi was done in simulation. As it was in the past, it was a huge success again this year.
__________________
-
An ounce of perception is worth a pound of obscure.

Last edited by Chris Hibner : 22-02-2010 at 08:22.
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robot code simulation on Windows box with Windriver gwlund C/C++ 3 22-01-2010 01:19
paper: Set and display your Auto-Mode using LabVIEW and the Driver Station PhilBot Extra Discussion 0 11-02-2009 12:32
CODE: Using the gyro in autonomous Kingofl337 Programming 1 20-01-2008 19:11
Using the Robot Simulation Toolkit to simulate OI Controls JimGRobot LabView and Data Acquisition 1 17-03-2007 04:14
White Paper Discuss: Code and Walkthrough for Global Positioning System using IR Sensors CD47-Bot Extra Discussion 2 20-05-2004 21:22


All times are GMT -5. The time now is 03:54.

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