Package Summary
| Tags | No category tags. |
| Version | 2.9.2 |
| License | GPL |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/orocos/rtt_ros_integration.git |
| VCS Type | git |
| VCS Version | toolchain-2.9 |
| Last Updated | 2019-05-15 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Orocos Developers
Authors
- Ruben Smits
RTT TF
This package provides an Orocos RTT component for utilizing the TF2 rigid body transform library from within Orocos. This component provides a "tf" service with operations for requesting and broadcasting sing and batch transforms.
Usage
In general, a given process only needs a single TF2 component. This component provides the following operations both on its bare interface and also on the provided "tf" RTT service.
-
"lookupTransform" Lookup the most recent transform from source to target.
- "target", Target frame
- "source", Source frame
-
"lookupTransformAtTime" Lookup the most recent transform from source to target at a specific time.
- "target", Target frame
- "source", Source frame
- "common_time",
ros::TimeThe common time at which the transform should be computed
-
"broadcastTransform" Broadcast a stamped transform immediately.
- "transform",
geometry\_msgs::TransformStamped
- "transform",
-
"broadcastTransforms" Broadcast a stamped transform immediately.
- "transforms",
std::vector<geometry_msgs::TransformStamped>
- "transforms",
To use these operations, you need to instantiate an rtt_tf::RTT_TF component,
and then connect it with whichever components you intend to have use it:
import("rtt_ros");
// Import and load the TF component
ros.import("rtt_tf");
loadComponent("tf","rtt_tf::RTT_TF");
// Connect operations the tf component's provided "tf" service to another
// component's required "tf" service (easily created with the C++ API shown in the
// next section)
loadComponent("my_component","MyComponent");
connectServices("my_component","tf");
C++ API
The rtt_tf/tf_interface.h header includes the
rtt_tf::TFInterface class which adds a required service to a given RTT
component. This can be used for more easily connecting with the TF2 component.
It can be used to create the RTT service requester "tf" like so:
#include <rtt_tf/tf_interface.h>
//...
class MyComponent : public RTT::TaskContext {
private:
rtt_tf::TFInterface tf_;
public:
MyComponent(std::string &name) :
RTT::TaskContext(name),
// Add the services
tf_(this)
{ /* ... */ }
bool startHook() {
// Make sure tf is ready & connected
return tf_.ready();
}
void updateHook() {
// Lookup a transform
geometry_msgs::TransformStamped tform = tf_.lookupTransform("/world","/my_frame");
// ...
}
};
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | rtt | |
| 1 | tf | |
| 2 | tf2 | |
| 1 | rtt_roscomm | |
| 1 | rtt_geometry_msgs | |
| 1 | rtt_tf2_msgs | |
| 1 | catkin |
System Dependencies
Dependant Packages
| Name | Repo | Deps |
|---|---|---|
| rtt_ros_integration | github-orocos-rtt_ros_integration |
Launch files
Messages
Services
Plugins
Recent questions tagged rtt_tf at answers.ros.org
Package Summary
| Tags | No category tags. |
| Version | 2.9.2 |
| License | GPL |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/orocos/rtt_ros_integration.git |
| VCS Type | git |
| VCS Version | toolchain-2.9 |
| Last Updated | 2019-05-15 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Orocos Developers
Authors
- Ruben Smits
RTT TF
This package provides an Orocos RTT component for utilizing the TF2 rigid body transform library from within Orocos. This component provides a "tf" service with operations for requesting and broadcasting sing and batch transforms.
Usage
In general, a given process only needs a single TF2 component. This component provides the following operations both on its bare interface and also on the provided "tf" RTT service.
-
"lookupTransform" Lookup the most recent transform from source to target.
- "target", Target frame
- "source", Source frame
-
"lookupTransformAtTime" Lookup the most recent transform from source to target at a specific time.
- "target", Target frame
- "source", Source frame
- "common_time",
ros::TimeThe common time at which the transform should be computed
-
"broadcastTransform" Broadcast a stamped transform immediately.
- "transform",
geometry\_msgs::TransformStamped
- "transform",
-
"broadcastTransforms" Broadcast a stamped transform immediately.
- "transforms",
std::vector<geometry_msgs::TransformStamped>
- "transforms",
To use these operations, you need to instantiate an rtt_tf::RTT_TF component,
and then connect it with whichever components you intend to have use it:
import("rtt_ros");
// Import and load the TF component
ros.import("rtt_tf");
loadComponent("tf","rtt_tf::RTT_TF");
// Connect operations the tf component's provided "tf" service to another
// component's required "tf" service (easily created with the C++ API shown in the
// next section)
loadComponent("my_component","MyComponent");
connectServices("my_component","tf");
C++ API
The rtt_tf/tf_interface.h header includes the
rtt_tf::TFInterface class which adds a required service to a given RTT
component. This can be used for more easily connecting with the TF2 component.
It can be used to create the RTT service requester "tf" like so:
#include <rtt_tf/tf_interface.h>
//...
class MyComponent : public RTT::TaskContext {
private:
rtt_tf::TFInterface tf_;
public:
MyComponent(std::string &name) :
RTT::TaskContext(name),
// Add the services
tf_(this)
{ /* ... */ }
bool startHook() {
// Make sure tf is ready & connected
return tf_.ready();
}
void updateHook() {
// Lookup a transform
geometry_msgs::TransformStamped tform = tf_.lookupTransform("/world","/my_frame");
// ...
}
};
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | rtt | |
| 1 | tf | |
| 2 | tf2 | |
| 1 | rtt_roscomm | |
| 1 | rtt_geometry_msgs | |
| 1 | rtt_tf2_msgs | |
| 1 | catkin |
System Dependencies
Dependant Packages
| Name | Repo | Deps |
|---|---|---|
| rtt_ros_integration | github-orocos-rtt_ros_integration |
Launch files
Messages
Services
Plugins
Recent questions tagged rtt_tf at answers.ros.org
Package Summary
| Tags | No category tags. |
| Version | 2.8.6 |
| License | GPL |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/orocos/rtt_ros_integration.git |
| VCS Type | git |
| VCS Version | indigo-devel |
| Last Updated | 2018-07-23 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Orocos Developers
Authors
- Ruben Smits
RTT TF
This package provides an Orocos RTT component for utilizing the TF rigid body transform library from within Orocos. This component provides a "tf" service with operations for requesting and broadcasting sing and batch transforms.
Usage
In general, a given process only needs a single TF component. This component provides the following operations both on its bare interface and also on the provided "tf" RTT service.
-
"lookupTransform" Lookup the most recent transform from source to target.
- "target", Target frame
- "source", Source frame
-
"lookupTransformAtTime" Lookup the most recent transform from source to target at a specific time.
- "target", Target frame
- "source", Source frame
- "common_time",
ros::TimeThe common time at which the transform should be computed
-
"broadcastTransform" Broadcast a stamped transform immediately.
- "transform",
geometry\_msgs::TransformStamped
- "transform",
-
"broadcastTransforms" Broadcast a stamped transform immediately.
- "transforms",
std::vector<geometry_msgs::TransformStamped>
- "transforms",
To use these operations, you need to instantiate an rtt_tf::RTT_TF component,
and then connect it with whichever components you intend to have use it:
import("rtt_ros");
// Import and load the TF component
ros.import("rtt_tf");
loadComponent("tf","rtt_tf::RTT_TF");
// Connect operations the tf component's provided "tf" service to another
// component's required "tf" service (easily created with the C++ API shown in the
// next section)
loadComponent("my_component","MyComponent");
connectServices("my_component","tf");
C++ API
The rtt_tf/tf_interface.h header includes the
rtt_tf::TFInterface class which adds a required service to a given RTT
component. This can be used for more easily connecting with the TF component.
It can be used to create the RTT service requester "tf" like so:
#include <rtt_tf/tf_interface.h>
//...
class MyComponent : public RTT::TaskContext {
private:
rtt_tf::TFInterface tf_;
public:
MyComponent(std::string &name) :
RTT::TaskContext(name),
// Add the services
tf_(this)
{ /* ... */ }
bool startHook() {
// Make sure tf is ready & connected
return tf_.ready();
}
void updateHook() {
// Lookup a transform
geometry_msgs::TransformStamped tform = tf_.lookupTransform("/world","/my_frame");
// ...
}
};
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | rtt | |
| 1 | tf | |
| 1 | rtt_roscomm | |
| 1 | rtt_geometry_msgs | |
| 1 | catkin |
System Dependencies
Dependant Packages
| Name | Repo | Deps |
|---|---|---|
| rtt_ros_integration | github-orocos-rtt_ros_integration |
Launch files
Messages
Services
Plugins
Recent questions tagged rtt_tf at answers.ros.org
Package Summary
| Tags | No category tags. |
| Version | 2.8.6 |
| License | GPL |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/orocos/rtt_ros_integration.git |
| VCS Type | git |
| VCS Version | jade-devel |
| Last Updated | 2018-07-23 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Orocos Developers
Authors
- Ruben Smits
RTT TF
This package provides an Orocos RTT component for utilizing the TF rigid body transform library from within Orocos. This component provides a "tf" service with operations for requesting and broadcasting sing and batch transforms.
Usage
In general, a given process only needs a single TF component. This component provides the following operations both on its bare interface and also on the provided "tf" RTT service.
-
"lookupTransform" Lookup the most recent transform from source to target.
- "target", Target frame
- "source", Source frame
-
"lookupTransformAtTime" Lookup the most recent transform from source to target at a specific time.
- "target", Target frame
- "source", Source frame
- "common_time",
ros::TimeThe common time at which the transform should be computed
-
"broadcastTransform" Broadcast a stamped transform immediately.
- "transform",
geometry\_msgs::TransformStamped
- "transform",
-
"broadcastTransforms" Broadcast a stamped transform immediately.
- "transforms",
std::vector<geometry_msgs::TransformStamped>
- "transforms",
To use these operations, you need to instantiate an rtt_tf::RTT_TF component,
and then connect it with whichever components you intend to have use it:
import("rtt_ros");
// Import and load the TF component
ros.import("rtt_tf");
loadComponent("tf","rtt_tf::RTT_TF");
// Connect operations the tf component's provided "tf" service to another
// component's required "tf" service (easily created with the C++ API shown in the
// next section)
loadComponent("my_component","MyComponent");
connectServices("my_component","tf");
C++ API
The rtt_tf/tf_interface.h header includes the
rtt_tf::TFInterface class which adds a required service to a given RTT
component. This can be used for more easily connecting with the TF component.
It can be used to create the RTT service requester "tf" like so:
#include <rtt_tf/tf_interface.h>
//...
class MyComponent : public RTT::TaskContext {
private:
rtt_tf::TFInterface tf_;
public:
MyComponent(std::string &name) :
RTT::TaskContext(name),
// Add the services
tf_(this)
{ /* ... */ }
bool startHook() {
// Make sure tf is ready & connected
return tf_.ready();
}
void updateHook() {
// Lookup a transform
geometry_msgs::TransformStamped tform = tf_.lookupTransform("/world","/my_frame");
// ...
}
};
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | rtt | |
| 1 | tf | |
| 1 | rtt_roscomm | |
| 1 | rtt_geometry_msgs | |
| 1 | catkin |
System Dependencies
Dependant Packages
| Name | Repo | Deps |
|---|---|---|
| rtt_ros_integration | github-orocos-rtt_ros_integration |
Launch files
Messages
Services
Plugins
Recent questions tagged rtt_tf at answers.ros.org
Package Summary
| Tags | No category tags. |
| Version | 2.7.2 |
| License | GPL |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/orocos/rtt_ros_integration.git |
| VCS Type | git |
| VCS Version | hydro-devel |
| Last Updated | 2015-07-21 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Orocos Developers
Authors
- Ruben Smits
RTT TF
This package provides an Orocos RTT component for utilizing the TF rigid body transform library from within Orocos. This component provides a "tf" service with operations for requesting and broadcasting sing and batch transforms.
Usage
In general, a given process only needs a single TF component. This component provides the following operations both on its bare interface and also on the provided "tf" RTT service.
-
"lookupTransform" Lookup the most recent transform from source to target.
- "target", Target frame
- "source", Source frame
-
"lookupTransformAtTime" Lookup the most recent transform from source to target at a specific time.
- "target", Target frame
- "source", Source frame
- "common_time",
ros::TimeThe common time at which the transform should be computed
-
"broadcastTransform" Broadcast a stamped transform immediately.
- "transform",
geometry\_msgs::TransformStamped
- "transform",
-
"broadcastTransforms" Broadcast a stamped transform immediately.
- "transforms",
std::vector<geometry_msgs::TransformStamped>
- "transforms",
To use these operations, you need to instantiate an rtt_tf::RTT_TF component,
and then connect it with whichever components you intend to have use it:
import("rtt_ros");
// Import and load the TF component
ros.import("rtt_tf");
loadComponent("tf","rtt_tf::RTT_TF");
// Connect operations the tf component's provided "tf" service to another
// component's required "tf" service (easily created with the C++ API shown in the
// next section)
loadComponent("my_component","MyComponent");
connectServices("my_component","tf");
C++ API
The rtt_tf/tf_interface.h header includes the
rtt_tf::TFInterface class which adds a required service to a given RTT
component. This can be used for more easily connecting with the TF component.
It can be used to create the RTT service requester "tf" like so:
#include <rtt_tf/tf_interface.h>
//...
class MyComponent : public RTT::TaskContext {
private:
rtt_tf::TFInterface tf_;
public:
MyComponent(std::string &name) :
RTT::TaskContext(name),
// Add the services
tf_(this)
{ /* ... */ }
bool startHook() {
// Make sure tf is ready & connected
return tf_.ready();
}
void updateHook() {
// Lookup a transform
geometry_msgs::TransformStamped tform = tf_.lookupTransform("/world","/my_frame");
// ...
}
};
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | rtt | |
| 1 | tf | |
| 1 | rtt_roscomm | |
| 1 | rtt_geometry_msgs | |
| 1 | catkin |
System Dependencies
Dependant Packages
| Name | Repo | Deps |
|---|---|---|
| rtt_ros_integration | github-orocos-rtt_ros_integration |