Get size/bounding box of the ground / reachable map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Get size/bounding box of the ground / reachable map

Adrian Böckenkamp
Hi all,

I need to get the size of the ground / reachable map using the Stage API.
Is there an easy and generic way to retrieve this information (in meters)?

The yellow area on this screenshot shows what I would like to get:

I successfully retrieved the data using
but has requires to know the name of the appropriate model. Also, this
returns (e.g.) "geom pose: (0.00,0.00,0.00) size: [50.00,25.00]" but the
"geom pose" seems to be alwyays zero. Is it possible to compute the
"bounding box" (xmin, xmax, ymin, ymax) in *global* coordinates?

Thanks you very much! :-)

Kind regards,

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Playerstage-users mailing list
[hidden email]