|
@@ -166,8 +166,10 @@ void Listenodom(const char * strdata,const unsigned int nSize,const unsigned int
|
|
|
|
|
|
|
|
|
geometry_msgs::PoseStamped xPose;
|
|
|
+ xPose.header.frame_id = "/map";
|
|
|
xPose.pose = msg.pose.pose;
|
|
|
geometry_msgs::TwistStamped xtwist;
|
|
|
+ xtwist.header.frame_id = "/map";
|
|
|
xtwist.twist = msg.twist.twist;
|
|
|
|
|
|
std::cout<<" listen odom."<<std::endl;
|
|
@@ -280,6 +282,9 @@ void ListenWayPointsMap(const char * strdata,const unsigned int nSize,const unsi
|
|
|
|
|
|
if(_use_pilot_waypoints)
|
|
|
{
|
|
|
+
|
|
|
+ xlane.header.frame_id = "/map";
|
|
|
+
|
|
|
waypoints_pub.publish(xlane);
|
|
|
}
|
|
|
|