Ask Your Question
0

Modify stage appearance

asked 2013-04-23 14:25:11 -0500

katniss gravatar image

updated 2013-04-24 04:39:01 -0500

SL Remy gravatar image

Is there a way of modifying the appearance of the "floor" of the field in certain regions without adding obstacles? I'm making a simulation where bee-like robots congregate under areas of high temperature, and I want to show these regions of high temperature by coloring the floor of the field in those regions differently than the rest (so there will be big red circles in some spots and the rest will be the normal checkerboard pattern). Is this an option, or do I have to configure my own visualization window or something?

edit retag flag offensive close merge delete

Comments

do you want to visualize the temperature regions on stage or rviz? or it does not matter?

Procópio gravatar image Procópio  ( 2013-04-29 03:30:12 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2013-04-23 18:35:11 -0500

Currently stageros support certains capabilities of stage simulator,(like just laser ranger sensor and just allow one laser per robot), if you want to add extra features, like a background, (I want this too), you have to make a custom simulator based on stage (maybe modifying stageros?).

edit flag offensive delete link more
1

answered 2013-04-24 04:05:53 -0500

SL Remy gravatar image

Why not just add objects to the world file that are "short", and make sure that the object has the following properties obstacle_return 0 and blob_return 1 (would be visible and look right from cameras and the GUI, but not something that would cause a collision with the robot.)

edit flag offensive delete link more

Comments

This answer assumes that you're using the camera sensors so the robot (and the person using the GUI) could detect the special regions of the floor.

SL Remy gravatar image SL Remy  ( 2013-04-29 03:46:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-04-23 14:25:11 -0500

Seen: 338 times

Last updated: Apr 24 '13