NXJ Operating System

Post your NXJ projects, project ideas, etc here!

Moderators: 99jonathan, roger, imaqine

NXJ Operating System

Postby esmetaman » Mon Nov 26, 2007 10:05 pm

Hi, StartUp Menu is our interface with NXJ VM. I have several ideas to evolve this interface:

+ Option to format NXT file system
+ Option to launch a program when NXT brick starts. The main purpose of NXT is to execute a NXJ program to control a robot then is a good idea to jump standard menu
+ Recode Start up menu using LCDUI library
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby lawrie » Mon Nov 26, 2007 11:59 pm

I have added format to the SVN version - it will be in the next release.

I like the idea of selecting a program to start automatically when leJOS starts up but I am not sure how it would work. It needs a way to set a program as the startup program, to cancel the startup program so the menu starts instead, and to force a return to the menu. Have you got a suggestion on how this would work?

It is ourintention to write a graphics startup menu, but no one has attempted this yet. One problem is that leJOS currently only has 32kb allocated to the startup menu and one based on LCDUI will probably be bigger. It cannot be much bigger or we will run out of RAM.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm

Postby esmetaman » Tue Nov 27, 2007 5:38 pm

Yes I have ideas.

This weekened I am going to build a NXJ OS prototype with Power Point and I will post in this forum thread.

Un abrazo
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby esmetaman » Tue Nov 27, 2007 6:01 pm

Sorry Lawrie, I have a new idea:

It is neccesary a option in NXJ OS to start when NXT brick has energy. For example: Imagine a solar bot that it has energy when it has sun. It is neccesary to implement this behavior.

I took the idea in this URL: http://home.earthlink.net/~stuff.tm/solarlego/

Is it possible?

Un abrazo
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby esmetaman » Sun Dec 02, 2007 7:48 pm

Hi lawrie I have created a doc about NXJ OS: http://www.juanantonio.info/p_articles/ ... NXJ_OS.pdf
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby lawrie » Mon Dec 03, 2007 10:24 pm

(1) and (4) are already in the development version in Subversion and will be in the next release.

I will look at (2). I need to check that I can detect two keys held down during startup. It would need to be ENTER + LEFT (or RIGHT). This can probably be done and would be very useful.

(3) needs a hardware solution like the site you referred to. The solar panel circuitry would need to make a connection to the NXT ENTER button to start it up. If you wanted a real suspend and resume at the point the program stopped, it would be technically possible to monitor the battery level and dump the RAM contents to flash and shutdown when the battery got low. Then it could detect that this had happened on startup, and restore the memory. However, this would be difficult and probably not very useful.

We will do (5) when we do a graphics version of the menu (StartUpGraphics). Currently you can set the name from nxjbrowse or write a utility program to do it. I did write one and could make it one of the samples.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm

Postby esmetaman » Mon Dec 03, 2007 11:08 pm

If you like, I could develop StartUpMenu using LCDUI.

How long to launch a new release?

I have thougth that I am going to develop a NXT Comm version using this idea:

Master NXT brick send a command to slaves NXT bricks (How many NXT bricks supports in a one to one communications?) Master send a command, slave receives commands and send to master a OK to master. master receives OK and process the response.

I will use a listener thread. when slave NXT brick receives a command, then slave NXT brick process and continue waiting.

this ideas is based on WII emulation with NXT brick

thanks
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby PatrickLismore » Thu Jan 31, 2008 8:39 pm

Good ideas esmetaman
User avatar
PatrickLismore
Active User
 
Posts: 81
Joined: Tue Oct 16, 2007 7:28 pm
Location: Prague


Return to NXJ Projects

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

more stuff