Go to the documentation of this file.00001
00002
00003
00004
00005
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
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 }
00042