stdr-simulator-ros-pkg / stdr_simulator

A simple, flexible and scalable 2D multi-robot simulator.
http://stdr-simulator-ros-pkg.github.io/
GNU General Public License v3.0
96 stars 66 forks source link

Robot manager and GUI crashes on robot loading from GUI and adding a sensor #190

Open etsardou opened 8 years ago

etsardou commented 8 years ago

To reproduce:

The problem seems to be related to a - introduced in the sensor's name.

etsardou commented 8 years ago

Output:

terminate called after throwing an instance of 'ros::InvalidNameException'
  what():  Character [-] at element [22] is not valid in Graph Resource Name [robot1/thermal_sensor_-1].  Valid characters are a-z, A-Z, 0-9, / and _.
terminate called after throwing an instance of 'ros::InvalidNameException'
  what():  Character [-] at element [22] is not valid in Graph Resource Name [robot1/thermal_sensor_-1].  Valid characters are a-z, A-Z, 0-9, / and _.