Apollo: No rosbag command

Created on 7 Jul 2017  ·  6Comments  ·  Source: ApolloAuto/apollo

Hi how can i get the rosbag command?

Docker Question

Most helpful comment

@wadewang6
I have met the same problem and I solved it by following commands:

source /apollo/bazel-apollo/external/ros/setup.bash

which via https://github.com/ApolloAuto/apollo/issues/80

All 6 comments

Any context about your current env? Which way do you choose to run Apollo?
The possible ways to run Apollo can be found at https://github.com/ApolloAuto/apollo/blob/master/FAQ.md

You probably have to install rosbag by yourself
for example in my ubuntu "sudo apt install python-rosbag"

rosbag is available as part of the Docker environment -- you don't need to install it yourself if you use the docker environment. Make sure you are running rosbag command within the docker environment.

@wadewang6
I have met the same problem and I solved it by following commands:

source /apollo/bazel-apollo/external/ros/setup.bash

which via https://github.com/ApolloAuto/apollo/issues/80

I was having the same issue and @zezhou 's answer worked just fine for me.

A better solution is to source /apollo/scripts/apollo_base.sh, which actually should have been run once when you enter the container. But there is no harm to do it again by hand, if you cannot find ros.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Triangle001 picture Triangle001  ·  3Comments

maziqiqi picture maziqiqi  ·  3Comments

poutyface picture poutyface  ·  3Comments

zmsunnyday picture zmsunnyday  ·  3Comments

JSnobody picture JSnobody  ·  3Comments