DHDDeviceOptions.cpp
Go to the documentation of this file.
00001 /*
00002  * DHDDeviceOptions.cpp
00003  *
00004  *  Created on: Mar 4, 2012
00005  *      Author: mriedel
00006  */
00007 
00008 #include "DHDDeviceOptions.hpp"
00009 
00010 namespace TELEKYB_NAMESPACE {
00011 
00012 DHDDeviceOptions::DHDDeviceOptions(const std::string& identifier)
00013         : OptionContainer("DHDDevice_" + identifier)
00014 {
00015         tHapticDeviceController = addOption<std::string>("tHapticDeviceController",
00016                         "Specifiy the Controller to use for this Device", "tk_haptics_base/SampleController", true, true);
00017         tEnableForceAtStart = addOption<bool>("tEnableForceAtStart",
00018                         "Automatically enable Force at Startup", true, false, true);
00019         tCustomEffectorMass = addOption<double>("tCustomEffectorMass",
00020                         "Use this value as the EffectorMass. Negative Values: Use Devices Default Setting", -1.0, false, true);
00021         tDisableGravityCompensation = addOption<bool>("tDisableGravityCompensation",
00022                         "Set to true to disable Gravity Compenstation", false, false, true);
00023         tCenterTranslation = addOption<Position3D>("tCenterTranslation",
00024                         "Translate the Haptic Device Center (in m)", Position3D(0.0, 0.0, 0.0), false, true);
00025         tForceOffset = addOption<Vector3D>("tForceOffset",
00026                         "Add constant force term to the applied force value", Vector3D(0.0, 0.0, 0.0), false, true);
00027 
00028         // Informational output
00029         tStatusOutputFreq = addOption<double>("tStatusOutputFreq",
00030                         "Frequency at which to output tk_haptics_msgs::TKHapticOutput. < 0.01 disables", 0.0, false, false);
00031         tStatusOutputTopic = addOption<std::string>("tStatusOutputTopic",
00032                         "Topicname of tk_haptics_msgs::TKHapticOutput Msg", "StatusOutput", false, true);
00033 }
00034 
00035 
00036 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


dhd32_driver
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:14:43