Closed Abc11c closed 7 hours ago
Hi there,
The root of the issue is that the obstacle_publisher
is sending messages on the same topic as the output of the perception pipeline. Since the virtual opponent isn't detectable by LiDAR our perception pipeline can't detect it. This creates a mix of messages where the opponent is not detected, and others where the opponent is detected. This inconsistency is causing the car to switch between trailing the opponent and tracking the raceline, which can lead to crashes.
A quick way to address this is to temporarily disable the perception pipeline. You can do this by not launching the perception pipline in the headtohead.launch.
We're currently developing a better fix and will be integrating it soon.
If you want to enable overtaking behavior, make sure that:
/ot_dyn_sector_server
./dynamic_spliner_tuner_node
.Hope this helps!
Hi,
Thank you for releasing the code! I was wondering how to generate head-to-head simulations for overtaking/trailing strategies (similar to Figure 20).
Specifically, how can I initialize the simulation with 2 agents?(resolved)I'm able to generate the time trials based on the instructions as follows:
Also the head-to-head simulation with a dummy agent with a same racing line as the agent:
However, when it tries to overtake it results in a collision? get the following logs, any suggestions ?
Thanks!