BrickOS

Last updated
BrickOS
Developer Markus Noga
OS family Embedded operating systems
Working stateCurrent
Source model Open source
Platforms Lego Mindstorms RCX Controller
Official website brickos.sourceforge.net

BrickOS is an open-source operating system created by Markus Noga as firmware to operate as an alternative software environment for the Lego Mindstorms Robotic Invention System. [1] BrickOS is the first open-source software made for Lego Mindstorms robots. It allows development using the C, C++, and Java programming languages. Programs are cross compiled using the g++ and Jack compilers, with the toolchain targeting the Hitachi H8 architecture used in Mindstorms devices.

Contents

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. [2] The current version of the system's main features includes: [2]

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. [3] 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.

Application

Robotics

The implementation of robots has become a crucial asset in this current industrial world. In robotics, libre software (or open-source software) like brickOS is considered a traditional tool for developing robots. [4] The potential robotic application, in general, is vast. For instance, many enterprises have decided to bring robotics into use to replace human labor in factories for manufacturing products and managing storage. The essential of these applications has become a motivation for industries to invest in further research in robotics. The practices of the open-source software in robotic research have inspired the formation of the Robocup competition. An organization called Robocup have created an international playground for the problem-solving, educational initiative, and research in robotics. Participants are allowed to share code and utilize it to solve problems. The competitive environment allows for multiple different engagements toward the problems and effectively produces alternative solutions to a single problem. These solutions can be made public to the community for improving the resource.

Education

BrickOS was a collaboration project between LEGO and MIT to create an educational tool for teaching the implementation of sensors and motors on robots. The operating system's development environment has been adopted in courses by several universities like Universidade Federal do Amazonas (UFA) in Brazil to be used as a platform for graduating college students to gain exposure in the early year of their career to programming C and C++ cross-compilation tools. The simplicity of the mechanical devices in the Lego Mindstorm kit allows for obtaining the concept of robots and developing creative and logical thinking. There exists empirical evaluation on the benefits of robotic learning that it enhanced pupil's ability in planning toward the objective and collaborations among peers.

See also

Related Research Articles

An integrated development environment (IDE) is a software application that provides comprehensive facilities for software development. An IDE normally consists of at least a source-code editor, build automation tools, and a debugger. Some IDEs, such as IntelliJ IDEA, Eclipse and Lazarus contain the necessary compiler, interpreter or both; others, such as SharpDevelop and NetBeans, do not.

<span class="mw-page-title-main">Lego Mindstorms</span> Hardware and software platform by Lego

Lego Mindstorms is a discontinued hardware and software structure which develops programmable robots based on Lego bricks.

leJOS is a firmware replacement for Lego Mindstorms programmable bricks. Different variants of the software support the original Robotics Invention System, the NXT, and the EV3. It includes a Java virtual machine, which allows Lego Mindstorms robots to be programmed in the Java programming language. It also includes 'iCommand.jar' which allows you to communicate via bluetooth with the original firmware of the Mindstorm. It is often used for teaching Java to first-year computer science students. The leJOS-based robot Jitter flew around on the International Space Station in December 2001.

Not Quite C (NQC) is a programming language, application programming interface (API), and native bytecode compiler toolkit for the Lego Mindstorms, Cybermaster and LEGO Spybotics systems. It is based primarily on the C language but has specific limitations, such as the maximum number of subroutines and variables allowed, which differ depending on the version of firmware the RCX has. The language was invented by David Baum. He has released two books on the subject.

Lego Spybotics was a Mindstorms robotics sub-series by Lego. There are four different sets, each of which includes a Spybot, a controller, a cable, and a software disc. The Spybots are color-coded, and each one has a different set of equipment attached. The software disc allows the user to program the robots and set up simulated missions for them.

<span class="mw-page-title-main">Qfix robot kit</span>

Qfix robot kits are an education tool for teaching robotics. They are used in schools, high schools and mechatronics training in companies. The robot kits are also used by hobby robot builders. The qfix kits are often found in the RoboCup Junior competition where soccer robots are built of the kit's components.

MicroWorlds is a family of computer programs developed by Logo Computer Systems Inc. (LCSI) that uses the Logo programming language and a turtle-shaped object to teach language, mathematics, programming, and robotics concepts in primary and secondary education. The program was part of a larger set of dialects and implementations created by Seymour Papert aimed at triggering the development of abstract ideas by children through experimentation.

Interactive C is a program which uses a modified version of ANSI C with several libraries and features that allow hobbyists to program small robotics platforms.

<span class="mw-page-title-main">Lego Mindstorms NXT</span> Programmable robotics kit

