really fixed ground plane without ptu #233
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.