You've downloaded my heart.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2005, 23:44
LBK Rules's Avatar
LBK Rules LBK Rules is offline
1467 '06 Alumni
AKA: Anthony Rinaldi
no team (HSRO)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Henrico, VA
Posts: 438
LBK Rules will become famous soon enoughLBK Rules will become famous soon enough
Getting Started with Scripting

How should our team get started using the scripting tools demonstrated at the Kickoff?

I have no idea what to do, or even what software to use. Is it the one at this website? http://kevin.org/frc/ And what do we need on our bot?

I'm lost.
__________________
Anthony Rinaldi
Team 1132: 2003
Team 1467: 2004 - 2006
  #2   Spotlight this post!  
Unread 15-01-2005, 01:19
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Getting Started with Scripting

LBK,

I would love to give you a definitive answer be I'm stuck in the same quandary.

There are a few sources of good code, most notably IFI and Kevin's websites. You will have to decide for yourself.

My quandary is if my team should include the DDT (Dynamic Debugger Tool) support in the latest IFI default code into our system this year (it limits some other options).

And I am most definitely undecided if this scripting is such a good idea. C is the most popular embedded language because it allows very precise control of your hardware while remaining readable (vice assembler).

Higher language constructs, which were developed with appropriate disciplines (EBNF, et cetera), can remain useful for embedded applications. However, one starts to lose control of the hardware.

At a high level of abstraction, you lose all touch and feel with the hardware.

Where am I going with this digression? You may be comfortable with a desktop application locking up or giving you a Blue Screen of Death but would be at your lawyer's office in an instant if the airbag micro controller in your car malfunctioned.

The scripted language presented thus far seems to be very implementation specific and may difficult to maintain in the future. I'm not sure if this is the direction we should be following.

It is late and I am rambling... Excuse me please...

Bottom line, your team is responsible for the code in your robot and my team is responsible for ours. We cannot make anyone a scapegoat if our code does not function at the competition. Each of us may reach different conclusions.

Once again, sorry for not having an answer for you... Download it all and start dissecting...

Take what you need and leave the rest...
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 15-01-2005, 01:28
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,189
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Getting Started with Scripting

Mike, I agree.

If the scripting was brought as far as a standalone GUI that would allow users to add function blocks or draw waypoints, then automatically write the code, it may be good.

But for this year, I think I am going to salvage the encoder loops, gyro code, and the PID from the FIRST supplied navigation code, and try to work it into the default code. If you havent noticed, the navigation codes' workspace is different from that of the usual default code, using robot_command() instead of default_routine(). I think it would be easier on my rookies to try and code in the default code, of which they know, rather than figuring out how the scripting works. It just seems like a waste of time with results that are very limited.

This is unless, of course, FIRST releases a new version of the code sometime soon.
Closed Thread


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
White Paper Discuss: Scripting v.1 CJO Extra Discussion 3 20-01-2005 10:43
Problems Getting Started etc. etc. Descartes FIRST Lego League 5 09-11-2004 07:32
Help needed for getting started! chantilly_team Programming 4 27-10-2004 08:29


All times are GMT -5. The time now is 02:47.

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