28 #include <tf/transform_broadcaster.h>
29 #include <std_msgs/Float64.h>
40 int main(
int argc,
char** argv)
42 ros::init(argc, argv,
"tf_generator_node");
44 tf::TransformBroadcaster broadcaster;
49 tf::Transform transform1(tf::Matrix3x3(1,0,0, 0,1,0, 0,0,1),
50 tf::Vector3(0, 0, 0.10));
55 theta=inc*(2*M_PI)/1000;
58 p_broadcaster->sendTransform(tf::StampedTransform(transform1, ros::Time::now(),
"/vehicle_odometry",
"/tracking_frame1"));
tf::TransformBroadcaster * p_broadcaster
int main(int argc, char **argv)
Generates a frame higher than the car frame, to publish the point cloud to the mtt.