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

Disable collision checking in CV Mode #1088

Open
kshitijgoel007 opened this issue May 12, 2018 · 7 comments
Open

Disable collision checking in CV Mode #1088

kshitijgoel007 opened this issue May 12, 2018 · 7 comments
Labels

Comments

@kshitijgoel007
Copy link

I am trying to disable collision checking, both between multiple pawns and pawn with the environment. I am currently using Python Client and running all the vehicles in CV Mode. How do I disable all the collision checking functionality? (I have my own collision checker that I want to test)

@sytelus
Copy link
Contributor

sytelus commented May 14, 2018

Try putting "EnableCollisionPassthrogh": true in settings.json root and let us know if it works.

@kshitijgoel007
Copy link
Author

@sytelus Works, thanks. Closing.

@kshitijgoel007
Copy link
Author

kshitijgoel007 commented May 15, 2018

Sorry, this doesn't work. I mistakenly evaluated the above with trajectories that didn't have collisions in first place.

@patrickschulte
Copy link

I got the same issue. Try to change positions/poses, but it pawn with the environment. The

"EnableCollisionPassthrogh": true command did not help!

@kshitijgoel007
Copy link
Author

@sytelus Is there any update on this issue?

@AloshkaD
Copy link
Contributor

AloshkaD commented Aug 6, 2018

@kshitijgoel007 a work around is to write a function that changes the state of the drone/car when a collision is detected. You can easly do that by using the info passed by collisioninfo. Here is a sample from my drone of what collision info passes

"collision_info { 'has_collided': False,
'impact_point': { 'x_val': -0.3316308557987213,
'y_val': 0.3356521427631378,
'z_val': 0.8735041618347168},
'normal': { 'x_val': -9.536425468748e-13,
'y_val': -1.1920131453635154e-19,
'z_val': -1.0},
'object_id': 148,
'object_name': 'Ground_5',
'penetration_depth': 0.0,
'position': { 'x_val': 0.0,
'y_val': 0.0,
'z_val': 0.6751062870025635},
'time_stamp': 1533561354892807936}"

@liqimai
Copy link

liqimai commented Dec 15, 2023

@sytelus Is there any update on this issue? I want to disable collisions between multiple vehicles but keep collisions with the environment, so that I can simulate tons of cars at the same time to speed up RL training.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants