Can I create twice nodes within in one Source code?
Dear all, As a ROS newbie I am studying the service and write some testcode based on tutorials. it works well but one addition question raised. sorry if it is a silly question... For exp,if ROBOT had completed one task (nodeA) it needs notify other node(B) some parameters (position,tate etc..) as this is not a frequent messge would be better use service rather than topic. Then Node B need do something else based on these message.
My question is as each source code can only create one node(is that correct understanding??) so within the node A,can I create another service node (service client C) that to communicate with server node B? If it is not allowed,what is the suggest solution?
Thanks at much Mac