ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In simple_action_client.h
it's defined like this:
void sendGoal(const Goal& goal,
SimpleDoneCallback done_cb = SimpleDoneCallback(),
SimpleActiveCallback active_cb = SimpleActiveCallback(),
SimpleFeedbackCallback feedback_cb = SimpleFeedbackCallback());
In C++ you can specify default function argument value with =
sign. It's an optional value and therefore doesn't need to be present while calling that function. If you don't specify one it will take the default value (e.g. SimpleDoneCallback()
).