src/nodes/src/user_IO.cpp
// Outputs a message to the terminal
Outputs a message to the terminal
Outputs a message to the terminal
void UserIO::setOutput(const std_msgs::String::ConstPtr& message) {
        std::string data = message->data.c_str();
        if(data == "getInput") getInput(); 
        else std::cout << data; 
    }
void UserIO :: setOutput ( const std_msgs :: String :: ConstPtr & message ) { std :: string data = message -> data . c_str ( ) ; if ( data == " " ) getInput ( ) ; else std :: cout << data ; }
Outputs a message to the terminal
Outputs a message to the terminal
// a request to get input // without newline