Society of Robots - Robot Forum

Software => Software => Topic started by: wolffan on March 03, 2009, 10:11:57 AM

Title: wavefront algorithm on iRobot Create
Post by: wolffan on March 03, 2009, 10:11:57 AM
I am trying to implement the wavefront algorithm (written by the admin of this site) onto my iRobot Create.  The admin wrote the code for his iRobot Create, so I don't think I should have too much trouble.  However, when I compile the code it comes to 16,000+ bytes, but I think I am only allowed ~14,000 bytes on the SRAM.    Has anybody run into this same problem?

Thanks,
-Andy
Title: Re: wavefront algorithm on iRobot Create
Post by: Admin on March 15, 2009, 09:14:52 AM
I am trying to implement the wavefront algorithm (written by the admin of this site) onto my iRobot Create.  The admin wrote the code for his iRobot Create, so I don't think I should have too much trouble.  However, when I compile the code it comes to 16,000+ bytes, but I think I am only allowed ~14,000 bytes on the SRAM.    Has anybody run into this same problem?
Actually you are only allowed I think 4kb RAM on the ATmega168 . . . but that's not a problem because this is ROM you see, not RAM ;D

(AVR Studio is smart, it'll give you an error if you run out of memory)