sasabot / enshu

0 stars 1 forks source link

solve dying ar_marker problem #6

Open taichiH opened 6 years ago

taichiH commented 6 years ago

https://github.com/sasabot/enshu/blob/75bde796650b6f93b3783d1a1478938d4963df32/aero_devel_lib/src/devel_lib.cc#L443

I think this is the reason why ar_marker node has died. After comment out this line, ar_marker had never died.

What is the purpose of this line?

sasabot commented 6 years ago

I think that was there to stop finding AR markers when not needed (for example, when the robot is facing the container, it will find things that look like AR markers. the line prevents this from happening)

I put it there because it was in the original code (well, I did change the line where it was called though). I am not sure why this kills the node.

In short, there should be no problem with removing that line but could you also check what happens when you call that line in, let's say, 518 after publishing the initial pose?