Skip to content

Commit

Permalink
Merge pull request #38 from mcorah/master
Browse files Browse the repository at this point in the history
sending camera_info
  • Loading branch information
Sammy Pfeiffer committed Jun 4, 2015
2 parents e97c5ed + 29d9385 commit be012d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nodes/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def publishFramesContinuously(self):
self.findBoundary()
self.getImage()
self.publishMsg()
self.publishCameraInfoMsg()
except:
rospy.loginfo('Timed out while trying to get message.')
break
Expand Down Expand Up @@ -128,7 +129,7 @@ def publishMsg(self):
def publishCameraInfoMsg(self):
'''Publish camera info manager message'''
cimsg = self.axis.cinfo.getCameraInfo()
cimsg.header.stamp = msg.header.stamp
cimsg.header.stamp = self.msg.header.stamp
cimsg.header.frame_id = self.axis.frame_id
cimsg.width = self.axis.width
cimsg.height = self.axis.height
Expand Down

0 comments on commit be012d2

Please sign in to comment.