mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-12 11:00:47 +02:00
Added controllers stopper
This node takes care about taking down and restarting controllers based on the robot's state. Closes #48
This commit is contained in:
committed by
Tristan Schnell
parent
ad129da4c1
commit
25e9aafc14
30
controller_stopper/src/controller_stopper_node.cpp
Normal file
30
controller_stopper/src/controller_stopper_node.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
|
||||
|
||||
// -- BEGIN LICENSE BLOCK ----------------------------------------------
|
||||
// -- END LICENSE BLOCK ------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/*!\file
|
||||
*
|
||||
* \author Felix Mauch mauch@fzi.de
|
||||
* \date 2019-06-12
|
||||
*
|
||||
*/
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
#include <ros/ros.h>
|
||||
|
||||
#include <controller_stopper/controller_stopper.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// Set up ROS.
|
||||
ros::init(argc, argv, "controller_stopper_node");
|
||||
ros::NodeHandle nh;
|
||||
ros::NodeHandle priv_nh("");
|
||||
|
||||
ControllerStopper stopper(nh);
|
||||
|
||||
ros::spin();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user