apollo icon indicating copy to clipboard operation
apollo copied to clipboard

lidar-based tracker as standalone application

Open ubercool2 opened this issue 8 years ago • 6 comments

@lianglia-apollo I see that you authored code in https://github.com/ApolloAuto/apollo/tree/2f79d67e8937fd2d15fffd87622338741718ae70/modules/perception/obstacle/lidar/tracker/hm_tracker.

Do you know if this tracker can be ran as standalone by e.g. just having it take PointCloud2 data as an input? I would like to benchmark it against our own implementation.

ubercool2 avatar Apr 05 '18 05:04 ubercool2

I am not a core developer of perception module. Based on my understanding, the hm tracker should be able to work alone given that you provided obstacles from the neural network. The point clouds need to be processed in some way to generate obstacles before calling hm_tracker. An example to use hm_tracker is placed at apollo/modules/perception/obstacle/lidar/tracker/hm_tracker/hm_tracker_test.cc.

lianglia-apollo avatar Apr 05 '18 05:04 lianglia-apollo

Hi please take a look the related tools, which takes input (pcds and pose files from rosbags) that invokes the lidar perception process offline and let you save object tracking info. Feel free to modify based on your own needs.

https://github.com/ApolloAuto/apollo/tree/2f79d67e8937fd2d15fffd87622338741718ae70/modules/perception/tool/offline_visualizer_tool

weidezhang avatar Apr 05 '18 13:04 weidezhang

@weidezhang couple of more questions:

  1. does the tracking happen inside this function: https://github.com/ApolloAuto/apollo/blob/2f79d67e8937fd2d15fffd87622338741718ae70/modules/perception/tool/offline_visualizer_tool/offline_lidar_visualizer_tool.cc#L108?

I looked at the public header but no documentation.

  1. In terms of pose what kind of pose do you expect:

    1. vehicle in map frame
    2. pointcloud in map frame
    3. pointcloud in vehicle frame
    4. ...
  2. Does the tracker work on the raw pointclouds or does it expect some pre-processing (e.g. extraction of bounding boxes)

  3. Finally, does the tracker also work on the data from vlp16 or only with vlp64?

ubercool2 avatar Apr 06 '18 16:04 ubercool2

@ubercool2 - You might also want to check out https://autonomoustuff.com/product/astuff-lidar-object-processing/.

JWhitleyWork avatar Apr 09 '18 21:04 JWhitleyWork

@weidezhang I tried to extract tracker from the test program as well as from above suggested visualization tools but couldn't get it to compile after an hour so I gave up. In addition you guys provided no answers to https://github.com/ApolloAuto/apollo/issues/3726#issuecomment-379300158. You can close this issue as wont fix.

@JWhitleyAStuff thanks for sharing. The product information you linked is very scarce, e.g.:

  • does you algorithm use an actual tracker implementation. If yes which one?
  • which motion model you use?
  • which association algorithm do you use?
  • is your code Apollo/research quality or automotive grade?
  • do you have any benchmark data for your algorithm against e.g. ground truth?

ubercool2 avatar Apr 11 '18 08:04 ubercool2

@ubercool2 please let us know if you are still looking for the answers to the questions here.

natashadsouza avatar Aug 27 '18 23:08 natashadsouza