ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Stage for Indigo allows more than one laser?

asked 2014-10-31 09:47:51 -0500

Manuel gravatar image

updated 2022-01-12 10:59:45 -0500

lucasw gravatar image

I remember that package ros_stage in fuerte/electric didn't allowed it. I found a thread where they made a patch (http://lists.ros.org/message/20101203..., formerly http://ros-users.122217.n3.nabble.com...) and used their code. However, has it been solved in indigo version?


I'm trying to make an accurate simulation of my robot in stage, but I've run into a problem with adding multiple laser scanners. I added two lasers to the position model in my world file, but stage dies on launch with the following message:

[FATAL] [1291323094.990198245]: number of position models and laser models must be equal in the world file.

My robot has one laser on the front, and one on the back, both with 180 degree FOV.

Any help with this would be much appreciated.

-Zac


Hi Zac!

The current version of stageros allows exactly 1 laser per robot, no more no less.

I submitted a ticket with a patch a while ago to add the new sensor_msgs/Range to stage, and I changed it to allow multiple sensors per robot.

I you'd like I can send you the patched version of stage for your to run your sims. I never tried it with 2 lasers though, just with a laser and a sonar on a robot.

Gonçalo Cabrita ISR - University of Coimbra Portugal

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2014-11-03 15:40:48 -0500

tfoote gravatar image

There's a pull request to add multisensor support: https://github.com/ros-simulation/sta...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-31 09:47:51 -0500

Seen: 105 times

Last updated: Jan 12 '22