Integrating a program into ROS [closed]
I'm interested in integrating a program (ChatScript) into ROS. It's written in C++, platform independent, receives user input and generates output, can run as a local or a server. Run as a standalone, it runs in the terminal, one types in text, the program parses this text, selects the appropriate response and outputs that text to the terminal as text then waits for the next input.
With my limited but growing understanding of ROS, I should think it would just be a matter of generating a package that runs ChatScript (as written)as a node with a subscriber that listens for input then publishes the generated response. Is it really that simple?
Are there tutorials out there that would help me learn how to do this? I've been through the basic and intermediate tutorials and feel I'm right on the edge of knowing but not quite there.