Errors starting ServiceProxy spawn_models_from_string
ydhadix opened this issue · 0 comments
ydhadix commented
Launching arena-rosnav gives the following error, regardless of parameters. I traced the problem back to 'arena_rosnav/task_generator/task_generator/simulators/flatland_simulator.py' and got stuck, but it looks like its failing to create the ServiceProxy based on SpawnModels.
Tried on my machine, then in a Docker based on the provided Dockerfile, but got the same error both ways. Any advice on how to get this running?
ROS_MASTER_URI=http://localhost:11311
process[burger_0_0/transform_broadcaster-1]: started with pid [3243]
process[burger_0_0/move_base-2]: started with pid [3244]
[ WARN] [1688678513.849906708, 4.400000044]: global_costmap: Parameter "plugins" not provided, loading pre-Hydro parameters
[ WARN] [1688678514.209856868, 4.700000047]: local_costmap: Parameter "plugins" not provided, loading pre-Hydro parameters
[WARN] [1688678515.942084, 6.400000]: ServiceException('service [/spawn_models_from_string] unavailable')
[ WARN] [1688678516.364659067, 6.900000069]: Control loop missed its desired rate of 10.0000Hz... the loop actually took 0.1000 seconds
[ WARN] [1688678516.547318462, 7.100000071]: Control loop missed its desired rate of 10.0000Hz... the loop actually took 0.2000 seconds
[WARN] [1688678518.495236, 9.000000]: ServiceException('service [/spawn_models_from_string] unavailable')
[ WARN] [1688678518.845062676, 9.400000094]: The origin for the sensor at (28.91, 22.11) is out of map bounds. So, the costmap cannot raytrace for it.
[WARN] [1688678520.881857, 11.400000]: ServiceException('service [/spawn_models_from_string] unavailable')
Traceback (most recent call last):
File "/root/devel/lib/task_generator/task_generator_node.py", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/root/src/arena-rosnav/task_generator/scripts/task_generator_node.py", line 118, in <module>
task_generator = TaskGenerator()
File "/root/src/arena-rosnav/task_generator/scripts/task_generator_node.py", line 49, in __init__
self.reset_task()
File "/root/src/arena-rosnav/task_generator/scripts/task_generator_node.py", line 76, in reset_task
is_end = self.task.reset()
File "/root/src/arena-rosnav/task_generator/task_generator/tasks/random.py", line 24, in reset
return super().reset(
File "/root/src/arena-rosnav/task_generator/task_generator/tasks/base_task.py", line 67, in reset
raise Exception(f"reset error! {return_val}")
Exception: reset error! (False, None)
[burger_0_0/move_base-2] killing on exit
[burger_0_0/transform_broadcaster-1] killing on exit
[task_generator_node-8] process has died [pid 3073, exit code 1, cmd /root/devel/lib/task_generator/task_generator_node.py __name:=task_generator_node __log:=/root/.ros/log/1d9bdf86-1c43-11ee-80c3-0242ac110002/task_generator_node-8.log].
log file: /root/.ros/log/1d9bdf86-1c43-11ee-80c3-0242ac110002/task_generator_node-8*.log