Dedicated Material Load Server -- without robot interface
Class establishes a simple action server for the MaterialLoadAction, and
starts a thread to subscribe to the ROS topic CncStatus.
The Material Load sequence is completed once the door state and the chuck
state are closed.
@param server_name: string, 'MaterialLoad'
@param _result: instance of the mtconnect_msgs.msg.MaterialLoadResult class
@param _as: ROS actionlib SimpleActionServer
@param door_state: int, published value for the CNC door state [0:Open, 1:Closed, -1:Unlatched]
@param chuck_state: int, published value for the CNC chuck state [0:Open, 1:Closed, -1:Unlatched]
@param sub_thread: thread that launches a ROS subscriber to the CncResponseTopic via bridge_publisher node
Definition at line 33 of file material_load_server.py.