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

Problem solved.

I forgot to add "..c_str()" to the end of the string expansion....ugh #Simples #CodeBlind

Mark

Problem solved.

I forgot to add "..c_str()" to ".c_str()" e.g.

ROS_INFO("Answer: %s", result->text); should read

ROS_INFO("Answer: %s", result->text.c_str());

To the end of the string expansion....ugh #Simples #CodeBlind

Mark