logo logo
Inicio arrow Foros...
Wednesday, 07 de January de 2009
 
 
English English  Español Español  
Próximos Eventos
10.Jun. 2009

IWANN 2009
Salamanca, Spain
11.Jun. 2009

Toward a Science of Consciousness
Hong Kong, China
15.Jun. 2009

International Workshop on Machine Consciousness
Hong Kong, China
15.Jun. 2009

The 8th IEEE International Conference on Cognitive Informatics
Hong Kong, China
22.Jun. 2009

IWINAC 2009
Santiago de Compostela, Spain
Etiquetas
Análisis Artificial Científicos Conciencia Consciencia Consciencia Artificial Conscientes Consciousness Developer Documentación Documentation Español Howto Investigación Publicaciones Reviews Robotics Robots Robótica Servicios Spanish Studio VPL artificial
Destacados
Conscious-Robots.com Forum  


carlcs
Usuarios

Expert Boarder
Mensajes: 20
graphgraph
Karma: 1  
making a larger map in explorersimsonar - 2008/10/14 08:30 if i wanted to change the size of the map being displayed to, let's say a map 100m x 100m, where do i change that? i found a line something like

_state.MapWidth = 5;
_state.MapHeight = 5;

but i still couldn't see any changes in the window. is there something else i should change? thank you.

and one more thing. the pose readings returned by the differential drive, are the x,z coordinates in mm? thank you.
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.
Raúl
Moderador

Moderador
Mensajes: 444
graph
Karma: 6  
Re:making a larger map in explorersimsonar - 2008/10/14 17:46 Hi,
About the metrics, Robotics Studio adopted the International Metrics System, therefore all measurements should use the meter as unit. That means that for example 1.2f is 1 meter and 20 centimeters.

You can change the dimensions of the maze in the ExplorerSimSonar you just need to change the dimensions of the bitmap file that is used to build the map. In other words, the size of the maze is img.Width x img.Height, being img the bitmap image which is loaded.
(look at the AddMaze method in MazeSimulatorRa.cs file).

Basically, each pixel of the bitmap will became a cell of the maze.
And the grid size is defined in the MazeSimulatorState class:

Code:

 // Grid size for bitmaps, i.e. one pixel = GridSpacing [DataMember] public float GridSpacing 0.1f;    // Maze grid size (meters)



So you can easily change the scale by altering the value of this variable..
Raúl Arrabales Moreno. conscious-robots.com/raul
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.
Titulares RSS
 Conscious Robots RSS FeedFuente RSS de Conscious Robots





¿Recuperar contraseña?
¿Quieres registrarte? Hazlo aquí
Mensajes en el Foro
 
Top! Top!