apollo icon indicating copy to clipboard operation
apollo copied to clipboard

trying to run velodyne 64 driver of Apollo3.5 fails

Open hzdsdhr opened this issue 7 years ago • 2 comments

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 14.04):
  • Apollo installed from (source or binary):
  • Apollo version (3.5): I try to run velodyne 64 driver of Apollo3.5, but it fails, I can see topics like PointCloud2 and VelodyneScan, but there no messages in topic /compensator, please check below pic: screenshot from 2019-01-19 16-13-52

And the error log says:

I0119 16:23:19.807721  6204 compensator.cc:87]  compenstator new msg diff:1437513;meta:1547886199742789120  
E0119 16:23:19.908959  6204 compensator.cc:34]  Can not find transform. 1547886199642714112 frame_id:velodyne64 Error info: canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.canTransform: source_frame velodyne64 does not exist.  

Can someone help? Thank you.

hzdsdhr avatar Jan 19 '19 09:01 hzdsdhr

I had a similar error trying to run the Velodyne 128 driver.

You can fix It by making changes to the config files, I am not sure which ones, but look through the driver module, and and find all the config files that affect this driver node.

I think I had to do something like, change a source_frame config attribute from "world" to "velodyne128", I realize this is sort of a hack fix, but it helped me. Though I also am possibly confusing that with a different error.

snuffysasa avatar Feb 11 '19 05:02 snuffysasa

Hi @hzdsdhr @snuffysasa ,compensation need a static transform from novatel to velodyne64, which store in a file like extrinsic parameter. And then add the file path to the config file transform conf

fengqikai1414 avatar Mar 19 '19 11:03 fengqikai1414