Setup Wonderland - WalkingMachine/sara_wiki GitHub Wiki

Initialize database

The database should be initialized and running on the main server.
http://wonderland:8000/admin/

Run the database and the map

On the server launch :

  • python ~/sara_ws/src/wonderland/manage.py runserver ip_address:8000
  • roscore
  • rosrun map_server map_server ~/sara_ws/src/sara_navigation/maps/map_name.yaml
  • rosrun wonderland publish_objects_3D.py
  • rviz

Add objects

Connect to http://wonderland:8000/admin/ with the given credentials.

To add objects click on add besides entity :

Fill the needed informations :

  • EntityClass = obejct name seen by wonderland
  • EntityName = object
  • EntityCategory = the category given by the robocup

Set position

Everything need to be launch from the "Run the database and the map"

  • rosrun wonderland set_object_position.py
  • in RViz add :
    • the fixed frame as /map
    • add a map, topic /map
    • marker, topic /visualization_maker_wonderland
  • in the script :
    • list the entitys with (4)
    • set the position(2) or waypoint(3)
    • set the ID with (1) or use and
    • in RViz, use to set the object position
  • You should be able to see the map with the objects:

⚠️ **GitHub.com Fallback** ⚠️