Lably
Skip to content

BrickOS

Operating system

  • 3 min read
  • 2 chapters

Related on Lably

Through Open-source software, Java (programming language) and Bytecode

Features

BrickOS was designed and developed using Linux as a replacement for the previous operating system for Lego Mindstorms, which is also known as LegOS. It is capable of being implemented on the Windows system and most Unices. It allows for a more flexible and higher performances system that is much superior to LegOS. The current version of the system's main features includes:

Whereas LegOS uses interpreted bytecode, BrickOS programs are compiled to native machine code, and so execute much more quickly.

BrickOS is flexible with controlling outputs, for instance, it can alter 255 value of motor speed. Another feature is that brickOS contains a LegOS Network Protocol (LNP) which allows for more than one driver to communicate. This protocol will broadcast message to any RCXs component within the receiving area. By adding layers to the command, the message can filter out the recipient to arrive at the addressed RCX.

BrickOS provides a development environment that allows users to freely implement the provided RCX drivers, such as sensors and motors, using C or C++ programming languages. It can be used alongside libre simulators LegoSim and Emmulegos, which provide graphical interfaces to create a virtual machine that eases the users in the debugging process.

The success of the system is built upon the community that constructed it. The system library and resources at any moment can be modified and updated freely with new functionalities and solutions from the programming community, separating the system from the limited tools provided by the manufacturer. With the help of the Internet, solutions are made accessible to everyone.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication