Merge pull request #14 from tomh05/bugfix-timestamp
Ensure timestamps are consistent for camera image and info. Fixes #13
Esse commit está contido em:
@@ -450,8 +450,8 @@ void ARDroneDriver::publish_video()
|
||||
sensor_msgs::Image::_data_type::iterator _it;
|
||||
|
||||
image_msg.header.stamp = ros::Time::now();
|
||||
cinfo_msg_hori.header.stamp = ros::Time::now();
|
||||
cinfo_msg_vert.header.stamp = ros::Time::now();
|
||||
cinfo_msg_hori.header.stamp = image_msg.header.stamp;
|
||||
cinfo_msg_vert.header.stamp = image_msg.header.stamp;
|
||||
|
||||
if (cam_state == ZAP_CHANNEL_HORI)
|
||||
{
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário