Skip to content

Commit

Permalink
Merge pull request #8 from plenprojectcompany/fix
Browse files Browse the repository at this point in the history
Fix the bug of unstable communication for RS485
  • Loading branch information
musubi05 authored Mar 7, 2017
2 parents 5277808 + fd9c40e commit f579451
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion scripts/camera_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(self):
self.sleep_rate = rospy.Rate(self.SLEEP_RATE_HZ)

def subscribe(self, message):
rospy.loginfo('SUBSCRIBED REQUEST')
file_path = get_latest_modified_file_path("/tmp/ros/camera/")

header = Header()
Expand Down
2 changes: 1 addition & 1 deletion scripts/serial_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def write_with_re_de(self, text):
self.re_de.write(1)
try:
self.write(text)
self.flushOutput()
self.flush()
finally:
self.re_de.write(0)

Expand Down
1 change: 0 additions & 1 deletion scripts/six_axis_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def subscribe(self, message):
self.publish()

def publish(self):
rospy.loginfo('PUBLISH ACCEL')
accelgyro = self.mpu.read_accelgyros()

# Set acceleration data and gyro data (Normalize for PLEN Axis)
Expand Down

0 comments on commit f579451

Please sign in to comment.