carla-simulator / ros-bridge

ROS bridge for CARLA Simulator
MIT License
513 stars 414 forks source link

How to set Synchronous mode to listen for trajectory not control command #600

Open kargarisaac opened 2 years ago

kargarisaac commented 2 years ago

Hi, I have a ros node which outputs a trajectory but its computation time is too much. I want to sync carla sim with that but when I set the synchronous_mode_wait_for_vehicle_control_command to True in the ros bridge, again it doesn't work. I think carla cares about the control command and not the trajectory. Is there anyway I can solve this? I don't want to implement this in C++ to improve the speed.