Skip to content

Commit

Permalink
visualization bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilNie committed Jan 19, 2019
1 parent bc8abed commit f137b4e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 32 deletions.
52 changes: 21 additions & 31 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ros/src/autopilot/scripts/visualization/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def __init__(self):

if self.current_frame is not None:
# Apply Steering Visualization # -0.025
image = self.visualize_line(img=self.current_frame.copy(), angle_steers=self.steering_angle * 0.00, speed_ms=5)
image = self.visualize_line(img=self.current_frame.copy(), angle_steers=self.steering_angle * -0.025, speed_ms=5)
img_msg = self.bridge.cv2_to_imgmsg(image, "bgr8")
steering_viz_pub.publish(img_msg)

Expand Down

0 comments on commit f137b4e

Please sign in to comment.