Go to Post Winning is important. Learning is important. Inspiring students is important. Teaching Students is important. Figuring out how to do all of these at the same time, in my opinion, is the meaning of FIRST. - Justin Montois [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
  #1   Spotlight this post!  
Unread 23-01-2015, 09:12
dcherba dcherba is offline
Registered User
FRC #3234 (Red Arrow Robotics)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2000
Location: ada, mi
Posts: 32
dcherba has a spectacular aura aboutdcherba has a spectacular aura aboutdcherba has a spectacular aura about
Angry C++ iterative programming

We have used the iterative programming style for several years with good success. We have been unable to get a simple iterative program to run on this years controller. Simple Joystick and arcade drive. Program compiles and loads but then shows no robot code. Does anyone have an example of iterative that loads and runs in the current system? Also the template does not have a constructor or de-structor class when loaded so wondering how people are dealing with creating instances of classes.
__________________
Dave Cherba
Mentor Team 3234
WZ8T
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2015, 09:19
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: C++ iterative programming

Quote:
Originally Posted by dcherba View Post
We have been unable to get a simple iterative program to run on this years controller.
Post your code here so we can take a look.
Have you watched the output (Riolog) while it starts up? Code may be crashing, and it will sometimes give helpful info.

Quote:
Originally Posted by dcherba View Post
Also the template does not have a constructor or de-structor class when loaded so wondering how people are dealing with creating instances of classes.
I don't ever remember having a constructor for an iterative robot. Things I would normally put in a constructor get put in RobotInit().
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 12:00.

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