![]() |
|
#31
|
|||
|
|||
|
Our sequencer program this year is currently at 30 KB. I think it was larger than that last year, but I'm not sure. It looks like a big chunk of the memory on our NXT is being occupied by sound files used to "improve" the audio feedback for the person running the sequencer program...
|
|
#32
|
|||
|
|||
|
Quote:
This also means we need to keep searching where the problem comes from, at least if my team wants to use the "Menu" program.
__________________
Claus, Coach "It Should Have Worked", San Bruno 4-H |
|
#33
|
|||
|
|||
|
Quote:
|
|
#34
|
|||
|
|||
|
Hi,
Our team had a master program with 6 embedded mission programs, compiled it was around 59K and it ran fine. But if they tried to add or change blocks where the size went above 60K we could no longer compile it in NXT-G. Our solutions was similar to others here - we had 2 separate master programs, one with 4 missions and the other with 2 missions. Total space was higher, but it fit all mission on the NXT FLASH memory. We do have problems with back-2-back missions having motor rotaion problems, but we learned recently about the rotational error-correction managed by Move blocks and how can use the Motor Reset block to clear those. But we haven't verified yet that it solved our problems yet.
__________________
David C. Sastry ![]() Head Coach FLL Team #2812 - Folsom DYNObytes FLL Team #2814 - Mighty LEGO League |
|
#35
|
|||
|
|||
|
Quote:
Code:
cmd pos Start 0 0 Move 90 90 90 Move 180 270 270 Move -300 -30 -30 Reset 0 0 Move 90 90 90 Code:
cmd pos Start 0 0 Manual 45 0 45 Move 90 90 90 Lets say the first command in the mission drives the robot straight ahead 10". You run the program alone and the first move drives the robot out 10". You put the program in your fancy sequencer and test. Setting up for the mission you position the robot 1" from the wall and slide it backward till it touches. You press a button to start the mission and the robot drives out 11" instead of 10". What the heck? You test again. This time during setup you push the robot forward 2", pick it up and set it against the wall. You press a button to start the mission and the first move only goes 8". You test and test and the results are different all the time. For a really big surprise roll the robot forward 10" or more before starting and the program appears to entirely skip the first move. I think this is what's happening when teams report a program is skipping some of the move blocks. Reset is a very important, very underutilized block. Last edited by Dean Hystad; 12-27-2011 at 06:15 PM. |
|
#36
|
|||
|
|||
|
Excellent post and it belongs to a special category for those that should be kept and made available every season.
|
![]() |
| Tags |
| compiler error |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|