URBI
   HOME

TheInfoList



OR:

Urbi is an
open-source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
cross-platform In computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms. Some cross-platform software r ...
software platform in C++ used to develop applications for robotics and complex systems. Urbi is based on the UObject distributed C++ component architecture. It also includes the
urbiscript urbiscript is a programming language for robotics. It features syntactic support for concurrency and event-based programming. It is a prototype-based object-oriented scripting language. It is dynamic: name resolution is performed during the ...
orchestration Orchestration is the study or practice of writing music for an orchestra (or, more loosely, for any musical ensemble, such as a concert band) or of adapting music composed for another medium for an orchestra. Also called "instrumentation", orc ...
language which is a parallel and event-driven script language. UObject components can be plugged into urbiscript and appear as native objects that can be scripted to specify their interactions and data exchanges. UObjects can be linked to the urbiscript interpreter, or executed as autonomous processes in "remote" mode.


The urbiscript Language

The urbiscript language has been created in 2003 by
Jean-Christophe Baillie Jean-Christophe Baillie (; born 28 April 1974) is a French scientist and entrepreneur. He founded the ENSTA ParisTech Robotics Lab where he worked on developmental robotics and computational evolutionary linguistics. While at ENSTA, he designed th ...
in the Cognitive Robotics Lab of
ENSTA The ENSTA Paris, officially École nationale supérieure de techniques avancées ( en, Superior National School of Advanced Techniques) is a prestigious French graduate school of engineering ("''école d'ingénieurs''"). Founded in 1741, it is th ...
, Paris. It has been actively and further developed in the industry through the Gostai company founded in 2006. It is now an open source project, with a BSD license, available a

The urbiscript language can be best described as an orchestration script language: like Lua (programming language), Lua in video games, urbiscript can be used to glue together C++ components into a functional behavior, the CPU-intensive algorithmic part being left to C++ and the behavior scripting part being left to the script language which is more flexible, easy to maintain and allows dynamic interaction during program execution. As an orchestration language, urbiscript also brings some useful abstractions to the programmer by having parallelism and
event-based programming In computer programming, event-driven programming is a programming paradigm in which the Control flow, flow of the program is determined by event (computing), events such as user actions (computer mouse, mouse clicks, key presses), sensor outputs ...
as part of the language semantics. The scripting of parallel behaviors and reactions to events are core requirements of most robotic and complex AI applications, therefore urbiscript (and the whole Urbi platform) is well suited to these applications.


Language attributes

* Parallelism and event-based programming *
Prototype-based programming Prototype-based programming is a style of object-oriented programming in which behaviour reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. This model can also be known as ''prototypa ...
* C++ like syntax * Java/C++ based component architecture (UObject) with possibility to link objects or run them remotely * Client/Server based architecture * Cross platform: Linux, Mac, Windows and others. * Embeddable, Urbi can run on various processors: x86, ARM, mips, powerPC, etc. * Job control via "tags"


Functions

