]> git.leonardobizzoni.com Git - pioneer-stm32/commitdiff
print debug messages
authorFederica Di Lauro <federicadilauro1998@gmail.com>
Mon, 2 Mar 2020 08:12:44 +0000 (09:12 +0100)
committerFederica Di Lauro <federicadilauro1998@gmail.com>
Mon, 2 Mar 2020 08:12:44 +0000 (09:12 +0100)
README.md
utils/catkin_ws/src/serial_bridge/scripts/serial_receiver.py
utils/catkin_ws/src/serial_bridge/scripts/serial_transmitter.py

index f46f5eea00bc21aaa602d0586493948bd97104e7..7d6388f522a009104089b2c4f5c55952085b8604 100644 (file)
--- 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.
 
index 0a4a659d6c4b29644d003137a0cf3ce44402c682..51cfb9eaa86e9cb292d010b01182a8975ae3965f 100755 (executable)
@@ -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:
index 64df0d262db567626cf7151f00ce7e4c5d839ee7..bb3146b864d2a6dc11b0c88a2f7993eff769f190 100755 (executable)
@@ -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()):