Actions
Bug #141
closedMore than one component in one ROS node
Description
With the BIP Engine running more than one component in the same process, we in fact have one node (but a number of NodeHandle). As a result, genomixd (init.cc) believe the node/component is not running. Here is a patch to ignore the case where we cannot find the node. A better fix may be to check if there are topics such as /module/genom_state:
diff --git a/client/c/init.cc b/client/c/init.cc index aec4f73..0495681 100644 --- a/client/c/init.cc +++ b/client/c/init.cc @@ -123,8 +123,8 @@ genom_<"$comp">_client_init(int argc, char *argv[], genom_mwerr_detail d; snprintf(d.what, sizeof(d.what), "%s node does not seem to be running", h->instance); - genom_mwerr(&d, h); - goto error; + // genom_mwerr(&d, h); + // goto error; } h->node = new ros::NodeHandle;
Updated by Anthony Mallet about 7 years ago
- Status changed from New to Closed
Applied in changeset 35ea398cf249f2ad1ba9bfd65fe99deeed114e9f.
Actions