Presentation is loading. Please wait.

Presentation is loading. Please wait.

Robotics Simulator Intelligent Systems Lab. What is it ? Software framework - Simulating Robotics Algorithms.

Similar presentations


Presentation on theme: "Robotics Simulator Intelligent Systems Lab. What is it ? Software framework - Simulating Robotics Algorithms."— Presentation transcript:

1 Robotics Simulator Intelligent Systems Lab

2 What is it ? Software framework - Simulating Robotics Algorithms

3 Objectives / High Level Features Generic – No physical environment assumptions 3D Visualization Extensible – Add new entities Open Source – Maintained on SourceForge Developed in C++ with MS Visual Studio 2008

4 Architecture Simulator 3D Visualization RobotEntities Environment Managers ObstacleEntities

5 Object Entities Both static objects (e.g. floor, obstacles) and dynamic objects are entities Entity has: Properties – A set of labeled string values These maintain the object’s state (position, shape) One property all entities have is a GUID A motion function called progress For dynamic objects, the actions / movement it performs

6 Simulation Flow Load Environment Estimate Frame Time Progress Entities Frame Stages: Preprocess Move Management Render Post-process

7 Serialized Simulation Environment Example

8 Typical Robot Progress Typical progress function contains: Save original robot state Evaluation of world state / sensors Modify transformation matrix Apply collision response, if necessary

9 3D World Space Each visible entity has a 4 x 4 transformation matrix Specifies position and orientation Matrix is usually modified by applying Translation and Rotation transforms Z - forward X - right Y - up 1 0 0 0 0 1 0 0 0 0 1 0 x y z 1 Translation Transform c 0 s 0 0 1 0 0 -s 0 c 0 0 0 0 1 Yaw Rotation Transform c=cos(a), s=sin(a)

10 Sensors Theoretically, any type of sensor can be implemented Currently implemented: Camera – Uses 3D visualization to generate image Can be placed in any position / orientation (synchronous) Laser distance sensor – Returns point of contact of first object along ray path (asynchronous)

11 Notifications Entities may generate events Entities may register to get notifications of events from other entities Examples: 3D Visualization registers to get all motion events An entity gets notification when an asynchronous sensor has a result value

12 Entity Software Structure Each entity type is a dynamic library (DLL) DLL exports a fixed set of functions: GetNameReturns name of entity type GetDescriptionA short description StartupInitialization if needed ShutdownCalled before DLL is unloaded CreateCreate a new entity instance GetIconPathPath to an icon image

13 Physics Physics rules can be implemented if needed Collision detection manager is in place All entities marked as collidable are checked In case of collision, both entities are ‘notified’

14 Communication A socket server is built into the simulator to allow an external program to control entities The external program can be on the same or different machine than the one running the simulation Message refer to entities using the entity GUID

15 Demos


Download ppt "Robotics Simulator Intelligent Systems Lab. What is it ? Software framework - Simulating Robotics Algorithms."

Similar presentations


Ads by Google