rigid_body_motion.ros.init_node
- rigid_body_motion.ros.init_node(name, start_master=False)[source]
Register a client node with the master.
- Parameters:
- name: str
Name of the node.
- start_master: bool, default False
If True, start a ROS master if one isn’t already running.
- Returns:
- master: ROSLaunchParent or ROSMasterStub instance
If a ROS master was started by this method, returns a
ROSLaunchParentinstance that can be used to shut down the master with itsshutdown()method. Otherwise, aROSMasterStubis returned that shows a warning when itsshutdown()method is called.