Shell Script and C Program in ROS
Hi,
I have been using ROS now for quiet a good time and have been able to achieve several applications. However, recently i came up with a new requirement of having the capability to make ROS run shell scripts and C programs. Although I have some idea on this using some crude Linux methods, I would like to know if there is any formal method of being able to do this?
I have a custom code for a specific application written in C and the operations of the code is invoked using shell commands. I would like to incorporate this into ROS environment to complete my task.
Any relevant information could help me on this.
I am using Ubuntu 12.04 with ROS-fuerte and another system with Ubuntu 11.10 and ROS-electric.
Thanks.
If you mean using something like system(), I don't see why you consider that crude.
I said so just because I thought it would be more a linux way than a ROS way. But if there was no other option I would go with the system() function.