-
Notifications
You must be signed in to change notification settings - Fork 74
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
Npc traffic spawning feature #70
Npc traffic spawning feature #70
Conversation
@johnMinelli , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for letting me know.
I am (re-)submitting partial review comments. Please address them to take this forward.
Please let me know if this feedback is also not visible to you.
src/macad_gym/carla/config.json
Outdated
@@ -45,7 +45,7 @@ | |||
"reward_function": "corl2017", | |||
"manual_control": false, | |||
"auto_control": false, | |||
"camera_type": "rgb", | |||
"camera_type": "ray", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain the rationale behind this change?
ray
is not a camera_type
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i added the ability to use many different camera types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay but, what does the ray
camera type refer to?
CARLA doesn't have a ray
camera.
…num; small changes for PR comments resolution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. I made the changes as you suggested, let me know if it is ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnMinelli , Thank you for the updates! I have left a few minor comments to be resolved before we merge this in.
src/macad_gym/carla/config.json
Outdated
@@ -45,7 +45,7 @@ | |||
"reward_function": "corl2017", | |||
"manual_control": false, | |||
"auto_control": false, | |||
"camera_type": "rgb", | |||
"camera_type": "ray", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay but, what does the ray
camera type refer to?
CARLA doesn't have a ray
camera.
@johnMinelli : Could you please resolve the comment above on the |
oh sorry, I totally missed your reply |
The scenarios can be customized adding
vehicles
andpedestrians
keys in order to spawn n NPC in the mapAdditionally the environment now present a public variable
exclude_hard_vehicles
which allow to exclude the big vehicles (note also that the fixed camera position clip in some of those vehicles)