View Full Version : forum


Alex
Thu, 15 Nov 2007 13:56:00 GMT
General Coding issues

Hi Matt, im about to start designing the control software for my hexapod, im probably going to develop it in C/C++ on a PC, and I was wondering if you had any hints/ideas about how to start...im used to coding applications etc, have done a fair bit with databases and vision processing software but never lightweight, mathematically intense control software! I have a fairly nice SSC to work with, so just any ideas at all as where to start or anything that you might have had problems with would be much appreciated. Thanks, Alex.

mdenton
Thu, 15 Nov 2007 14:39:00 GMT
Re: General Coding issues

Hi Alex,

If you plan on porting your code to a microcontroller, I would suggest you write in ANSI C so porting your code should be easier. Try to use pointers instead of indexing within code loops for accessing arrays to speed things up when running code on lower power micros.

Matt.