ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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...
2 | No.2 Revision |
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...