ViconTrackerOptions.cpp
Go to the documentation of this file.
00001 /*
00002  * ViconTrackerOptions.cpp
00003  *
00004  *  Created on: Oct 22, 2011
00005  *      Author: mriedel
00006  */
00007 
00008 #include <telekyb_vicon/ViconTrackerOptions.hpp>
00009 
00010 
00011 namespace TELEKYB_NAMESPACE
00012 {
00013 
00014 ViconTrackerOptions::ViconTrackerOptions()
00015         : OptionContainer("ViconTracker")
00016 {
00017         tTrackerHostname = addOption<std::string>("tTrackerHostname",
00018                         "IP/Hostname:Port of Vicon Tracker", std::string("localhost"), false, true);
00019         tStreamMode = addOption<ViconStreamModeBaseEnum<Vicon::StreamMode::Enum>::Type>("tStreamMode",
00020                         "Set Streaming mode to/from Client", Vicon::StreamMode::ClientPull, false, true);
00021         tEnableSegmentData = addOption<bool>("tEnableSegmentData",
00022                         "Enable kinematic Segment Data", true, false, true);
00023         tEnableMarkerData = addOption<bool>("tEnableMarkerData",
00024                         "Enable labeled reconstructed marker data", false, false, true);
00025 
00026         // filled with dummy values. -> Only read if !isOnInitialValues
00027         boost::array<ViconDirectionBaseEnum<Vicon::Direction::Enum>::Type, 3> axisMappingArray =
00028                 {{ ViconDirection::Forward , ViconDirection::Left , ViconDirection::Up }};
00029         tAxisMapping = addOption<boost::array<ViconDirectionBaseEnum<Vicon::Direction::Enum>::Type, 3> >(
00030                         "tAxisMapping",
00031                         "Set Vicon Tracker Axis Mapping.",
00032                         axisMappingArray,
00033                         false,
00034                         true);
00035 
00036 
00037         tPublishTF = addOption<bool>("tPublishTF",
00038                         "Publish transform to /tf", false, false, true);
00039 }
00040 
00041 } // namespace
00042 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


telekyb_vicon
Author(s): Dr. Antonio Franchi
autogenerated on Wed Apr 24 2013 11:29:26