17.02.2014 Views

PEIS Home Simulator - Örebro universitet

PEIS Home Simulator - Örebro universitet

PEIS Home Simulator - Örebro universitet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The model declaration in the world file:<br />

<br />

plugins/TableShelf/TableShelf.so<br />

2.362 3.814 0.7605 <br />

0 0 -90 <br />

1<br />

<br />

3.2.7 Wall cabinet<br />

This is a model of a wall mounted cabinet.<br />

Figure 3.15 The cabinet model as it appears in Gazebo.<br />

The door opens upward and has a transparent glass part in it. The greenish part inside is a shelf.<br />

Model declaration in the world file:<br />

<br />

plugins/WallCabinet/WallCabinet.so<br />

0.185 2.610 1.735<br />

0 0 0<br />

<br />

3.3 Problems<br />

Fixed models<br />

There does not seem to be any way to code a model such that it will remain fixed in the<br />

environment by itself. The walls and other fixtures needed to be fixed in one place and it was also<br />

decided that some of the furniture should not be possible to move. This was solved by attaching<br />

them to the ground plane in the simulation to which it is possible to attach models like with any<br />

other model and it is always fixed in the environment.<br />

Unnecessary Collision Detection<br />

During development it was discovered that adding the walls to the simulation environment caused<br />

the simulation to slow-down. The walls were attached to the floor and it would appear that the<br />

contact between the walls led to many calculations being performed for the collision detection<br />

between the walls and floor. This was undesired and a way to indicate what objects should perform<br />

collision detection between each other was discovered.<br />

23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!