-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Walker animation when teleporting actors via Python API #3774
Comments
@bernatx could you have a look at this please? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bumping, as this is still relevant. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump |
I also want to models pedestrian movement, but spawn_npc_sumo.py not support pedestrain any more. What show I do? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have an external script which models pedestrian movement (position, speed, and orientation), and I want to be able to use this to control CARLA walker actors. I have tested two approaches so far: disabling physics for the actor and teleporting it using
Walker.set_transform()
, and using aWalkerControl
object with a direction vector and speed corresponding to the difference between the desired location and the current location. The problem with the latter approach is that due to physics, and possibly some other factors I'm not aware of, the resulting trajectory does not precisely match the one calculated by the script. However, in the former approach, the walking animation is not present, with the walkers simply standing straight up and "gliding" across the ground.I am looking for a way to precisely control the location and orientation of Walkers, while also being able to enable the walking animation using the python API. Is there currently any way that this could be accomplished?
Note: such a feature would also be very useful for Sumo and VISSIM co-simulation with pedestrians.
The text was updated successfully, but these errors were encountered: