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

Revision history [back]

click to hide/show revision 1
initial version

std_msgs/String is different the string type that you used when defining the action. I would imagine that if you did:

goal.sequence_name = "string";

it would probably also work.

std_msgs/String is different the string type that you used when defining the action. I would imagine that if you did:

goal.sequence_name = "string";

it would probably also work.

Additionally, if you want the type to be std_msgs/String, you would have to do this in your action file:

# Define the goal
std_msgs/String sequence_name  # Name the sequence to run, e.g. "turn handle clockwise"
---
# Define the result (typically an incremental result, but just boolean in this case)
bool in_progress
---
# Define a feedback message
bool success