1
0
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:
Felix Mauch
2019-06-12 11:31:14 +02:00
committed by Tristan Schnell
parent ad129da4c1
commit 25e9aafc14
7 changed files with 496 additions and 0 deletions

View 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;
}