Getting Started with Webots

Total Page:16

File Type:pdf, Size:1020Kb

Getting Started with Webots Getting Started with Webots Webots? • Webots is a professional mobile robot simulation software package. • Offers a rapid prototyping environment, that allows the user to crea te 3D virtual worlds with physics properties such as mass, joints, fricti on coefficients, etc. • User can add simple passive objects or active objects called mobile r obots. They may be equipped with a number of sensor and actuat or devices, such as distance sensors, drive wheels, cameras, servos, touch sensors, emitters, receivers, etc. • Finally, the user can program each robot individually to exhibit th e desired behavior. Webots contains a large number of robot models and controller program examples to help users get started. 1 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 2 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 3 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 4 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 5 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 6 16 S FT COMPUTING @ YONSEI UNIV . KOREA Features 7 16 S FT COMPUTING @ YONSEI UNIV . KOREA What can I do with Webots? • Mobile robot prototyping – academic research, the automotive industry, aeronautics, the vacuum cle aner industry, the toy industry, hobbyists, etc. • Robot locomotion research – Legged, humanoids, quadrupeds robots, etc. • Multi-agent research – swarm intelligence, collaborative mobile robots groups, etc. • Adaptive behavior research – genetic algorithm, neural networks, AI, etc. • Teaching robotics – Robotics lectures, C/C++/Java/Python programming lectures, etc. • Robot contests – e.g. www.robotstadium.org1 or www.ratslife.org2 8 16 S FT COMPUTING @ YONSEI UNIV . KOREA What do I need to know to use Webots? • A minimal amount of technical knowledge is Needed • A basic knowledge of the C, C++, Java, Python, Matlab or URBI progr amming language is necessary. (Just Single language) 9 16 S FT COMPUTING @ YONSEI UNIV . KOREA Simulation • A Webots simulation is composed of following items: 1. A Webots world file (.wbt) that defines one or several robots and their en vironment. The .wbt file does sometime depend on external prototypes fi les (.proto) and textures. 2. One or several controller programs for the above robots(in C/C++/Java/ Python/Matlab/URBI). 3. An optional physics plugin that can be used to modify Webots regular ph ysics behavior (in C/C++). 10 16 S FT COMPUTING @ YONSEI UNIV . KOREA What is World? • A 3D description of the properties of robots and of their environment. – Organized as hierarchical structures – Position, orientation, geometry, appearance (like color or brightness), physical properties, type of object, etc • A world file doesn’t contain the con- troller code of the robots; it only sp- ecifies the name of the controller that is required for each robot. • Worlds are saved in .wbt files. The .wbt files are stored in the worlds s ubdirectory of each Webots project. Scene tree 11 16 S FT COMPUTING @ YONSEI UNIV . KOREA What is Controller? • Controls a robot specified in a world file. Controllers can be written in any of the programming languages supported by Webots – C, C++, Java, URBI, Python or MATLABTM • When simulation starts, the specifie d controllers launched, each as a se parate process, it associates the con troller processes with the simulated robots. -Note that several robots can use the same controller code, however a distin ct process will be launched for each robot. Control window 12 16 S FT COMPUTING @ YONSEI UNIV . KOREA What is Supervisor? (Only in Professional ver.) • A privileged type of Robot – can execute operations that can normally only be carried out by a human operator and not by a real robot. • The Supervisor is normally associated with a controller program that c an also be written in any of the above mentioned programming langua ges. • In contrast with a regular Robot controller, the Supervisor controller wi ll have access to privileged operations. The privileged operations incl ude simulation control, for example, moving the robots to a random po sition, making a video capture of the simulation, etc. 13 16 S FT COMPUTING @ YONSEI UNIV . KOREA Webots installation Download the Webots. And Run. http://www.cyberbotics.com/windows 14 16 S FT COMPUTING @ YONSEI UNIV . KOREA How to run the Webots in Matlab? • On Windows, Webots comes only in 32-bit flavour and therefore it can only inter-operate with a 32 bit version of MATLAB. (!!!!!!!) • However, On Mac OS X, there is only one version of Webots but that version is compatible with both 32-bit and 64-bit installations of MATL AB. 윈도우에서 64bit은 안됩니다. 절대! 15 16 S FT COMPUTING @ YONSEI UNIV . KOREA How to run the Webots in Matlab? At first, Run CMD. 16 16 S FT COMPUTING @ YONSEI UNIV . KOREA How to run the Webots in Matlab? Type Path=C:\Program Files (x86)\MATLAB\R2010a\bin 17 16 S FT COMPUTING @ YONSEI UNIV . KOREA How to run the Webots in Matlab? • Open the world file – c:\program files (x64)\webots\projects/languages/matlab/worlds/ e-puck_ matlab.wbt or – the world file c:\program files (x64)\webotsprojects/contests/nao_robocup/ worlds/nao2_matlab.wbt Open this file and wait until webots & matlab opens. 18 16 S FT COMPUTING @ YONSEI UNIV . KOREA How to run the Webots in Matlab? Well done. 19 16 S FT COMPUTING @ YONSEI UNIV . KOREA Webots guided tour – Control Nao 20 16 S FT COMPUTING @ YONSEI UNIV . KOREA Webots guided tour – Control Nao 21 16 S FT COMPUTING @ YONSEI UNIV . KOREA Webots guided tour – Control Nao Click play button. We can see the Nao walks. And you can control it with your keyboard. 22 16 S FT COMPUTING @ YONSEI UNIV . KOREA Webots guided tour – Control Nao Click Nao and, Shift + click ->Move Nao Shift + click ->Lift Ctrl + click ->Rotate In the same way, you can also move all the element in this room. Enjoy it! 23 16 S FT COMPUTING @ YONSEI UNIV . KOREA .
Recommended publications
  • Survey of Robot Programming Languages
    Survey of Robot Programming Languages Seminar Report Submitted in partial fulfilment of the requirements for the degree of Master of Technology by Anirban Basumallik Roll No : 09305008 under the guidance of Prof. Kavi Arya Department of Computer Science and Engineering Indian Institute of Technology, Bombay April 2010 Abstract At the present moment the field of Robotics is extremely varied. The nature of tasks that robots can perform are very distributed and hence controlling or programming different robots need different methods. Many vendors have tried to provide a common platform by abstracting out the differences. In this report we carry out a survey of the different Robot Programming Languages available in the market and assess their pros and cons. Finally, we come up with the needs of a desirable robotics platform that can ease the task of programmers in programming a class of robots more succinctly and effectively. 1 CONTENTS CONTENTS Contents 1 Introduction 3 1.1 Robot Programming Platform . 3 1.2 Need for a Platform . 3 2 Microsoft Robotics Developer Studio 3 2.1 DSS . 4 2.2 CCR . 5 2.3 VPL . 6 2.4 VSE . 7 2.5 Others . 8 2.6 Pros, Cons and buzz . 8 3 Player/Stage 9 3.1 Player Goals and Design . 9 3.2 Stage simulation environment . 10 3.3 Working . 11 3.4 Pros, Cons and buzz . 12 4 URBI 12 4.1 Design philosophy . 12 4.2 URBI Technology . 13 4.3 Pros, Cons and buzz . 14 5 OROCOS 15 5.1 Design philosophy . 15 5.2 Pros, Cons and buzz .
    [Show full text]
  • GNU/Linux AI & Alife HOWTO
    GNU/Linux AI & Alife HOWTO GNU/Linux AI & Alife HOWTO Table of Contents GNU/Linux AI & Alife HOWTO......................................................................................................................1 by John Eikenberry..................................................................................................................................1 1. Introduction..........................................................................................................................................1 2. Symbolic Systems (GOFAI)................................................................................................................1 3. Connectionism.....................................................................................................................................1 4. Evolutionary Computing......................................................................................................................1 5. Alife & Complex Systems...................................................................................................................1 6. Agents & Robotics...............................................................................................................................1 7. Statistical & Machine Learning...........................................................................................................2 8. Missing & Dead...................................................................................................................................2 1. Introduction.........................................................................................................................................2
    [Show full text]
  • Player-Stage Based Simulator for Simultaneous Multi-Robot Exploration and Terrain Coverage Problem
    International Journal of Artificial Intelligence & Applications (IJAIA), Vol.2, No.4, October 2011 PLAYER -STAGE BASED SIMULATOR FOR SIMULTANEOUS MULTI -ROBOT EXPLORATION AND TERRAIN COVERAGE PROBLEM K.S. Senthilkumar and K. K. Bharadwaj School of Computer and Systems Sciences Jawaharlal Nehru University, New Delhi 110067 [email protected], [email protected] ABSTRACT One of the possible ways of offering assistance without risking additional human lives during hazardous situations is by deploying a robot team, equipped with various sensors and actuators. Working with intelligent robotics requires a large investment in both money and time. There is a general purpose, open source simulator called Player/Stage, which provides a hardware abstraction layer to several popular robot platforms, and is commonly used by robotics community in research and university teaching, today. This simulator tends to be very simple and task-specific. Player, which is a distributed device server for robots, sensors and actuators, can control either a real or simulated robot thus allowing direct application of developed algorithms to real-life scenarios. Hence, we believe that Player/Stage, when coupled with robust hardware, is a viable paradigm for our Simultaneous MSTC(S-MSTC) algorithm. This paper gives details of our experience in running Player/Stage during the implementation of our online S-MSTC algorithm for multi-robot being implemented in C++ and we use Player/Stage middleware for validation and testing. In addition, the experience with Player/Stage can help us to do research in more complicated situations. KEYWORDS Multi-robot, Exploration, Terrain Coverage, Player/Stage Simulator 1. INTRODUCTION In recent past, there has been an increasing interest in the software side of robotics such as simulators.
    [Show full text]
  • Modelling, Simulation and Control of a Humanoid Robot
    Heriot-Watt University School of Engineering and Physical Sciences M odelling, Simulation and control of a humanoid robot Inserting a pin to a hole using DARWINOP Group members: Roshenac Mitchell, Markus Lampert, Nurgaliyev Shakh- Izat, Samir Mammadov, Hugo Sardinha, Waqar Khadas Table of Contents 1 Introduction .................................................................................................................... 4 1.1 System overview .................................................................................................................. 4 1.2 Specification ........................................................................................................................ 5 2 Robot design and simulation ........................................................................................... 5 2.1 The Robotics Simulators ....................................................................................................... 6 2.1.1 Webot Robot Simulator .......................................................................................................... 6 2.1.2 Features .................................................................................................................................. 7 2.2 Technical information .......................................................................................................... 7 2.3 The Robotics World .............................................................................................................. 7 2.4 Simulation with the control of
    [Show full text]
  • Architecture of a Software System for Robotics Control
    Architecture of a software system for robotics control Aleksey V. Shevchenko Oksana S. Mezentseva Information Systems Technologies Dept. Information Systems Technologies Dept. Stavropol City, NCFU Stavropol City, NCFU [email protected] [email protected] Dmitriy V. Mezentsev Konstantin Y. Ganshin Information Systems Technologies Dept. Information Systems Technologies Dept. Stavropol City, NCFU Stavropol City, NCFU [email protected] [email protected] Abstract This paper describes the architecture and features of RoboStudio, a software system for robotics control that allows complete and simulta- neous monitoring of all electronic components of a robotic system. This increases the safety of operating expensive equipment and allows for flexible configuration of different robotics components without changes to the source code. 1 Introduction Today, there are no clear standards for robotics programming. Each manufacturer creates their own software and hardware architecture based on their own ideas for optimizing the development process. Large manufacturers often buy their software systems from third parties, while small ones create theirs independently. As a result, the software often targets a specific platform (more often, a specific modification of a given platform). Thus, even minor upgrades of an existing robotic system often require a complete software rewrite. The lack of universal software products imposes large time and resource costs on developers, and often leads to the curtailment of promising projects. Some developers of robotic systems software partially solve the problem of universal software using the free Robotics Operation System (ROS), which also has limitations and is not always able to satisfy all the requirements of the manufacturers. 2 Equipment The research was conducted using two robots produced by the SPA "Android Technics" the "Mechatronics" stand and the full-size anthropomorphic robot AR-601E (figure 1).
    [Show full text]
  • Improvements in the Native Development Environment for Sony AIBO
    Special Issue on Improvements in Information Systems and Technologies Improvements in the native development environment for Sony AIBO Csaba Kertész Tampere University of Applied Sciences (TAMK), Research Department, Tampere, Finland Vincit Oy, Tampere, Finland installing a new bootloader. With these changes, i-Cybie can Abstract — The entertainment robotics have been on a peak be programmed in C under Windows and the sensors are with AIBO, but this robot brand has been discontinued by the accessible, but the SDK was abandoned in pre-alpha state with Sony in 2006 to help its financial position. Among other reasons, frequent freezes and almost no documentation. the robot failed to enter into both the mainstream and the robotics research labs besides the RoboCup competitions, A South Korean company (Dongbu Robot) sells a robot dog however, there were some attempts to use the robot for [3], which has a similar hardware configuration to AIBO, but rehabilitation and emotional medical treatments. A native Genibo does not have an open, low level software software development environment (Open-R SDK) was provided development environment, making impractical for researches. to program AIBO, nevertheless, the operating system (Aperios) Currently, there is no such an advanced and highly induced difficulties for the students and the researchers in the sophisticated quadruped system on the market like AIBO. If software development. The author of this paper made efforts to update the Open-R and overcome the problems. More the shortcomings of the software environment can be fixed, the enhancements have been implemented in the core components, robot can be used for upcoming research topics.
    [Show full text]
  • Design and Implementation of an Autonomous Robotics Simulator
    DESIGN AND IMPLEMENTATION OF AN AUTONOMOUS ROBOTICS SIMULATOR by Adam Carlton Harris A thesis submitted to the faculty of The University of North Carolina at Charlotte in partial fulfillment of the requirements for the degree of Master of Science in Electrical Engineering Charlotte 2011 Approved by: _______________________________ Dr. James M. Conrad _______________________________ Dr. Ronald R. Sass _______________________________ Dr. Bharat Joshi ii © 2011 Adam Carlton Harris ALL RIGHTS RESERVED iii ABSTRACT ADAM CARLTON HARRIS. Design and implementation of an autonomous robotics simulator. (Under the direction of DR. JAMES M. CONRAD) Robotics simulators are important tools that can save both time and money for developers. Being able to accurately and easily simulate robotic vehicles is invaluable. In the past two decades, corporations, robotics labs, and software development groups have released many robotics simulators to developers. Commercial simulators have proven to be very accurate and many are easy to use, however they are closed source and generally expensive. Open source simulators have recently had an explosion of popularity, but most are not easy to use. This thesis describes the design criteria and implementation of an easy to use open source robotics simulator. SEAR (Simulation Environment for Autonomous Robots) is designed to be an open source cross-platform 3D (3 dimensional) robotics simulator written in Java using jMonkeyEngine3 and the Bullet Physics engine. Users can import custom-designed 3D models of robotic vehicles and terrains to be used in testing their own robotics control code. Several sensor types (GPS, triple-axis accelerometer, triple-axis gyroscope, and a compass) have been simulated and early work on infrared and ultrasonic distance sensors as well as LIDAR simulators has been undertaken.
    [Show full text]
  • Systematic Literature Review of Realistic Simulators Applied in Educational Robotics Context
    sensors Systematic Review Systematic Literature Review of Realistic Simulators Applied in Educational Robotics Context Caio Camargo 1, José Gonçalves 1,2,3 , Miguel Á. Conde 4,* , Francisco J. Rodríguez-Sedano 4, Paulo Costa 3,5 and Francisco J. García-Peñalvo 6 1 Instituto Politécnico de Bragança, 5300-253 Bragança, Portugal; [email protected] (C.C.); [email protected] (J.G.) 2 CeDRI—Research Centre in Digitalization and Intelligent Robotics, 5300-253 Bragança, Portugal 3 INESC TEC—Institute for Systems and Computer Engineering, 4200-465 Porto, Portugal; [email protected] 4 Robotics Group, Engineering School, University of León, Campus de Vegazana s/n, 24071 León, Spain; [email protected] 5 Universidade do Porto, 4200-465 Porto, Portugal 6 GRIAL Research Group, Computer Science Department, University of Salamanca, 37008 Salamanca, Spain; [email protected] * Correspondence: [email protected] Abstract: This paper presents a systematic literature review (SLR) about realistic simulators that can be applied in an educational robotics context. These simulators must include the simulation of actuators and sensors, the ability to simulate robots and their environment. During this systematic review of the literature, 559 articles were extracted from six different databases using the Population, Intervention, Comparison, Outcomes, Context (PICOC) method. After the selection process, 50 selected articles were included in this review. Several simulators were found and their features were also Citation: Camargo, C.; Gonçalves, J.; analyzed. As a result of this process, four realistic simulators were applied in the review’s referred Conde, M.Á.; Rodríguez-Sedano, F.J.; context for two main reasons. The first reason is that these simulators have high fidelity in the robots’ Costa, P.; García-Peñalvo, F.J.
    [Show full text]
  • Robotstadium: Online Humanoid Robot Soccer Simulation Competition
    RobotStadium: Online Humanoid Robot Soccer Simulation Competition Olivier Michel1,YvanBourquin1, and Jean-Christophe Baillie2 1 Cyberbotics Ltd., PSE C - EPFL, 1015 Lausanne, Switzerland [email protected], [email protected] http://www.cyberbotics.com 2 Gostai SAS, 15 rue Vergniaud 75013 Paris, France [email protected] http://www.gostai.com Abstract. This paper describes robotstadium: an online simulation con- test based on the new RoboCup Nao Standard League. The simulation features two teams with four Nao robots each team, a ball and a soccer field corresponding the specifications of the real setup used for the new RoboCup Standard League using the Nao robot. Participation to the contest is free of charge and open to anyone. Competitors can simply register on the web site and download a free software package to start programming their team of soccer-playing Nao robots. This package is based on the Webots simulation software, the URBI middleware and the Java programming language. Once they have programmed their team of robots, competitors can upload their program on the web site and see how their team behaves in the competition. Matches are run every day and the ranking is updated accordingly in the ”hall of fame”. New simulation movies are made available on a daily basis so that anyone can watch them and enjoy the competition on the web. The contest is running online for a given period of time after which the best ranked competitors will be selected for a on-site final during the next RoboCup event. This contest is sponsored by The RoboCup federation, Aldebaran Robotics, Cyberbotics and Gostai.
    [Show full text]
  • Software Architecture for an Exploration Robot Based on Urbi
    Software architecture for an exploration robot based on Urbi Jean-Christophe Baillie, Akim Demaille, Guillaume Duceux, David Filliat, Quentin Hocquet, Matthieu Nottale To cite this version: Jean-Christophe Baillie, Akim Demaille, Guillaume Duceux, David Filliat, Quentin Hocquet, et al.. Software architecture for an exploration robot based on Urbi. 6th National Conference on Control Architectures of Robots, INRIA Grenoble Rhône-Alpes, May 2011, Grenoble, France. 12 p. inria- 00599674 HAL Id: inria-00599674 https://hal.inria.fr/inria-00599674 Submitted on 10 Jun 2011 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Software architecture for an exploration robot based on Urbi Jean-Christophe Baillie1 Akim Demaille1 Guillaume Duceux1,2 David Filliat2 Quentin Hocquet1 Matthieu Nottale1 1Gostai S.A.S., 15 rue Jean-Baptiste Berlier, 75013 Paris. 2ENSTA ParisTech, Unit´e Electronique´ et Informatique, 32 boulevard Victor,75739 Paris Cedex 15. May 10, 2011 Abstract We present the software architecture of a mobile robot whose goal is to autonomously explore an unknown indoor environment and to build a semantic map containing high-level information. This robot was developed under the Panoramic and Active Camera for Ob- ject Mapping (PACOM) project whose goal is to participate in the French exploration and mapping contest CAROTTE.
    [Show full text]
  • Nao®, the Ideal Partner for Research and Education
    ACADEMICS EDITION NAO®, THE IDEAL PARTNER FOR RESEARCH Fully programmable AND EDUCATION IN THE FIELD OF ROBOTICS Multiple sensors Onboard computer Remote control Friendly design and lightweight Nao Academics Edition key features - 25 Degrees of Freedom - Two prehensile hands - x86 AMD Geode 500 Mhz CPU - 256 MB SDRAM / 2 GB Flash memory - Wi-Fi 802.11b and ethernet port - 2x 30 FPS CMOS videocam res. 640x480 - Vision processing capacities - Two loudspeakers and English vocal synthesis - Supports multiple programming environments Comes with software and complete documentation After 3 years of research, Aldebaran RoboticsTM has developed Nao® a 58 cm (23’’) tall biped robot. It’s a unique combination of hardware and software in a great design. Nao stands tall in all points amongst its robotic brethren. The hardware has been built from the ground up with the latest technologies providing great fluidity in its movements and offering a wide range of sensors. Platform agnostic, it can be programmed and controlled using Linux, Windows or Mac OS and comes with complete software and documentation. All-in-one MOVEMENT humanoid Nao comes with 25 degrees of freedom for great mobility. The inertial sensor provides great stability while moving and enables positioning within space. Sonars and FSRs allow Nao to detect its environment and to navigate seamlessly. robot His state-of-the-art onboard actuators give Nao extreme precision in its movements. INTERACTION Nao features embedded software modules allowing text to speech, sound localization, visual pattern and coloured shape detection, obstacle detection (based on the two channel sonar system) and visual effects or communication through the many LEDs.
    [Show full text]
  • Modular Low-Cost Humanoid Platform for Disaster Response
    2014 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2014) September 14-18, 2014, Chicago, IL, USA Modular Low-Cost Humanoid Platform for Disaster Response Seung-Joon Yi∗, Stephen McGill∗, Larry Vadakedathu∗, Qin He∗, Inyong Ha†, Michael Rouleau‡, Dennis Hong‡† and Daniel D. Lee∗ Abstract— Developing a reliable humanoid robot that oper- ates in uncharted real-world environments is a huge challenge for both hardware and software. Commensurate with the technology hurdles, the amount of time and money required can also be prohibitive barriers. This paper describes Team THOR’s approach to overcoming such barriers for the 2013 DARPA Robotics Challenge (DRC) Trials. We focused on forming modular components – in both hardware and software – to allow for efficient and cost effective parallel development. The robotic hardware consists of standardized and general purpose actuators and structural components. These allowed us to successfully build the robot from scratch in a very short development period, modify configurations easily and perform quick field repair. Our modular software framework consists of a hybrid locomotion controller, a hierarchical arm controller and a platform-independent operator interface. These modules helped us to keep up with hardware changes easily and to have multiple control options to suit various situations. We validated our approach at the DRC Trials where we fared very well against robots many times more expensive. Keywords: DARPA Robotic Challenge, Humanoid Robot, Modular Design, Full Body Balancing Controller I. INTRODUCTION Fig. 1. The THOR-OP robot holds a drill in hand while walking stably. The ultimate goal of humanoid robotics is to work in typ- ical environments designed for humans.
    [Show full text]