Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'GetEgoVehicleRoute' from 'carla_ros_scenario_runner_types.srv' #3

Closed
wangchangquan opened this issue Oct 25, 2022 · 1 comment

Comments

@wangchangquan
Copy link

in the site : https://github.com/trust-ai/SafeBench/tree/main/src/agent/gym_node/src/planning. we can find the source code of RL algrithm. but not describe the training method in details .I have some quesitons.
1,when i run "python run.py -p ppo", encounter a problems,the error message is

File "run.py", line 5, in
from planning.carla_runner import CarlaRunner
File "/home/carla/Evaluation/src/agent/gym_node/src/planning/carla_runner.py", line 5, in
import gym_carla
File "/home/carla/Evaluation/src/agent/gym_node/src/gym_carla/init.py", line 1, in
from .carla_env import CarlaEnv
File "/home/carla/Evaluation/src/agent/gym_node/src/gym_carla/carla_env.py", line 22, in
from carla_ros_scenario_runner_types.srv import GetEgoVehicleRoute
ImportError: cannot import name 'GetEgoVehicleRoute' from 'carla_ros_scenario_runner_types.srv' (/home/carla/carla-ros-bridge/catkin_ws/devel/lib/python3/dist-packages/carla_ros_scenario_runner_types/srv/init.py)

I cannt find "GetEgoVehicleRoute'" in the docker ,and the ros_brige official site (https://github.com/carla-simulator/ros-bridge) cannt find it either. so where is the file ?

2,can you supply the training command and training dataset?
I think the command "python run.py -p ppo",include training and evaluate ,is that right? but where is the offline dataset . or we have to collect data from carla server?

@garyxcj
Copy link
Collaborator

garyxcj commented Oct 29, 2022

Hi, the RL algorithms are trained in SafeBench. We're working on the final release of the training API. The API will be provided before the SafeBench Challenge. Please stay tuned! Thank you!

@garyxcj garyxcj closed this as completed Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants