From a4765d81142bfc768c508dafec8ddff8af6b5613 Mon Sep 17 00:00:00 2001 From: Federica Di Lauro Date: Mon, 2 Mar 2020 09:12:44 +0100 Subject: [PATCH] print debug messages --- README.md | 4 ++-- utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py | 2 +- .../catkin_ws/src/serial_bridge/scripts/serial_transmitter.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f46f5ee..7d6388f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Otto Material regarding my stage with Iralab, designing and realizing a 2 wheeled robot -The main program is located in [otto_controller_source](https://github.com/iralabdisco/otto/tree/pid_control/otto_controller_source). +The main program is located in [otto_controller_source](https://github.com/iralabdisco/otto/tree/otto_controller_source). -You can find various useful tools inside the [utils](https://github.com/iralabdisco/otto/tree/pid_control/utils) folder. +You can find various useful tools inside the [utils](https://github.com/iralabdisco/otto/tree/utils) folder. See the [wiki](https://github.com/iralabdisco/otto/wiki) for more info about this projects. diff --git a/utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py b/utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py index 0a4a659..51cfb9e 100755 --- a/utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py +++ b/utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py @@ -24,7 +24,7 @@ ser = serial.Serial( exclusive=False) def serial_receiver(): - rospy.init_node('serial_receiver', anonymous=True) + rospy.init_node('serial_receiver', anonymous=True, log_level=rospy.DEBUG) serial_port = rospy.get_param("serial_port") while(ser.is_open == False and not rospy.is_shutdown()): try: diff --git a/utils/catkin_ws/src/serial_bridge/scripts/serial_transmitter.py b/utils/catkin_ws/src/serial_bridge/scripts/serial_transmitter.py index 64df0d2..bb3146b 100755 --- a/utils/catkin_ws/src/serial_bridge/scripts/serial_transmitter.py +++ b/utils/catkin_ws/src/serial_bridge/scripts/serial_transmitter.py @@ -25,7 +25,7 @@ def callback(data): ser.reset_output_buffer() def listener(): - rospy.init_node('serial_transmitter', anonymous=True) + rospy.init_node('serial_transmitter', anonymous=True, log_level=rospy.DEBUG) serial_port = rospy.get_param("serial_port") while(ser.is_open == False and not rospy.is_shutdown()): -- 2.52.0