Skip to content

Commit

Permalink
fix for lane_filter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lpaull committed Nov 6, 2018
1 parent 4b99a0c commit b8ed1cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,3 @@ include Makefiles/Makefile.demos2017.mk
include Makefiles/Makefile.megacity.mk


# For Docker

branch=$(shell git rev-parse --abbrev-ref HEAD)

name=duckietown/rpi-duckiebot-base:$(branch)

main-docker-build:
docker build -t $(name) .

main-docker-push:
docker push $(name)
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ def processSegments(self,segment_list_msg):
self.pub_belief_img.publish(belief_img)


def getDistributionImage(self, mat, stamp):
bridge = CvBridge()
img = bridge.cv2_to_imgmsg((255 * mat).astype('uint8'), "mono8")
img.header.stamp = stamp
return img

# Latency of Estimation including curvature estimation
estimation_latency_stamp = rospy.Time.now() - timestamp_now
Expand All @@ -165,6 +160,13 @@ def getDistributionImage(self, mat, stamp):
in_lane_msg.data = True #TODO change with in_lane
self.pub_in_lane.publish(in_lane_msg)

def getDistributionImage(self, mat, stamp):
bridge = CvBridge()
img = bridge.cv2_to_imgmsg((255 * mat).astype('uint8'), "mono8")
img.header.stamp = stamp
return img


def cbMode(self, msg):
return #TODO adjust self.active

Expand Down

0 comments on commit b8ed1cf

Please sign in to comment.