modify node name for get_local_pose
This commit is contained in:
parent
ebefd6cf94
commit
260a6b2634
|
@ -20,7 +20,7 @@ def odm_groundtruth_callback(msg, i):
|
|||
multi_speed[i].vector = msg.twist.twist.linear
|
||||
|
||||
if __name__ == '__main__':
|
||||
rospy.init_node(vehicle_type+'get_pose_groundtruth')
|
||||
rospy.init_node(vehicle_type+'_get_pose_groundtruth')
|
||||
for i in range(vehicle_num):
|
||||
multi_odom_groundtruth_sub[i] = rospy.Subscriber('/xtdrone/'+vehicle_type+'_'+str(i)+'/ground_truth/odom', Odometry, odm_groundtruth_callback, i)
|
||||
multi_pose_pub[i] = rospy.Publisher(vehicle_type+'_'+str(i)+'/mavros/vision_pose/pose', PoseStamped, queue_size=2)
|
||||
|
|
Loading…
Reference in New Issue