#include <ros/ros.h>
#include <nav_msgs/Odometry.h>
#include <geometry_msgs/PoseStamped.h>
#include <geometry_msgs/Vector3Stamped.h>
#include <geometry_msgs/TransformStamped.h>
#include <sensor_msgs/Imu.h>
#include <tf/transform_broadcaster.h>
#include <tf/transform_listener.h>
#include <tf/transform_datatypes.h>
#include <topic_tools/shape_shifter.h>
Go to the source code of this file.
Namespaces | |
namespace | tf |
Typedefs | |
typedef btMatrix3x3 | tf::Matrix3x3 |
typedef btScalar | tfScalar |
Functions | |
void | addTransform (std::vector< geometry_msgs::TransformStamped > &transforms, const tf::StampedTransform &tf) |
void | imuCallback (sensor_msgs::Imu const &imu) |
int | main (int argc, char **argv) |
void | multiCallback (topic_tools::ShapeShifter const &input) |
void | odomCallback (nav_msgs::Odometry const &odometry) |
void | poseCallback (geometry_msgs::PoseStamped const &pose) |
void | sendTransform (geometry_msgs::Pose const &pose, const std_msgs::Header &header, std::string child_frame_id="") |
void | tfCallback (geometry_msgs::TransformStamped const &tf) |
Variables | |
std::string | g_child_frame_id |
ros::Publisher | g_euler_publisher |
std::string | g_footprint_frame_id |
std::string | g_frame_id |
std::string | g_imu_topic |
std::string | g_odometry_topic |
ros::Publisher | g_pose_publisher |
std::string | g_pose_topic |
std::string | g_position_frame_id |
bool | g_publish_roll_pitch |
std::string | g_stabilized_frame_id |
std::string | g_tf_prefix |
std::string | g_topic |
tf::TransformBroadcaster * | g_transform_broadcaster |
typedef btScalar tfScalar |
Definition at line 32 of file message_to_tf.cpp.
void addTransform | ( | std::vector< geometry_msgs::TransformStamped > & | transforms, |
const tf::StampedTransform & | tf | ||
) |
Definition at line 36 of file message_to_tf.cpp.
void imuCallback | ( | sensor_msgs::Imu const & | imu | ) |
Definition at line 142 of file message_to_tf.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 207 of file message_to_tf.cpp.
void multiCallback | ( | topic_tools::ShapeShifter const & | input | ) |
Definition at line 179 of file message_to_tf.cpp.
void odomCallback | ( | nav_msgs::Odometry const & | odometry | ) |
Definition at line 124 of file message_to_tf.cpp.
void poseCallback | ( | geometry_msgs::PoseStamped const & | pose | ) |
Definition at line 128 of file message_to_tf.cpp.
void sendTransform | ( | geometry_msgs::Pose const & | pose, |
const std_msgs::Header & | header, | ||
std::string | child_frame_id = "" |
||
) |
Definition at line 42 of file message_to_tf.cpp.
void tfCallback | ( | geometry_msgs::TransformStamped const & | tf | ) |
Definition at line 132 of file message_to_tf.cpp.
std::string g_child_frame_id |
Definition at line 21 of file message_to_tf.cpp.
Definition at line 29 of file message_to_tf.cpp.
std::string g_footprint_frame_id |
Definition at line 18 of file message_to_tf.cpp.
std::string g_frame_id |
Definition at line 17 of file message_to_tf.cpp.
std::string g_imu_topic |
Definition at line 15 of file message_to_tf.cpp.
std::string g_odometry_topic |
Definition at line 13 of file message_to_tf.cpp.
Definition at line 28 of file message_to_tf.cpp.
std::string g_pose_topic |
Definition at line 14 of file message_to_tf.cpp.
std::string g_position_frame_id |
Definition at line 19 of file message_to_tf.cpp.
bool g_publish_roll_pitch |
Definition at line 23 of file message_to_tf.cpp.
std::string g_stabilized_frame_id |
Definition at line 20 of file message_to_tf.cpp.
std::string g_tf_prefix |
Definition at line 25 of file message_to_tf.cpp.
std::string g_topic |
Definition at line 16 of file message_to_tf.cpp.
Definition at line 27 of file message_to_tf.cpp.