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

Integrating a program into ROS [closed]

asked 2014-04-27 07:36:28 -0600

richkappler gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by richkappler
close date 2014-04-27 08:50:37

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-27 08:22:59 -0600

adreno gravatar image

This should be it - http://wiki.ros.org/ROS/Tutorials/Cre... If its a single node then you don't need to write any publisher/subscriber. Just go through the ROS Tutorials.

edit flag offensive delete link more

Comments

Hi adreno , it seems that when using the '<build_depend>' and '<run_depend>' tags can only access ros-built in libraries. How could I use a pre-compiled .a and .so in a ros node ? (I don't have the source code, it's a camera driver) THX !

fromandto gravatar image fromandto  ( 2014-11-24 10:33:27 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-27 07:36:28 -0600

Seen: 202 times

Last updated: Apr 27 '14