ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Okay, I have no idea what I was doing, but I changed the lines:
redTrackSUB = mainHUB.subscribe<std_msgs::int32multiarray::constptr>("redTrack", 30, &mainProcessing::setCurrPosRED,this);
to
redTrackSUB = mainHUB.subscribe<std_msgs::int32multiarray>("redTrack", 30, &mainProcessing::setCurrPosRED,this);
...and it seems to work better now.
If anyone has an explanation, please do so in the comments. Thanks!
2 | No.2 Revision |
Okay, I have no idea what I was doing, but I changed the lines:
redTrackSUB = to
redTrackSUB = ...and it seems to work better now.
If anyone has an explanation, please do so in the comments. Thanks!