ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
walkRequest_
is a pointer type, walkRequest_->speed
is a value type, so you want:
walkRequest.speed.x = walkRequest_->speed.x;