Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   C++ iterative programming (http://www.chiefdelphi.com/forums/showthread.php?t=133376)

dcherba 23-01-2015 09:12

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.

Jefferson 23-01-2015 09:19

Re: C++ iterative programming
 
Quote:

Originally Posted by dcherba (Post 1432602)
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 (Post 1432602)
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().


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi