Skip to content

Commit f579451

Browse files
authored
Merge pull request #8 from plenprojectcompany/fix
Fix the bug of unstable communication for RS485
2 parents 5277808 + fd9c40e commit f579451

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

scripts/camera_node.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def __init__(self):
4646
self.sleep_rate = rospy.Rate(self.SLEEP_RATE_HZ)
4747

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

5251
header = Header()

scripts/serial_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def write_with_re_de(self, text):
2828
self.re_de.write(1)
2929
try:
3030
self.write(text)
31-
self.flushOutput()
31+
self.flush()
3232
finally:
3333
self.re_de.write(0)
3434

scripts/six_axis_node.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def subscribe(self, message):
8181
self.publish()
8282

8383
def publish(self):
84-
rospy.loginfo('PUBLISH ACCEL')
8584
accelgyro = self.mpu.read_accelgyros()
8685

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

0 commit comments

Comments
 (0)