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.

4 Static Sensors<br />

These are sensors placed in environment but not attached to any robot.<br />

4.1 Ceiling cameras<br />

There are five web cameras mounted in the ceiling of <strong>PEIS</strong> <strong>Home</strong>, they are however intended to be<br />

replaced by new cameras. Currently there is one of these new cameras in the home. In the<br />

simulation five cameras have been added the first of which is placed as the new camera in the real<br />

home, the others are simply placed in a line. Once the camera placement is finalized in the real<br />

home the cameras in the simulation can be moved to appropriate positions.<br />

In the real <strong>PEIS</strong> home the cameras are not accessed through player but to keep things simple in the<br />

simulator a camera model supporting the Player camera interface was used.<br />

There is a generic camera model for a monocular camera in Gazebo, based on the source code of<br />

this model a plugin model was made instead. The modifications to the original code consisted of<br />

changing the physical shape of the camera and making the origin of the model in the middle of the<br />

“lens” part.<br />

The change in the models origin was made to make placement from real world measurements<br />

easier. In the real home it is easier to measure the position and orientation of the camera at the lens.<br />

Thus with a measure of where a camera lens is located in the real home one can easily determine<br />

coordinates for a simulated camera.<br />

Figure 4.1 The model of the camera as it appears in Gazebo.<br />

25

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

Saved successfully!

Ooh no, something went wrong!