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

Revision history [back]

walkRequest_ is a pointer type, walkRequest_->speed is a value type, so you want:

walkRequest.speed.x = walkRequest_->speed.x;