apollo icon indicating copy to clipboard operation
apollo copied to clipboard

No rosbag command

Open wadewang6 opened this issue 9 years ago • 6 comments

Hi how can i get the rosbag command?

wadewang6 avatar Jul 07 '17 10:07 wadewang6

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

ycool avatar Jul 07 '17 14:07 ycool

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

gkevinyen5418 avatar Jul 09 '17 10:07 gkevinyen5418

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.

aiguo159 avatar Jul 11 '17 21:07 aiguo159

@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

zezhou avatar Aug 24 '17 06:08 zezhou

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

liabixiaoxin avatar Mar 08 '18 17:03 liabixiaoxin

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.

xiaoxq avatar Mar 28 '18 17:03 xiaoxq