hand_control/cfg/Estimator.cfg
2015-09-18 16:52:52 +02:00

27 lines
1 KiB
Python
Executable file

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Copyright © 2015 CentraleSupélec
#
# This file is part of Hand Control.
#
# Hand Control is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Hand Control is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Hand Control. If not, see <http://www.gnu.org/licenses/>.
PACKAGE = "hand_control"
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen.add("reverse", bool_t, 0, "Pose the kinect in parallel with the arm")
gen.add("reverse_angle", bool_t, 0, "Change the angle sign")
exit(gen.generate(PACKAGE, "hand_control", "Estimator"))