How to view osrf car_demo's topics in another terminal?
Hello,
I typed ./run_demo.bash and i can now see the simulator and is able to control the vehicle by keyboard. However no topics are available after opening another terminal and attempting to listen to the rostopics.
My objective is to be able to publish velocity commands and subscribe to odometry .
I would appreciate any advice you can give and i am new to docker containers and i am unsure what to do.
Reference used: https://github.com/osrf/car_demo
Hi @JoshuaSiy,
The demo is executed inside the docker container. Hence you will need to call
rostopic list
command inside the container itself. You can enter in the container by runningdocker exec -it container_id bash
in a terminal, where thecontainer_id
can be found using thedocker ps -a
command