Ground attitude to world transform publication. More...
#include <tf/transform_listener.h>
#include <nav_msgs/Odometry.h>
#include <sensor_msgs/Imu.h>
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/Quaternion.h"
#include "tf/transform_datatypes.h"
#include <stdio.h>
#include <tf/transform_broadcaster.h>
Go to the source code of this file.
Defines | |
#define | PFLN {printf("%s %d\n",__FILE__, __LINE__);} |
Functions | |
void | ImuCallback (const sensor_msgs::Imu::ConstPtr &msg) |
int | main (int argc, char **argv) |
Variables | |
sensor_msgs::Imu | imu_data |
ros::Publisher | odom_pub |
nav_msgs::Odometry | odometry_ |
tf::TransformListener * | p_listener |
tf::TransformBroadcaster * | p_odom_broadcaster |
Ground attitude to world transform publication.
Definition in file ground_attitude2world.cpp.
#define PFLN {printf("%s %d\n",__FILE__, __LINE__);} |
Definition at line 44 of file ground_attitude2world.cpp.
void ImuCallback | ( | const sensor_msgs::Imu::ConstPtr & | msg | ) |
Definition at line 53 of file ground_attitude2world.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 57 of file ground_attitude2world.cpp.
sensor_msgs::Imu imu_data |
Definition at line 46 of file ground_attitude2world.cpp.
ros::Publisher odom_pub |
Definition at line 40 of file ground_attitude2world.cpp.
nav_msgs::Odometry odometry_ |
Definition at line 41 of file ground_attitude2world.cpp.
tf::TransformListener* p_listener |
Definition at line 48 of file ground_attitude2world.cpp.
tf::TransformBroadcaster* p_odom_broadcaster |
Definition at line 45 of file ground_attitude2world.cpp.