*
Parallel programming Parallel computing is a type of computation in which many calculations or processes are carried out simultaneously. Large problems can often be divided into smaller ones, which can then be solved at the same time. There are several different for ...
and
event programming Event may refer to: Gatherings of people * Ceremony, an event of ritual significance, performed on a special occasion * Convention (meeting), a gathering of individuals engaged in some common interest * Event management, the organization of e ...
* Programming prototypes * Syntax similar to
C++ C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
* Architecture components: C++ / Java (UObject) with the ability to link
object Object may refer to: General meanings * Object (philosophy), a thing, being, or concept ** Object (abstract), an object which does not exist at any particular time or place ** Physical object, an identifiable collection of matter * Goal, an ...
or execute remotely * Client-Server * Interfaces with customers
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
and
Matlab MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation ...
(Urbi SDK) * Multiple platforms:
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which ...
,
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
,
Windows NT Windows NT is a proprietary graphical operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems sc ...
, and embedded environments (
x86 x86 (also known as 80x86 or the 8086 family) is a family of complex instruction set computer (CISC) instruction set architectures initially developed by Intel based on the Intel 8086 microprocessor and its 8088 variant. The 8086 was introd ...
,
ARM In human anatomy, the arm refers to the upper limb in common usage, although academically the term specifically means the upper arm between the glenohumeral joint (shoulder joint) and the elbow joint. The distal part of the upper limb between th ...
, MIPS,
powerPC PowerPC (with the backronym Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a reduced instruction set computer (RISC) instruction set architecture (ISA) created by the 1991 Apple Inc., App ...
) * Marking orders for their control so asynchronous * Integration of ROS directly accessible from urbiscript (version 2.1)


Examples

The example below shows how to write a ball tracking action/perception loop in urbiscript: are two motor objects, and ball is the ball detection object (x and y range from -1/2 to 1/2): whenever (ball.visible) ; ''whenever'' is used to trigger a piece of code in loops as long as the associated condition is true. The "&" sign is used to specify that both commands should start at the same time, thus running in parallel. Other notable event-driven constructs include ''at'', which triggers the associated code once when the event is triggered: at (speech.hear?("hello")) Every command or group of commands is taggable, which provides a way to stop it later if needed: myTag: while (true) echo("This is a never ending loop"), at (button.pressed) myTag.stop; Note in the example above the comma at the end of the command. It will put the preceding command in the background, allowing the flow execution to carry on, in particular the next 'at' command to be executed.


UObject component architecture

The UObject component architecture allows developers to interface any Java/C++ object within Urbi, making selected methods and attributes visible in urbiscript, while in fact being compiled code. Special notifiers can be set on any of the object's attributes to notify the C++ side of any change on these attributes on the urbiscript/Urbi side. UObject uses C++ templates to transparently map any requested method to an interface machinery that takes care of the type checking. A UObject can be used in plugged mode if it is directly linked to Urbi at compile time or with dynamic loading. In that case, the C++ object shares the Urbi memory directly, resulting in efficient integration. This is typically used for time critical components like motor or sensor drivers. The same UObject can also be used without modifications as a remote component. In that case, it will become an autonomous program to be executed with the IP address of the Urbi server as a parameter. In both cases, the object will transparently appear in urbiscript as a native urbiscript object.


Ecosystem


Robotics simulators compatible with Urbi

*
Webots Webots is a free and open-source 3D robot simulator used in industry, education and research. The Webots project started in 1996, initially developed by Dr. Olivier Michel at the Swiss Federal Institute of Technology ( EPFL) in Lausanne, Switzer ...
is the official robot simulator compatible with Urbi. * Player/Stage integration has been reported, although it is not currently released.


"Urbi-fied" robots

Released: * Gostai Open Jazz. *
Segway The Segway is a two-wheeled, self-balancing personal transporter invented by Dean Kamen and brought to market in 2001 as the Segway HT, subsequently as the Segway PT, and manufactured by Segway Inc. ''HT'' is an initialism for "human transp ...
*
Aibo AIBO (''stylized aibo, Artificial Intelligence Robot'', homonymous with , "pal" or "partner" in Japanese) is a series of robotic dogs designed and manufactured by Sony. Sony announced a prototype Aibo in mid-1998, and the first consumer model wa ...
ERS-7/ERS-2xx (Urbi 1.x only, Urbi 2.3 is available as alpha) *
iRobot Create iRobot Create is a hobbyist robot manufactured by iRobot that was introduced in 2007 and based on their Roomba vacuum cleaning platform. The iRobot Create is explicitly designed for robotics development and improves the experience beyond simply ...
*
Lego Mindstorms NXT Lego Mindstorms NXT is a programmable robotics kit released by Lego on August 2, 2006. It replaced the first-generation Lego Mindstorms kit, which was called the Lego Mindstorms#Robotics Invention System, Robotics Invention System. The base ki ...
*
HRP-2 The Humanoid Robotics Project (HRP) is a project for development of general domestic helper robots, sponsored by Japan's Ministry of Economy, Trade and Industry (METI) and New Energy and Industrial Technology Development Organization (NEDO), spearh ...
(restricted release to members of JRL) * Nao. *
Robotis Bioloid The ROBOTIS BIOLOID is a hobbyist and educational robot kit produced by the Korean robot manufacturer ROBOTIS. The BIOLOID platform consists of components and small, modular servomechanisms called the AX-12A Dynamixels, which can be used in a d ...
. * Mobile Robots Pioneer. Announced: * Surveyor * Khepera III * e-puck


See also

*
Robotics suite A robotics suite is a visual environment for robot control and simulation. They are typically an end-to-end platform for robotics development and include tools for visual programming and creating and debugging robot applications. Developers can of ...
*
Player Project The Player Project (formerly the Player/Stage Project) is a project to create free software for research into robotics and sensor systems. Its components include the ''Player'' network server and the ''Stage'' robot platform simulators. Although ...
-
open-source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
robot interface in research and post-secondary education *
ROS (Robot Operating System) Robot Operating System (ROS or ros) is an open-source robotics middleware suite. Although ROS is not an operating system (OS) but a set of software frameworks for robot software development, it provides services designed for a heterogeneous com ...


References

{{Reflist


External links


Github repository

Urbi Online documentation
* Wong, William
"Gostai Urbi"
"Electronic Design", August 5, 2010. * McCafferty, Billy
"Q&A of Urbi, a robot OS"
"Sharprobotica", July 16, 2010. * Blankenhorn, Dana
"I, open source robot"
"ZDNet", August 20, 2010. Integrated development environments Robotics suites 2003 software 2003 in robotics