View unanswered posts | View active topics It is currently Fri Apr 18, 2014 9:49 am






Reply to topic  [ 3 posts ] 
Nxt flash memory 
Author Message
Rookie

Joined: Tue Jul 03, 2012 5:16 am
Posts: 43
Post Nxt flash memory
I have a program that works for a couple of weeks and then that same program suddenly stops functioning properly. I have "solved" the issue before but did not know what the cause was. I am working on a PID line follower using raw colour sensor data of two sensors. This program was working extremely well but suddenly, the robot started suddenly stopping and going forward in the program. After debugging it, i found that the program was still working and the motor power variables were still being calculated and were changing. Yet, the motors were not working. This is not making any sense to me. Could this be because of the large amount of variables I have in the program (the program is also made for other purposes)? Could the declaration of variables in the form "type var = value" be insufficient?

thanks


Sun Aug 26, 2012 5:32 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3105
Location: Rotterdam, The Netherlands
Post Re: Nxt flash memory
Without actually seeing the program, it is hard to say what could be the cause. The program will simply fail to compile if you're exceeding the memory space of the NXT.

I am pretty sure the cause lies elsewhere.

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Aug 26, 2012 5:43 am
Profile WWW
Rookie

Joined: Tue Jul 03, 2012 5:16 am
Posts: 43
Post Re: Nxt flash memory
thanks. That is a possibility.


Fri Sep 14, 2012 5:20 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.