strands-project / strands_perception_people

long-term detection, tracking and recognition of people
96 stars 70 forks source link

really fixed ground plane without ptu #233

Open FooKii opened 4 years ago

FooKii commented 4 years ago

For robot/simulation without PTU, and as writen in #177.

Notice if your robot is static or u just want it to work, a quick fix will be set topic "ptu_state" to "/joint_states" in the original "ground_plane_fixed.launch" file, however this can leads to some wrong detections if u have moving joint.

What i modified is just commenting out the "reading tilt from ptu_state" part and force it to use default tilt(0) always.

U still need to set ptu_state topic to something just to trigger the callback function. see in ground_plane_fixed_no_ptu.launch

This is not an elegant fix but just in case anyone need it.