apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Demo 3.5 camera sensor and LiDAR point cloud not working?

Open osamakhaan opened this issue 7 years ago • 8 comments

I have setup Apollo 3.5 and the demo runs fine (see screenshot below).

screenshot from 2019-01-14 11-56-08

However, I cannot open the camera sensor and LiDAR point cloud shown in the following demo:

https://www.youtube.com/watch?v=JWoNMFsPRH8

For reference, the camera view appears blank as shown in the bottom right corner of the screenshot below:

screenshot from 2019-01-14 13-12-19

osamakhaan avatar Jan 14 '19 09:01 osamakhaan

File size is limited and demo_3.5.record does not contain point cloud and image data

mickeyouyou avatar Jan 14 '19 09:01 mickeyouyou

In that case, is it possible to get the demo_3.5.record file that contains the image data? Also, is it possible to run the previous demos (e.g. demo_2.5.bag) on Apollo 3.5?

osamakhaan avatar Jan 14 '19 10:01 osamakhaan

You can use this tool that can transform every rosbag to format record . rosbag_to_record https://github.com/ApolloAuto/apollo/tree/master/modules/data/tools/rosbag_to_record

mickeyouyou avatar Jan 14 '19 10:01 mickeyouyou

Could you please post a sample code on how to run the rosbag_to_record.cc file?

osamakhaan avatar Jan 14 '19 12:01 osamakhaan

It is self explained. std::cout << "Usage:\n" << " rosbag_to_record input.bag output.record" << std::endl;

lianglia-apollo avatar Jan 14 '19 19:01 lianglia-apollo

I get the following error: image

It seems like the files bag.h and view.h are missing from the rosbag folder (see screenshot below of the rosbag_to_record.cc file).

image

osamakhaan avatar Jan 22 '19 12:01 osamakhaan

You can try to build in apollo docker environment: run

bash apollo.sh build

or only build the tool as below:

bazel build modules/data/tools/rosbag_to_record/...

GoLancer avatar Jan 24 '19 03:01 GoLancer

@GoLancer bash apollo.sh build do not generate rosbag_to_record, and bazel build modules/data/tools/rosbag_to_record/... build will failed as https://github.com/ApolloAuto/apollo/issues/9824

tornadomeet avatar Sep 30 '19 08:09 tornadomeet