7 #include <ocl/DeploymentComponent.hpp> 8 #include <ocl/TaskBrowser.hpp> 9 #include "../rtt_tf-component.hpp" 10 #include <geometry_msgs/TransformStamped.h> 15 <geometry_msgs::TransformStamped(
const std::string &,
const std::string &,
const ros::Time &)>
lookup_;
17 <geometry_msgs::TransformStamped(
const std::string &,
const std::string &)>
lookup_now_;
24 ,
lookup_(
"lookupTransformAtTime")
45 tform_now_ =
lookup_now_(
"/world",
"rel_rtt_tf_test");
64 deployer.
import(
"rtt_rosnode");
65 deployer.
import(
"rtt_std_msgs");
66 deployer.
import(
"rtt_geometry_msgs");
67 deployer.
import(
"rtt_tf2_msgs");
85 tf_component->
start();
geometry_msgs::TransformStamped tform_
LookupComponent(const std::string &name)
Property< T > & addProperty(const std::string &name, T &attr)
bool setActivity(const std::string &comp_name, double period, int priority, int scheduler)
ORO_CREATE_COMPONENT(LookupComponent)
bool import(const std::string &package)
friend friend class TaskContext
bool connectPeers(const std::string &one, const std::string &other)
RTT::TaskContext * myGetPeer(std::string name)
geometry_msgs::TransformStamped tform_now_
ServiceRequester::shared_ptr requires()
RTT::OperationCaller< geometry_msgs::TransformStamped(const std::string &, const std::string &)> lookup_now_
RTT::OperationCaller< bool(const std::string &, const std::string &)> subscribe_transform_
int ORO_main(int argc, char **argv)
virtual ~LookupComponent()
bool loadComponent(const std::string &name, const std::string &type)
virtual bool connectServices(TaskContext *peer)
RTT::OperationCaller< geometry_msgs::TransformStamped(const std::string &, const std::string &, const ros::Time &)> lookup_