Lego Mindstorms NXT is a programmable robotics kit released by Lego on August 2, 2006. It replaced the Robotics Invention System, the first-generation Lego Mindstorms kit. The base kit ships in two versions: the retail version and the education base set. It comes with the NXT-G programming software or the optional LabVIEW for Lego Mindstorms. A variety of unofficial languages exist, such as NXC, NBC, leJOS NXJ, and RobotC. A second-generation set, Lego Mindstorms NXT 2.0, was released on August 1, 2009, with a color sensor and other upgrades. The third-generation EV3 was released in September 2013.

<span class="mw-page-title-main">Webots</span> Open-source robot simulator

Webots is a free and open-source 3D robot simulator used in industry, education and research.

DialogOS is a graphical programming environment to design computer system which can converse through voice with the user. Dialogs are clicked together in a Flowchart. DialogOS includes bindings to control Lego Mindstorms robots by voice and has bindings to SQL databases, as well as a generic plugin architecture to integrate with other types of backends.

Lego Education is a Lego theme designed specifically for schools that concentrates sets that can be used by education institutions and includes sets that focus on Duplo and Technic themes and contain larger amounts of pieces. The theme was first introduced in 1999.

The World Robot Olympiad (WRO) is a global robotics competition for young people. The World Robot Olympiad competition uses Lego Mindstorms manufactured by LEGO Education. First held in 2004 in Singapore, it now attracts more than 28,000 teams from more than 85 countries.

<span class="mw-page-title-main">For Inspiration and Recognition of Science and Technology</span> Engineering societies based in the United States

For Inspiration and Recognition of Science and Technology (FIRST) is an international youth organization that operates the FIRST Robotics Competition, FIRST LEGO League Challenge, FIRST LEGO League Explore, FIRST LEGO League Discover, and FIRST Tech Challenge competitions. Founded by Dean Kamen and Woodie Flowers in 1989, its expressed goal is to develop ways to inspire students in engineering and technology fields. Its philosophy is expressed by the organization as Coopertition and Gracious Professionalism. FIRST also operates FIRST Place, a research facility at FIRST Headquarters in Manchester, New Hampshire, where it holds educational programs and day camps for students and teachers.

Dexter Industries is a company that designs robots for education, research, and personal use. The company makes several products that expand the LEGO Mindstorms, Raspberry Pi, and Arduino prototype systems.

<span class="mw-page-title-main">Tetrix Robotics Kit</span>

TETRIX Robotics consists of two robotic kits by Pitsco Education. The two sets are the TETRIX MAX building system and the TETRIX PRIME building system. They are intended to be used as educational robotics and for competitions such as the FIRST Tech Challenge.

<span class="mw-page-title-main">Lego Mindstorms EV3</span>

LEGO Mindstorms EV3 is the third generation robotics kit in LEGO's Mindstorms line. It is the successor to the second generation LEGO Mindstorms NXT kit. The "EV" designation refers to the "evolution" of the Mindstorms product line. "3" refers to the fact that it is the third generation of computer modules - first was the RCX and the second is the NXT. It was officially announced on January 4, 2013, and was released in stores on September 1, 2013. The education edition was released on August 1, 2013. There are many competitions using this set, including the FIRST LEGO League Challenge and the World Robot Olympiad, sponsored by LEGO.

Open Roberta is a project within the German education initiative "Roberta – Learning with robots", initiated by Fraunhofer IAIS, which is an institute belonging to the Fraunhofer Society. With Open Roberta Fraunhofer IAIS is looking to encourage children to code by using robots such as Lego Mindstorms, and other programmable hardware systems such as Arduino, BBC micro:bit, and the Calliope mini. The Cloud-approach of the Open Roberta Lab is intended to simplify programming concepts and make it easier for teachers and schools to teach how to code. Open Roberta is free and does not require any installation. The project was initially founded with €1m by Google.org. Users from up to 120 countries now access the platform.

References

  1. "Welcome to the brickOS™ home page!". Archived from the original on 2024-01-23. Retrieved 2024-01-23.
  2. 1 2 Delman, Amy; Goetz, Lawrence; Langsam, Yedidyah; Raphan, Theodore. "Development of a System for Teaching C/C++ Using Robots and Open-Source Software in a CS1 Course". ReasearchGate. Archived from the original on 2024-01-23. Retrieved 2024-01-23.
  3. Dasa Harish Babu, Vishnu; Boyuka, David. "Object Transportation System Using LEGO Mindstorms RCX" (PDF). Retrieved 2024-01-23.
  4. Barrera, Pablo; Robles, Gregorio; Cañas Plaza, José María; Martín, Francisco; Matellán, Vicente. "Impact of Libre Software Tools and Methods in the Robotics Field". ResearchGate. Archived from the original on 2024-01-23. Retrieved 2024-01-23.