ERROR: cannot launch node of type [start_env/spawn_ego_vehicle.py]: start_env

asked 2022-06-14 02:23:24 -0600

Junaid22 gravatar image

I am working with Carla, Autoware and ROS and everytime I try to run thestart_env package , I am getting this error. This package basically launches the spawn_ego_vehcile.py file. Any help would be appreciated.

Details of the workspace after running is as follows:

$ roslaunch start_autoware_env.launch ... logging to /home/automotive/.ros/log/adf98fc6-ebaa-11ec-ad00-50ebf6229861/roslaunch-automotive-18750.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://automotive:32829/

SUMMARY

PARAMETERS * /carla/ackermann_control/accel_Kd: 0.05 * /carla/ackermann_control/accel_Ki: 0.0 * /carla/ackermann_control/accel_Kp: 0.02 * /carla/ackermann_control/min_accel: 1.0 * /carla/ackermann_control/speed_Kd: 0.5 * /carla/ackermann_control/speed_Ki: 0.0 * /carla/ackermann_control/speed_Kp: 0.05 * /carla_ackermann_control_ego_vehicle/always_send: True * /carla_ackermann_control_ego_vehicle/role_name: ego_vehicle * /dynparam_automotive_18750_2610629036223053154/accel_Kd: 0.05 * /dynparam_automotive_18750_2610629036223053154/accel_Ki: 0.0 * /dynparam_automotive_18750_2610629036223053154/accel_Kp: 0.03 * /dynparam_automotive_18750_2610629036223053154/speed_Kd: 0.4 * /dynparam_automotive_18750_2610629036223053154/speed_Ki: 0.0 * /dynparam_automotive_18750_2610629036223053154/speed_Kp: 0.15 * /rosdistro: melodic * /rosversion: 1.14.13

NODES / carla_ackermann_control_ego_vehicle (carla_ackermann_control/carla_ackermann_control_node_autoware.py) dynparam_automotive_18750_2610629036223053154 (dynamic_reconfigure/dynparam) spawn_ego_vehicle (start_env/spawn_ego_vehicle.py)

ROS_MASTER_URI=http://localhost:11311

ERROR: cannot launch node of type [start_env/spawn_ego_vehicle.py]: start_env ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/carla-ros-bridge/melodic/share ROS path [2]=/opt/ros/melodic/share process[carla_ackermann_control_ego_vehicle-2]: started with pid [18796] process[dynparam_automotive_18750_2610629036223053154-3]: started with pid [18797] /home/automotive/.local/lib/python2.7/site-packages/simple_pid/PID.py:22: UserWarning: time.monotonic() not available in python < 3.3, using time.time() as fallback warnings.warn('time.monotonic() not available in python < 3.3, using time.time() as fallback') [dynparam_automotive_18750_2610629036223053154-3] process has finished cleanly log file: /home/automotive/.ros/log/adf98fc6-ebaa-11ec-ad00-50ebf6229861/dynparam_automotive_18750_2610629036223053154-3*.log

edit retag flag offensive close merge delete