Skip to content

Incomplete rosout.log #204

Closed
Closed
@osrf-migration

Description

@osrf-migration

Original report (archived issue) by Martin Dlouhy (Bitbucket: robotikacz).


“rosout.log” is the only way how we can check our deployment on AWS (correct me, if I am wrong), and it is not complete! 😞

I run 3 simulations (robotika, [ver4, ver5, ver6], Simple Tunnel 02) last night and today. Just to be sure that everything is initialized (see 6 minutes issue #202) I added extra pure ROS code originally waiting for all necessary topics, which are later used in the main navigation program. They all first print “begin” and at the end “end” to ROS info. The last simulation (ver6, cab6fd44-2448-4fa7-bd38-a44d94250182) even failed to pass “Wait for /X2/front/image_raw/compressed” :frowning2:

Code snippet:

def wait_for(topic, topic_type):
    rospy.loginfo('Wait for ' + topic)
    rospy.wait_for_message(topic, topic_type)
    rospy.loginfo('Done with ' + topic)


def wait_for_sensors():
    rospy.init_node('mdwait', anonymous=True)
    wait_for_master()
    rospy.loginfo('-------------- mdwait BEGIN --------------')
    wait_for('/X2/imu/data', Imu)
    wait_for('/X2/front_scan', LaserScan)
    wait_for('/X2/front/image_raw/compressed', CompressedImage)
    wait_for('/X2/odom', Odometry)
    wait_for('/X2/battery_state', BatteryState)  # note, that this is maybe the critical component!
    rospy.loginfo('--------------- mdwait END ---------------')

Ver6 rosout.log

0.a527ae8c41762a101acbf2474382f82acd977df2  Node Startup
0.a527ae8c41762a101acbf2474382f82acd977df2 INFO /tf_world_static [/tmp/binarydeb/ros-melodic-tf2-ros-0.6.5/src/static_transform_broadcaster_program.cpp:142(main)] [topics: /rosout, /tf_static] Spinning until killed publishing world to simple_tunnel_02
0.a527ae8c41762a101acbf2474382f82acd977df2 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:104(Controller)] [topics: /rosout] Waiting for /clock, /subt/start, and /subt/pose_from_artifact
382.284000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:112(Controller)] [topics: /rosout] Using robot name[X2]

382.292000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:147(Update)] [topics: /rosout] Sent start signal.
382.324000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:198(Update)] [topics: /rosout] MD robot pose -6 5 dist=61
396.284000000 INFO /mdwait_71_1569502355368 [wait_for_sensors.py:24(wait_for)] [topics: /clock, /rosout] Wait for /X2/front/image_raw/compressed 

Ver5 (did not wait for the master published topics)


0.a527ae8c41762a101acbf2474382f82acd977df2  Node Startup
0.a527ae8c41762a101acbf2474382f82acd977df2 INFO /tf_world_static [/tmp/binarydeb/ros-melodic-tf2-ros-0.6.5/src/static_transform_broadcaster_program.cpp:142(main)] [topics: /rosout, /tf_static] Spinning until killed publishing world to simple_tunnel_02
0.a527ae8c41762a101acbf2474382f82acd977df2 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:104(Controller)] [topics: /rosout] Waiting for /clock, /subt/start, and /subt/pose_from_artifact
348.008000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:112(Controller)] [topics: /rosout] Using robot name[X2]

348.016000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:147(Update)] [topics: /rosout] Sent start signal.
348.052000000 INFO /subt_solution [/home/developer/subt_solution/src/subt_seed/src/subt_seed_node.cc:198(Update)] [topics: /rosout] MD robot pose -6 5 dist=61
362.344000000 INFO /mdwait_71_1569495635370 [wait_for_sensors.py:10(wait_for)] [topics: /clock, /rosout] Wait for /X2/battery_state
362.420000000 INFO /mdwait_71_1569495635370 [wait_for_sensors.py:12(wait_for)] [topics: /clock, /rosout] Done with /X2/battery_state
362.424000000 INFO /mdwait_71_1569495635370 [wait_for_sensors.py:23(wait_for_sensors)] [topics: /clock, /rosout] --------------- mdwait END ---------------
0.a527ae8c41762a101acbf2474382f82acd977df2 INFO /mdtalker_92_1569495636225 [std2ros.py:10(std2ros)] [topics: /clock, /rosout] -------------- BEGIN --------------
363.908000000 INFO /X2/ros1_ign_bridge_twist [/tmp/ros1-ign-bridge-release/include/ros1_ign_bridge/factory.hpp:137(Factory<ROS1_T, IGN_T>::ros1_callback)] [topics: /rosout] Passing message from ROS1 geometry_msgs/Twist to Ignition ignition.msgs.Twist (showing msg only once per type  

See END without BEGIN and missing previously reported topics …

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockerbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions