Go to Post My lasting impression of 217 (for years now) has been based on how their robot looks, dynamically. It is poultry in motion. :) - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 22-12-2010, 17:45
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: Team 166 Programming Workshop - BETA Open House

Thanks for pointing that out. It should be fixed now.

Its nice to know that someone is looking at it.
__________________

Reply With Quote
  #17   Spotlight this post!  
Unread 22-12-2010, 18:42
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Team 166 Programming Workshop - BETA Open House

Wow, that framework looks extremely useful. Just checking that is something that any team can use within liscensing and FRC rules correct? Also noobish question how would I go about linking in that library to another project or would I just open framework as a project(as I believe it is so, I don't have windriver yet though but the unix hidden files indicate so) and edit the Autonomous.cpp and Robot.cpp and their respective.h files and upload that?

Thanks, I know that was a bit convoluted
Oliver
Reply With Quote
  #18   Spotlight this post!  
Unread 22-12-2010, 20:59
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: Team 166 Programming Workshop - BETA Open House

Quote:
Originally Posted by linuxboy View Post
Wow, that framework looks extremely useful. Just checking that is something that any team can use within liscensing and FRC rules correct?
Yes, any team can use it, within the rules. I just checked, and <R67> from last year states "For the purposes of the FRC, generally available software modules obtained from open sources (e.g. professional publications, commonly used FRC community-accessible web resources, industry source code repositories, etc.) that are not specifically affiliated with individual FRC teams shall be considered COTS items, and may be used." Since it was published on Googlecode, which isn't affiliated with any team, and it was posted here, it's safe to use.
Quote:
Originally Posted by linuxboy View Post
Also noobish question how would I go about linking in that library to another project or would I just open framework as a project(as I believe it is so, I don't have windriver yet though but the unix hidden files indicate so) and edit the Autonomous.cpp and Robot.cpp and their respective.h files and upload that?

Thanks, I know that was a bit convoluted
Oliver
It's not a noobish question at all. The way the framework is designed, you download the .zip and open it as a project. We should probably write this in a readme or similar, but you actually don't need to edit Robot.* at all.
The only files you need to change are:
  • Autonomous.cpp
  • Autonomous.h
  • Defines.h
  • Includes.h
  • Tasks.h
  • TaskTemplate.cpp
  • TaskTemplate.h
The template file is the bare-bones implementation of a Framework task. Most, if not all, of the places you might need to change are marked with this comment:
Code:
// <<CHANGEME>>
You know, I'm going to go make a sample Task that does something really simple, just to give an example.

EDIT: Alright, I attached a sample task. This logs the x, y, and z axes of the first joystick, as well as demonstrates proxy::add, proxy::get, and proxy::set
Attached Files
File Type: zip SampleTask.zip (2.5 KB, 3 views)
__________________


GSR Dean's List Finalist 2011

Last edited by demosthenes2k8 : 22-12-2010 at 21:28.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team 166 BETA Open House - Workshop elfinn FRC Control System 0 30-11-2010 18:38
FIRST Beta Test Open House in Nashua, NH Mr_I General Forum 4 22-11-2009 10:28
12VoltBolt(1557)programming open-house gorrilla Programming 0 14-11-2009 14:03
Team 79 Beta Open House Jacob Paikoff Off-Season Events 1 20-11-2008 15:44


All times are GMT -5. The time now is 12:34.

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