f1tenth/f1tenth_gym_ros

Opponent Car not showing up

Closed this issue · 6 comments

Hi,
I was able to build the docker image. After launching the container, when I run the agent_template launch file, it only shows the ego-vehicle in the rviz window and not the opponent vehicle. What might be the issue here?
Screenshot from 2020-07-20 04-05-24

The git clone link was providing a non-latest version of the directory. I downloaded the zip file. It is working fine now.

The opponent car only shows up on the multi_node branch.

Thanks.

Hi I am trying to execute two separate scripts in the multi-node branch. When I publish speed and steering angle on /ego_id/drive topic for the ego vehicle, only the steering of the ego-vehicle works. Similarly when I publish speed and steering angle on /opp_id/drive topic, only the steering of opp-vehicle works. However sometimes the opp-vehicle and ego-vehicle moves with publishing on /opp_id/drive only.
On echoing the ros-topics I get what I am publishing but the vehicles are not moving. Can you help?

Could you try checking the subscription and published topics of the nodes using rosnode info?

Closing due to inactivity.