ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

result is a manipulator::DetectionResultConstPtr. Note the ConstPtr part. Thus, it should be result->translationx, most probably.

I'm a bit confused about the compiler error, though. Thus, I'm basically seconding @PeterBlackerThe3rd :-) Copying the compiler error with relevant context (and not typing) helps here...

result is a manipulator::DetectionResultConstPtr. Note the ConstPtr part. Thus, it should be result->translationx, most probably.

I'm a bit confused about the compiler error, though. Thus, I'm basically seconding @PeterBlackerThe3rd @PeteBlackerThe3rd :-) Copying the compiler error with relevant context (and not typing) helps here...