Arena-Rosnav / arena-rosnav

MIT License
60 stars 37 forks source link

Failed when launch start_arena.launch #191

Open lsylsy0516 opened 5 months ago

lsylsy0516 commented 5 months ago

After reconfiguring the project environment, I launched the test files

roslaunch arena_bringup start_arena.launch

Received an error message

File "/home/luo/arena_ws/src/arena/arena rosnav/task_generator/task_generator/manager/entity_manager/crowdsim_manager. py", line 383, in spawn_dynamic_obstacles
Msg. configuration=json. dumps ({})
AttributeError: 'Ped' object has no attribute 'configuration'

I checked the pedsim_msgs/Ped imformation and I really didn't find configuration in the msg

geometry_msgs/Point pos
  float64 x
  float64 y
  float64 z
string type
string yaml_file
int16 number_of_peds
float64 vmax
string start_up_mode
float64 wait_time
float64 trigger_zone_radius
float64 max_talking_distance
float64 max_servicing_radius
float64 chatting_probability
float64 tell_story_probability
float64 group_talking_probability
float64 talking_and_walking_probability
float64 requesting_service_probability
float64 requesting_guide_probability
float64 requesting_follower_probability
float64 talking_base_time
float64 tell_story_base_time
float64 group_talking_base_time
float64 talking_and_walking_base_time
float64 receiving_service_base_time
float64 requesting_service_base_time
float64 force_factor_desired
float64 force_factor_obstacle
float64 force_factor_social
float64 force_factor_robot
geometry_msgs/Point[] waypoints
  float64 x
  float64 y
  float64 z
int16 waypoint_mode

Is this because I installed an old version of arena-rosnav before or something else?

voshch commented 5 months ago

Hey, should be fixed in https://github.com/Arena-Rosnav/arena-rosnav/pull/192. Please verify.

Best