![]() |
|
#1
|
|||
|
|||
|
I accidently closed a program without saving, i downloaded it onto the NXT first though. How do i get it back on the computer so i can edit/add more stuff to the program.
|
|
#2
|
|||
|
|||
|
Ouch. I've done that too. Unfortunately, you can't retrieve an NXT-G program once it's been compiled and downloaded to the brick controller.
__________________
Cheers! got robot? -- FLL Team 247 2008-2009 A Great Rookie Year! |
|
#3
|
|||
|
|||
|
Argh! Well, how do i auto-start a new program after a program is finished then ?
|
|
#4
|
|||
|
|||
|
You can't. But you can make MyBlocks out of all your mission programs and call them from within a master program. A fancy master program can even support skipping and re-running missions.
|
|
#5
|
|||
|
|||
|
How ? Is there an tutorial for this or something
|
|
#6
|
|||
|
|||
|
No tutorial for a master scheduler program. The NXT kit has plenty of documentation on how to make MyBlocks.
The very simplest master program is one that has a MyBlock for each mission with a wait for button press between each one. Start the program and it runs the first mission. When the mission is done it waits until you press a button and then the second mission runs, and so on. Though that is very easy to program it is not very friendly. What if you want to re-run a mission? What if you need to stop the program? There is no easy way to recover. So teams write more complicated programs that might display a list of missions that they can select from using the arrow buttons. When they press the orange button it runs the MyBlock associated with the selected mission. A lot of teams will auto-increment the mission selection so all they have to do is press the orange button. This kind of programming is much more sophisticated and difficult than the string of MOVE commands many teams pass off as programs. But with the difficulty comes great reward. You save a ton of time selecting missions. You have some real programming to show to the technical judges, and you learn a lot more than you do just writing missions. |
|
#7
|
|||
|
|||
|
The thing is, how do i make a myblock out of something on the NXT ?
|
|
#8
|
|||
|
|||
|
Quote:
The program on the NXT is a lost cause. You can't add to it, link it to another program, back load it to a PC ... Bite the bullet and re-write the program. You've just learned the first lesson of programming. Save your work often.
__________________
Jim Sluka Coach 2001 - 2009 Center Grove Middle School Central Greenwood, Indiana USA |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3rd Party Program | jeremy.moritz | Robot Programming | 8 | 11-04-2009 04:57 PM |
| Teaching Students How to Program | liwalson | Curriculum & Afterschool Activities | 9 | 11-03-2009 10:39 PM |
| Resuming program while not in base | Boardergrl | Rules & Missions | 4 | 11-03-2009 01:38 PM |
| Connections to My Blocks?? | Coach Tron | Robot Programming | 11 | 10-28-2009 05:03 PM |