duckietown / rpi-duckiebot-lanefollowing-demo

0 stars 3 forks source link

Demo is not working #1

Closed lapandic closed 6 years ago

lapandic commented 6 years ago

I have tried to run the demo on my bot by executing the command as specified in docs docker -H DUCKIEBOT_NAME.local run -it \ --name lanefollowing-demo \ --privileged \ -v /data:/data \ --net host \ duckietown/rpi-duckiebot-lanefollowing-demo:master18

After the container is run it crashes(see error log 1). I've tried to execute:

docker -H zmaj.local run -it --name lanefollowing-demo-2 --privileged -v /data:/data --net host duckietown/rpi-duckiebot-lanefollowing-demo:master18 /bin/bash and run it in the console roslaunch duckietown_demos lane_following.launch It becomes unresponsive for 20-30 seconds and then I get an error (see error log 2).

Any idea how to fix this?

Error log 1:

Setting ROS_IP to host IP, which is 192.168.1.213
Activating ROS with shell: /bin/bash
Set DUCKIETOWN_ROOT to: /home/software
Set PYTHONPATH to: /home/software/catkin_ws/src:/opt/ros/kinetic/lib/python2.7/dist-packages
Activating development environment...

            .....               
          .........             
         .  ..  ....            
         .  ..  ....            
    .  .............            
    ..     ..   ...       ..    
    .     .........    .....    
     . . .......   .........    
    .   .       ...  .......    
           .......... ......    
        . .  ........ .....     
       . ....        .....      
         ................       
           ...........          

... logging to /root/.ros/log/4a40f92a-cca9-11e8-a376-b827eb6affaa/roslaunch-zmaj-88.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.1.213:34489/

SUMMARY
========

CLEAR PARAMETERS
 * /zmaj/cam_info_reader_node/
 * /zmaj/camera_node/
 * /zmaj/decoder_node/
 * /zmaj/fsm_node/
 * /zmaj/ground_projection/
 * /zmaj/inverse_kinematics_node/
 * /zmaj/joy_mapper_node/
 * /zmaj/joy_node/
 * /zmaj/lane_controller_node/
 * /zmaj/lane_filter_node/
 * /zmaj/lane_pose_visualizer_node/
 * /zmaj/led_emitter_node/
 * /zmaj/line_detector_node/
 * /zmaj/logic_gate_node/
 * /zmaj/random_april_tag_turns_node/
 * /zmaj/raw_cam_info_reader_node/
 * /zmaj/unicorn_intersection_node/
 * /zmaj/vehicle_avoidance_control_node/
 * /zmaj/vehicle_detection_node/
 * /zmaj/wheels_driver_node/

PARAMETERS
 * /enable_statistics: False
 * /rosdistro: kinetic
 * /rosversion: 1.12.13
 * /zmaj/cam_info_reader_node/cali_file_name: zmaj
 * /zmaj/cam_info_reader_node/config: baseline
 * /zmaj/cam_info_reader_node/image_type: compressed
 * /zmaj/cam_info_reader_node/pub_freq: 1.0
 * /zmaj/camera_node/framerate_high: 30
 * /zmaj/camera_node/framerate_low: 15
 * /zmaj/camera_node/res_h: 480
 * /zmaj/camera_node/res_w: 640
 * /zmaj/car_cmd_switch_node/mappings/ARRIVE_AT_STOP_LINE: stop
 * /zmaj/car_cmd_switch_node/mappings/AVOID_OBSTACLE: obstacle
 * /zmaj/car_cmd_switch_node/mappings/AVOID_VEHICLE: vehicle
 * /zmaj/car_cmd_switch_node/mappings/CALIBRATING: calib
 * /zmaj/car_cmd_switch_node/mappings/CALIBRATING_CALC: calib_calc
 * /zmaj/car_cmd_switch_node/mappings/CHARGING_FIRST_IN_LINE: stop
 * /zmaj/car_cmd_switch_node/mappings/DEEP_LANE_FOLLOWING: deep_learning
 * /zmaj/car_cmd_switch_node/mappings/INTERSECTION_CONTROL: intersection
 * /zmaj/car_cmd_switch_node/mappings/INTERSECTION_COORDINATION: stop
 * /zmaj/car_cmd_switch_node/mappings/INTERSECTION_PLANNING: stop
 * /zmaj/car_cmd_switch_node/mappings/INTERSECTION_RECOVERY: recovery
 * /zmaj/car_cmd_switch_node/mappings/IN_CHARGING_AREA: vehicle
 * /zmaj/car_cmd_switch_node/mappings/LANE_FOLLOWING: vehicle
 * /zmaj/car_cmd_switch_node/mappings/LANE_FOLLOWING_AVOID: lane
 * /zmaj/car_cmd_switch_node/mappings/LANE_RECOVERY: recovery
 * /zmaj/car_cmd_switch_node/mappings/LOCALIZATION: stop
 * /zmaj/car_cmd_switch_node/mappings/NORMAL_JOYSTICK_CONTROL: joystick
 * /zmaj/car_cmd_switch_node/mappings/PARALLEL_AUTONOMY: parallel_autonomy
 * /zmaj/car_cmd_switch_node/mappings/PARKING: parking
 * /zmaj/car_cmd_switch_node/mappings/SAFE_JOYSTICK_CONTROL: parallel_autonomy
 * /zmaj/car_cmd_switch_node/mode_topic: fsm_node/mode
 * /zmaj/car_cmd_switch_node/source_topics/calib: auto_calibration_...
 * /zmaj/car_cmd_switch_node/source_topics/calib_calc: auto_calibration_...
 * /zmaj/car_cmd_switch_node/source_topics/coordination: coordinator_node/...
 * /zmaj/car_cmd_switch_node/source_topics/deep_learning: duckiebot_il_lane...
 * /zmaj/car_cmd_switch_node/source_topics/intersection: lane_controller_n...
 * /zmaj/car_cmd_switch_node/source_topics/joystick: joy_mapper_node/c...
 * /zmaj/car_cmd_switch_node/source_topics/lane: lane_controller_n...
 * /zmaj/car_cmd_switch_node/source_topics/obstacle: simple_stop_contr...
 * /zmaj/car_cmd_switch_node/source_topics/parallel_autonomy: lane_supervisor_n...
 * /zmaj/car_cmd_switch_node/source_topics/parking: lane_controller_n...
 * /zmaj/car_cmd_switch_node/source_topics/recovery: lane_recovery_nod...
 * /zmaj/car_cmd_switch_node/source_topics/stop: simple_stop_contr...
 * /zmaj/car_cmd_switch_node/source_topics/vehicle: vehicle_avoidance...
 * /zmaj/cont_anti_instagram_node/ai_interval: 5
 * /zmaj/cont_anti_instagram_node/blur: median
 * /zmaj/cont_anti_instagram_node/blur_kernel: 5
 * /zmaj/cont_anti_instagram_node/cb_percentage: 80
 * /zmaj/cont_anti_instagram_node/fancyGeom: False
 * /zmaj/cont_anti_instagram_node/n_centers: 6
 * /zmaj/cont_anti_instagram_node/resize: 0.2
 * /zmaj/cont_anti_instagram_node/trafo_mode: cb
 * /zmaj/cont_anti_instagram_node/veh: zmaj
 * /zmaj/decoder_node/publish_freq: 2.0
 * /zmaj/duckiebot_visualizer/veh_name: zmaj
 * /zmaj/fsm_node/events/apriltag_intersection/msg_type: BoolStamped
 * /zmaj/fsm_node/events/apriltag_intersection/topic: apriltags_postpro...
 * /zmaj/fsm_node/events/apriltag_intersection/trigger: True
 * /zmaj/fsm_node/events/apriltag_parking_and_parking_active/msg_type: BoolStamped
 * /zmaj/fsm_node/events/apriltag_parking_and_parking_active/topic: logic_gate_node/a...
 * /zmaj/fsm_node/events/apriltag_parking_and_parking_active/trigger: True
 * /zmaj/fsm_node/events/at_stop_line/msg_type: BoolStamped
 * /zmaj/fsm_node/events/at_stop_line/topic: stop_line_filter_...
 * /zmaj/fsm_node/events/at_stop_line/trigger: True
 * /zmaj/fsm_node/events/at_stop_line_and_charging_exit/msg_type: BoolStamped
 * /zmaj/fsm_node/events/at_stop_line_and_charging_exit/topic: logic_gate_node/a...
 * /zmaj/fsm_node/events/at_stop_line_and_charging_exit/trigger: True
 * /zmaj/fsm_node/events/at_stop_line_and_parking_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/at_stop_line_and_parking_off/topic: logic_gate_node/a...
 * /zmaj/fsm_node/events/at_stop_line_and_parking_off/trigger: True
 * /zmaj/fsm_node/events/at_stop_line_and_parking_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/at_stop_line_and_parking_on/topic: logic_gate_node/a...
 * /zmaj/fsm_node/events/at_stop_line_and_parking_on/trigger: True
 * /zmaj/fsm_node/events/calibration_calculation_start/msg_type: BoolStamped
 * /zmaj/fsm_node/events/calibration_calculation_start/topic: auto_calibration_...
 * /zmaj/fsm_node/events/calibration_calculation_start/trigger: True
 * /zmaj/fsm_node/events/calibration_calculation_stop/msg_type: BoolStamped
 * /zmaj/fsm_node/events/calibration_calculation_stop/topic: auto_calibration_...
 * /zmaj/fsm_node/events/calibration_calculation_stop/trigger: True
 * /zmaj/fsm_node/events/calibration_start/msg_type: BoolStamped
 * /zmaj/fsm_node/events/calibration_start/topic: auto_calibration_...
 * /zmaj/fsm_node/events/calibration_start/trigger: True
 * /zmaj/fsm_node/events/calibration_stop/msg_type: BoolStamped
 * /zmaj/fsm_node/events/calibration_stop/topic: auto_calibration_...
 * /zmaj/fsm_node/events/calibration_stop/trigger: True
 * /zmaj/fsm_node/events/deep_lane_following_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/deep_lane_following_off/topic: joy_mapper_node/d...
 * /zmaj/fsm_node/events/deep_lane_following_off/trigger: False
 * /zmaj/fsm_node/events/deep_lane_following_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/deep_lane_following_on/topic: joy_mapper_node/d...
 * /zmaj/fsm_node/events/deep_lane_following_on/trigger: True
 * /zmaj/fsm_node/events/in_charger/msg_type: BoolStamped
 * /zmaj/fsm_node/events/in_charger/topic: maintenance_contr...
 * /zmaj/fsm_node/events/in_charger/trigger: True
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_off/topic: logic_gate_node/i...
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_off/trigger: True
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_on/topic: logic_gate_node/i...
 * /zmaj/fsm_node/events/intersection_done_and_deep_lane_on/trigger: True
 * /zmaj/fsm_node/events/intersection_go/msg_type: BoolStamped
 * /zmaj/fsm_node/events/intersection_go/topic: logic_gate_node/i...
 * /zmaj/fsm_node/events/intersection_go/trigger: True
 * /zmaj/fsm_node/events/intersection_path_computed/msg_type: BoolStamped
 * /zmaj/fsm_node/events/intersection_path_computed/topic: intersection_navi...
 * /zmaj/fsm_node/events/intersection_path_computed/trigger: True
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_off/topic: logic_gate_node/j...
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_off/trigger: True
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_on/topic: logic_gate_node/j...
 * /zmaj/fsm_node/events/joystick_override_off_and_deep_lane_on/trigger: True
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_off/topic: logic_gate_node/j...
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_off/trigger: True
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_on/topic: logic_gate_node/j...
 * /zmaj/fsm_node/events/joystick_override_on_and_parallel_autonomy_on/trigger: True
 * /zmaj/fsm_node/events/parallel_autonomy_off/msg_type: BoolStamped
 * /zmaj/fsm_node/events/parallel_autonomy_off/topic: joy_mapper_node/p...
 * /zmaj/fsm_node/events/parallel_autonomy_off/trigger: False
 * /zmaj/fsm_node/events/parallel_autonomy_on/msg_type: BoolStamped
 * /zmaj/fsm_node/events/parallel_autonomy_on/topic: joy_mapper_node/p...
 * /zmaj/fsm_node/events/parallel_autonomy_on/trigger: True
 * /zmaj/fsm_node/events/start_avoidance/msg_type: BoolStamped
 * /zmaj/fsm_node/events/start_avoidance/topic: joy_mapper_node/s...
 * /zmaj/fsm_node/events/start_avoidance/trigger: True
 * /zmaj/fsm_node/global_transitions/joystick_override_on_and_parallel_autonomy_off: NORMAL_JOYSTICK_C...
 * /zmaj/fsm_node/global_transitions/joystick_override_on_and_parallel_autonomy_on: SAFE_JOYSTICK_CON...
 * /zmaj/fsm_node/initial_state: NORMAL_JOYSTICK_C...
 * /zmaj/fsm_node/nodes/anti_instagram: anti_instagram_no...
 * /zmaj/fsm_node/nodes/apriltag_node: apriltag_detector...
 * /zmaj/fsm_node/nodes/auto_calibration_calculation_node: auto_calibration_...
 * /zmaj/fsm_node/nodes/auto_calibration_node: auto_calibration_...
 * /zmaj/fsm_node/nodes/central_fleet_planning_node: central_fleet_pla...
 * /zmaj/fsm_node/nodes/charging_control: charging_control_...
 * /zmaj/fsm_node/nodes/coordinator_node: coordinator_node/...
 * /zmaj/fsm_node/nodes/decoder_node: decoder_node/switch
 * /zmaj/fsm_node/nodes/duckiebot_il_lane_following: duckiebot_il_lane...
 * /zmaj/fsm_node/nodes/framerate_high: camera_node/frame...
 * /zmaj/fsm_node/nodes/implicit_coordination_node: implicit_coordina...
 * /zmaj/fsm_node/nodes/intersection_localizer_node: intersection_loca...
 * /zmaj/fsm_node/nodes/intersection_navigation_node: intersection_navi...
 * /zmaj/fsm_node/nodes/lane_controller_node: lane_controller_n...
 * /zmaj/fsm_node/nodes/lane_filter_node: lane_filter_node/...
 * /zmaj/fsm_node/nodes/led_detector_node: led_detector_node...
 * /zmaj/fsm_node/nodes/led_emitter_node: led_emitter_node/...
 * /zmaj/fsm_node/nodes/line_detector_node: line_detector_nod...
 * /zmaj/fsm_node/nodes/obstacle_avoidance_node: obstacle_avoidanc...
 * /zmaj/fsm_node/nodes/obstacle_detection_node: obstacle_detectio...
 * /zmaj/fsm_node/nodes/parking_control: parking_control/s...
 * /zmaj/fsm_node/nodes/parking_path_planning: parking_path_plan...
 * /zmaj/fsm_node/nodes/parking_perception_localization: parking_perceptio...
 * /zmaj/fsm_node/nodes/static_object_detector_node: static_object_det...
 * /zmaj/fsm_node/nodes/stop_line_filter_node: stop_line_filter_...
 * /zmaj/fsm_node/nodes/unicorn_intersection_node: unicorn_intersect...
 * /zmaj/fsm_node/nodes/vehicle_avoidance_control_node: vehicle_avoidance...
 * /zmaj/fsm_node/nodes/vehicle_detection_node: vehicle_detection...
 * /zmaj/fsm_node/nodes/vehicle_filter_node: vehicle_filter_no...
 * /zmaj/fsm_node/states/ARRIVE_AT_STOP_LINE/active_nodes: ['apriltag_node',...
 * /zmaj/fsm_node/states/ARRIVE_AT_STOP_LINE/current_status: implemented
 * /zmaj/fsm_node/states/ARRIVE_AT_STOP_LINE/transitions/apriltag_intersection: INTERSECTION_COOR...
 * /zmaj/fsm_node/states/CALIBRATING/active_nodes: ['auto_calibratio...
 * /zmaj/fsm_node/states/CALIBRATING/transitions/calibration_calculation_start: CALIBRATING_CALC
 * /zmaj/fsm_node/states/CALIBRATING/transitions/calibration_stop: LANE_FOLLOWING
 * /zmaj/fsm_node/states/CALIBRATING_CALC/active_nodes: ['auto_calibratio...
 * /zmaj/fsm_node/states/CALIBRATING_CALC/transitions/calibration_calculation_stop: CALIBRATING
 * /zmaj/fsm_node/states/CHARGING_FIRST_IN_LINE/active_nodes: ['decoder_node', ...
 * /zmaj/fsm_node/states/CHARGING_FIRST_IN_LINE/transitions/at_stop_line_and_charging_exit: LANE_FOLLOWING
 * /zmaj/fsm_node/states/DEEP_LANE_FOLLOWING/active_nodes: ['decoder_node', ...
 * /zmaj/fsm_node/states/DEEP_LANE_FOLLOWING/transitions/at_stop_line_and_parking_off: INTERSECTION_COOR...
 * /zmaj/fsm_node/states/DEEP_LANE_FOLLOWING/transitions/at_stop_line_and_parking_on: ARRIVE_AT_STOP_LINE
 * /zmaj/fsm_node/states/DEEP_LANE_FOLLOWING/transitions/deep_lane_following_off: LANE_FOLLOWING
 * /zmaj/fsm_node/states/INTERSECTION_CONTROL/active_nodes: ['apriltag_node',...
 * /zmaj/fsm_node/states/INTERSECTION_CONTROL/current_status: in_progress
 * /zmaj/fsm_node/states/INTERSECTION_CONTROL/transitions/in_charger: IN_CHARGING_AREA
 * /zmaj/fsm_node/states/INTERSECTION_CONTROL/transitions/intersection_done_and_deep_lane_off: LANE_FOLLOWING
 * /zmaj/fsm_node/states/INTERSECTION_CONTROL/transitions/intersection_done_and_deep_lane_on: DEEP_LANE_FOLLOWING
 * /zmaj/fsm_node/states/INTERSECTION_COORDINATION/active_nodes: ['apriltag_node',...
 * /zmaj/fsm_node/states/INTERSECTION_COORDINATION/current_status: in_progress
 * /zmaj/fsm_node/states/INTERSECTION_COORDINATION/lights: ['coordination']
 * /zmaj/fsm_node/states/INTERSECTION_COORDINATION/transitions/intersection_go: INTERSECTION_CONTROL
 * /zmaj/fsm_node/states/IN_CHARGING_AREA/active_nodes: ['decoder_node', ...
 * /zmaj/fsm_node/states/IN_CHARGING_AREA/transitions/at_stop_line_and_parking_off: CHARGING_FIRST_IN...
 * /zmaj/fsm_node/states/IN_CHARGING_AREA/transitions/at_stop_line_and_parking_on: CHARGING_FIRST_IN...
 * /zmaj/fsm_node/states/LANE_FOLLOWING/active_nodes: ['anti_instagram'...
 * /zmaj/fsm_node/states/LANE_FOLLOWING/current_status: in_progress
 * /zmaj/fsm_node/states/LANE_FOLLOWING/lights: ['lane_following']
 * /zmaj/fsm_node/states/LANE_FOLLOWING/transitions/at_stop_line_and_parking_off: INTERSECTION_COOR...
 * /zmaj/fsm_node/states/LANE_FOLLOWING/transitions/at_stop_line_and_parking_on: ARRIVE_AT_STOP_LINE
 * /zmaj/fsm_node/states/LANE_FOLLOWING/transitions/calibration_start: CALIBRATING
 * /zmaj/fsm_node/states/LANE_FOLLOWING/transitions/deep_lane_following_on: DEEP_LANE_FOLLOWING
 * /zmaj/fsm_node/states/LANE_FOLLOWING/transitions/in_charger: IN_CHARGING_AREA
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/active_nodes: ['lane_filter_nod...
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/current_status: implemented
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/lights: ['joystick']
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/transitions/joystick_override_off_and_deep_lane_off: LANE_FOLLOWING
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/transitions/joystick_override_off_and_deep_lane_on: DEEP_LANE_FOLLOWING
 * /zmaj/fsm_node/states/NORMAL_JOYSTICK_CONTROL/transitions/parallel_autonomy_on: SAFE_JOYSTICK_CON...
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/active_nodes: ['decoder_node', ...
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/current_status: implemented
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/lights: ['joystick']
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/transitions/joystick_override_off_and_deep_lane_off: LANE_FOLLOWING
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/transitions/joystick_override_off_and_deep_lane_on: DEEP_LANE_FOLLOWING
 * /zmaj/fsm_node/states/SAFE_JOYSTICK_CONTROL/transitions/parallel_autonomy_off: NORMAL_JOYSTICK_C...
 * /zmaj/ground_projection/config: baseline
 * /zmaj/ground_projection/config_file_name: zmaj
 * /zmaj/image_transformer_node/trafo_mode: cb
 * /zmaj/image_transformer_node/veh: zmaj
 * /zmaj/joy_mapper_node/bicycle_kinematics: 0.0
 * /zmaj/joy_mapper_node/simulated_vehicle_length: 0.18
 * /zmaj/joy_mapper_node/speed_gain: 0.41
 * /zmaj/joy_mapper_node/steer_angle_gain: 1.04
 * /zmaj/joy_mapper_node/steer_gain: 8.3
 * /zmaj/joy_node/autorepeat_rate: 2.0
 * /zmaj/joy_node/coalesce_interval: 0.02
 * /zmaj/joy_node/deadzone: 0.01
 * /zmaj/joy_node/dev: /dev/input/js0
 * /zmaj/lane_controller_node/d_offset: 0.0
 * /zmaj/lane_controller_node/d_thres: 0.2615
 * /zmaj/lane_controller_node/k_Id: 1
 * /zmaj/lane_controller_node/k_Iphi: 0.0
 * /zmaj/lane_controller_node/k_d: -3.5
 * /zmaj/lane_controller_node/k_theta: -1
 * /zmaj/lane_controller_node/min_rad: 0.06
 * /zmaj/lane_controller_node/theta_thres: 0.523
 * /zmaj/lane_controller_node/use_rad_lim: False
 * /zmaj/lane_controller_node/v_bar: 0.23
 * /zmaj/lane_controller_node/wheel_distance: 0.103
 * /zmaj/lane_filter_node/filter: ['lane_filter.Lan...
 * /zmaj/lane_filter_node/use_propagation: True
 * /zmaj/led_emitter_node/LED_protocol/colors/black: [0, 0, 0]
 * /zmaj/led_emitter_node/LED_protocol/colors/blue: [0, 0, 1]
 * /zmaj/led_emitter_node/LED_protocol/colors/cyan: [0, 1, 1]
 * /zmaj/led_emitter_node/LED_protocol/colors/green: [0, 1, 0]
 * /zmaj/led_emitter_node/LED_protocol/colors/purple: [1, 0, 1]
 * /zmaj/led_emitter_node/LED_protocol/colors/red: [1, 0, 0]
 * /zmaj/led_emitter_node/LED_protocol/colors/white: [1, 1, 1]
 * /zmaj/led_emitter_node/LED_protocol/colors/yellow: [1, 1, 0]
 * /zmaj/led_emitter_node/LED_protocol/frequencies/f1: 1.9
 * /zmaj/led_emitter_node/LED_protocol/frequencies/f2: 4
 * /zmaj/led_emitter_node/LED_protocol/frequencies/f3: 5.7
 * /zmaj/led_emitter_node/LED_protocol/frequencies/f4: 7.8
 * /zmaj/led_emitter_node/LED_protocol/frequencies/f5: 10.6
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_A/color: white
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_A/frequency: 4
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_A_OLD/color: green
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_A_OLD/frequency: 1.9
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_B/color: purple
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_B/frequency: 7.8
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_C/color: yellow
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_C/frequency: 10.6
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_GREEN/color: green
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_GREEN/frequency: 5.7
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_PRIORITY/color: purple
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_PRIORITY/frequency: 5.7
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_SACRIFICE_FOR_PRIORITY/color: white
 * /zmaj/led_emitter_node/LED_protocol/signals/CAR_SIGNAL_SACRIFICE_FOR_PRIORITY/frequency: 1.9
 * /zmaj/led_emitter_node/LED_protocol/signals/light_off/color: black
 * /zmaj/led_emitter_node/LED_protocol/signals/light_off/frequency: 1.9
 * /zmaj/led_emitter_node/LED_protocol/signals/traffic_light_go/color: green
 * /zmaj/led_emitter_node/LED_protocol/signals/traffic_light_go/frequency: 7.8
 * /zmaj/led_emitter_node/LED_protocol/signals/traffic_light_stop/color: red
 * /zmaj/led_emitter_node/LED_protocol/signals/traffic_light_stop/frequency: 5.7
 * /zmaj/line_detector_node/detector: ['line_detector.L...
 * /zmaj/line_detector_node/detector_intersection: ['line_detector.L...
 * /zmaj/line_detector_node/img_size: [120, 160]
 * /zmaj/line_detector_node/top_cutoff: 40
 * /zmaj/line_detector_node/verbose: False
 * /zmaj/logic_gate_node/events/apriltag_parking/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/apriltag_parking/topic: apriltags_postpro...
 * /zmaj/logic_gate_node/events/apriltag_parking/trigger: True
 * /zmaj/logic_gate_node/events/at_stop_line/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/at_stop_line/topic: stop_line_filter_...
 * /zmaj/logic_gate_node/events/at_stop_line/trigger: True
 * /zmaj/logic_gate_node/events/charging_exit/default: False
 * /zmaj/logic_gate_node/events/charging_exit/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/charging_exit/topic: charging_control_...
 * /zmaj/logic_gate_node/events/charging_exit/trigger: True
 * /zmaj/logic_gate_node/events/deep_lane_following_off/default: True
 * /zmaj/logic_gate_node/events/deep_lane_following_off/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/deep_lane_following_off/topic: joy_mapper_node/d...
 * /zmaj/logic_gate_node/events/deep_lane_following_off/trigger: False
 * /zmaj/logic_gate_node/events/deep_lane_following_on/default: False
 * /zmaj/logic_gate_node/events/deep_lane_following_on/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/deep_lane_following_on/topic: joy_mapper_node/d...
 * /zmaj/logic_gate_node/events/deep_lane_following_on/trigger: True
 * /zmaj/logic_gate_node/events/intersection_done/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/intersection_done/topic: intersection_navi...
 * /zmaj/logic_gate_node/events/intersection_done/trigger: True
 * /zmaj/logic_gate_node/events/intersection_go_explicit/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/intersection_go_explicit/topic: coordinator_node/...
 * /zmaj/logic_gate_node/events/intersection_go_explicit/trigger: True
 * /zmaj/logic_gate_node/events/intersection_go_implicit/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/intersection_go_implicit/topic: implicit_intersec...
 * /zmaj/logic_gate_node/events/intersection_go_implicit/trigger: True
 * /zmaj/logic_gate_node/events/joystick_override_off/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/joystick_override_off/topic: joy_mapper_node/j...
 * /zmaj/logic_gate_node/events/joystick_override_off/trigger: False
 * /zmaj/logic_gate_node/events/joystick_override_on/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/joystick_override_on/topic: joy_mapper_node/j...
 * /zmaj/logic_gate_node/events/joystick_override_on/trigger: True
 * /zmaj/logic_gate_node/events/parallel_autonomy_off/default: True
 * /zmaj/logic_gate_node/events/parallel_autonomy_off/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/parallel_autonomy_off/topic: joy_mapper_node/p...
 * /zmaj/logic_gate_node/events/parallel_autonomy_off/trigger: False
 * /zmaj/logic_gate_node/events/parallel_autonomy_on/default: False
 * /zmaj/logic_gate_node/events/parallel_autonomy_on/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/parallel_autonomy_on/topic: joy_mapper_node/p...
 * /zmaj/logic_gate_node/events/parallel_autonomy_on/trigger: True
 * /zmaj/logic_gate_node/events/parking_off/default: True
 * /zmaj/logic_gate_node/events/parking_off/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/parking_off/topic: parking_on
 * /zmaj/logic_gate_node/events/parking_off/trigger: False
 * /zmaj/logic_gate_node/events/parking_on/default: False
 * /zmaj/logic_gate_node/events/parking_on/msg_type: BoolStamped
 * /zmaj/logic_gate_node/events/parking_on/topic: parking_on
 * /zmaj/logic_gate_node/events/parking_on/trigger: True
 * /zmaj/logic_gate_node/gates/at_stop_line_and_charging_exit/gate_type: AND
 * /zmaj/logic_gate_node/gates/at_stop_line_and_charging_exit/inputs: ['at_stop_line', ...
 * /zmaj/logic_gate_node/gates/at_stop_line_and_charging_exit/output_topic: ~at_stop_line_and...
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_off/gate_type: AND
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_off/inputs: ['at_stop_line', ...
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_off/output_topic: ~at_stop_line_and...
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_on/gate_type: AND
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_on/inputs: ['at_stop_line', ...
 * /zmaj/logic_gate_node/gates/at_stop_line_and_parking_on/output_topic: ~at_stop_line_and...
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_off/gate_type: AND
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_off/inputs: ['intersection_do...
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_off/output_topic: ~intersection_don...
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_on/gate_type: AND
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_on/inputs: ['intersection_do...
 * /zmaj/logic_gate_node/gates/intersection_done_and_deep_lane_on/output_topic: ~intersection_don...
 * /zmaj/logic_gate_node/gates/intersection_go/gate_type: OR
 * /zmaj/logic_gate_node/gates/intersection_go/inputs: ['intersection_go...
 * /zmaj/logic_gate_node/gates/intersection_go/output_topic: ~intersection_go
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_off/gate_type: AND
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_off/inputs: ['joystick_overri...
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_off/output_topic: ~joystick_overrid...
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_on/gate_type: AND
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_on/inputs: ['joystick_overri...
 * /zmaj/logic_gate_node/gates/joystick_override_off_and_deep_lane_on/output_topic: ~joystick_overrid...
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_off/gate_type: AND
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_off/inputs: ['joystick_overri...
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_off/output_topic: ~joystick_overrid...
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_on/gate_type: AND
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_on/inputs: ['joystick_overri...
 * /zmaj/logic_gate_node/gates/joystick_override_on_and_parallel_autonomy_on/output_topic: ~joystick_overrid...
 * /zmaj/raw_cam_info_reader_node/cali_file_name: zmaj
 * /zmaj/raw_cam_info_reader_node/config: baseline
 * /zmaj/raw_cam_info_reader_node/image_type: raw
 * /zmaj/raw_cam_info_reader_node/pub_freq: 1.0
 * /zmaj/unicorn_intersection_node/LFparams_left/phi_max: -0.5
 * /zmaj/unicorn_intersection_node/LFparams_left/phi_min: -1.5
 * /zmaj/unicorn_intersection_node/LFparams_left/range_est: 0.4
 * /zmaj/unicorn_intersection_node/LFparams_left/red_to_white: True
 * /zmaj/unicorn_intersection_node/LFparams_left/use_yellow: False
 * /zmaj/unicorn_intersection_node/LFparams_right/phi_max: 2
 * /zmaj/unicorn_intersection_node/LFparams_right/phi_min: 0.5
 * /zmaj/unicorn_intersection_node/LFparams_right/range_est: 0.4
 * /zmaj/unicorn_intersection_node/LFparams_right/red_to_white: False
 * /zmaj/unicorn_intersection_node/LFparams_straight/red_to_white: True
 * /zmaj/unicorn_intersection_node/debug_dir: -1
 * /zmaj/unicorn_intersection_node/ff_left: 0.4
 * /zmaj/unicorn_intersection_node/ff_right: -0.6
 * /zmaj/unicorn_intersection_node/ff_straight: 0
 * /zmaj/unicorn_intersection_node/omega_max_left: 0.6
 * /zmaj/unicorn_intersection_node/omega_max_right: 999
 * /zmaj/unicorn_intersection_node/omega_max_straight: 1
 * /zmaj/unicorn_intersection_node/omega_min_left: 0.2
 * /zmaj/unicorn_intersection_node/omega_min_right: -2.5
 * /zmaj/unicorn_intersection_node/omega_min_straight: -1
 * /zmaj/unicorn_intersection_node/time_left_turn: 3.2
 * /zmaj/unicorn_intersection_node/time_right_turn: 1.5
 * /zmaj/unicorn_intersection_node/time_straight_turn: 3
 * /zmaj/vehicle_avoidance_control_node/Kd: 0.0
 * /zmaj/vehicle_avoidance_control_node/Ki: 0.0
 * /zmaj/vehicle_avoidance_control_node/Kp: 0.7
 * /zmaj/vehicle_avoidance_control_node/Kp_delta_v: 0.8
 * /zmaj/vehicle_avoidance_control_node/desired_distance: 0.2
 * /zmaj/vehicle_avoidance_control_node/minimal_distance: 0.25
 * /zmaj/vehicle_detection_node/blobdetector_min_area: 10
 * /zmaj/vehicle_detection_node/blobdetector_min_dist_between_blobs: 2
 * /zmaj/vehicle_detection_node/circlepattern_dims/cols: 2
 * /zmaj/vehicle_detection_node/circlepattern_dims/data: [7, 3]
 * /zmaj/vehicle_detection_node/circlepattern_dims/rows: 1
 * /zmaj/vehicle_detection_node/publish_circles: True
 * /zmaj/wheels_driver_node/min_rad: 0.06
 * /zmaj/wheels_driver_node/use_rad_lim: False
 * /zmaj/wheels_driver_node/wheel_distance: 0.103

NODES
  /zmaj/
    cam_info_reader_node (pi_camera/cam_info_reader_node.py)
    camera_node (pi_camera/camera_node_sequence.py)
    car_cmd_switch_node (dagu_car/car_cmd_switch_node.py)
    cont_anti_instagram_node (anti_instagram/cont_anti_instagram_node.py)
    decoder_node (pi_camera/decoder_node.py)
    duckiebot_visualizer (duckiebot_visualizer/duckiebot_visualizer.py)
    fsm_node (fsm/fsm_node.py)
    ground_projection (ground_projection/ground_projection_node.py)
    image_transformer_node (anti_instagram/image_transformer_node.py)
    inverse_kinematics_node (dagu_car/inverse_kinematics_node.py)
    joy_mapper_node (joy_mapper/joy_mapper_node.py)
    joy_node (joy/joy_node)
    lane_controller_node (lane_control/lane_controller_node.py)
    lane_filter_node (lane_filter/lane_filter_node.py)
    lane_pose_visualizer_node (lane_filter/lane_pose_visualizer_node.py)
    led_emitter_node (led_emitter/led_emitter_node.py)
    line_detector_node (line_detector/line_detector_node.py)
    logic_gate_node (fsm/logic_gate_node.py)
    random_april_tag_turns_node (navigation/random_april_tag_turns_node.py)
    raw_cam_info_reader_node (pi_camera/cam_info_reader_node.py)
    unicorn_intersection_node (unicorn_intersection/unicorn_intersection_node.py)
    vehicle_avoidance_control_node (vehicle_detection/vehicle_avoidance_control_node.py)
    vehicle_detection_node (vehicle_detection/vehicle_detection_node.py)
    vehicle_filter_node (vehicle_detection/vehicle_filter_node.py)
    wheels_driver_node (dagu_car/wheels_driver_node.py)
  /
    zmaj_to_map (tf/static_transform_publisher)

ROS_MASTER_URI=http://localhost:11311/

process[zmaj/camera_node-1]: started with pid [97]
process[zmaj/cam_info_reader_node-2]: started with pid [98]
process[zmaj/decoder_node-3]: started with pid [99]
process[zmaj/raw_cam_info_reader_node-4]: started with pid [100]
process[zmaj/inverse_kinematics_node-5]: started with pid [101]
process[zmaj/wheels_driver_node-6]: started with pid [104]
process[zmaj/joy_node-7]: started with pid [107]
[ERROR] [1539188841.522756847]: Couldn't open joystick /dev/input/js0. Will retry every second.
process[zmaj/joy_mapper_node-8]: started with pid [114]
process[zmaj/fsm_node-9]: started with pid [121]
[INFO] [1539188842.873472]: [/zmaj/wheels_driver_node] Initializing 
[INFO] [1539188842.890903]: [/zmaj/wheels_driver_node] ~use_rad_lim = False 
[INFO] [1539188842.908296]: [/zmaj/wheels_driver_node] ~min_rad = 0.06 
[INFO] [1539188842.928635]: [/zmaj/wheels_driver_node] ~wheel_distance = 0.103 
process[zmaj/car_cmd_switch_node-10]: started with pid [122]
process[zmaj/logic_gate_node-11]: started with pid [129]
[INFO] [1539188843.880630]: [/zmaj/decoder_node] ~publish_freq = 2.0 
[INFO] [1539188844.001890]: [/zmaj/joy_mapper_node] Initializing 
[INFO] [1539188844.014509]: [/zmaj/joy_mapper_node] ~speed_gain = 0.41 
[INFO] [1539188844.032428]: [/zmaj/joy_mapper_node] ~steer_gain = 8.3 
[INFO] [1539188844.050723]: [/zmaj/joy_mapper_node] ~bicycle_kinematics = 0.0 
[INFO] [1539188844.067952]: [/zmaj/joy_mapper_node] ~steer_angle_gain = 1.04 
[INFO] [1539188844.083408]: [/zmaj/joy_mapper_node] ~simulated_vehicle_length = 0.18 
[INFO] [1539188844.598334]: [/zmaj/cam_info_reader_node] ~config = baseline 
[INFO] [1539188844.610083]: [/zmaj/cam_info_reader_node] ~cali_file_name = zmaj 
[INFO] [1539188844.623417]: [/zmaj/cam_info_reader_node] ~image_type = compressed 
[INFO] [1539188844.636980]: [/zmaj/cam_info_reader_node] Using calibration file: /data/config/calibrations/camera_intrinsic/zmaj.yaml
[WARN] [1539188844.679702]: [/zmaj/inverse_kinematics_node] /data/config/calibrations/kinematics/zmaj.yaml does not exist. Using default.yaml.
[INFO] [1539188844.699043]: [/zmaj/cam_info_reader_node] CameraInfo: header: 
  seq: 0
  stamp: 
    secs: 0
    nsecs:         0
  frame_id: "/zmaj/camera_optical_frame"
height: 480
width: 640
distortion_model: "plumb_bob"
D: [-0.263589587031544, 0.047928257687758644, 0.00270942617135633, -0.0019335030993783413, 0.0]
K: [335.43241851709195, 0.0, 330.9292689586423, 0.0, 336.6263577666258, 236.08265003030806, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [225.26609802246094, 0.0, 329.6206003152656, 0.0, 0.0, 280.408447265625, 237.0800752252835, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi: 
  x_offset: 0
  y_offset: 0
  height: 0
  width: 0
  do_rectify: False
[WARN] [1539188844.700901]: [/zmaj/cam_info_reader_node] ==============CompressedImage
process[zmaj/line_detector_node-12]: started with pid [140]
[INFO] [1539188844.801165]: [/zmaj/inverse_kinematics_node] ~gain = 1.0 
[INFO] [1539188844.818403]: [/zmaj/raw_cam_info_reader_node] ~config = baseline 
[INFO] [1539188844.853466]: [/zmaj/inverse_kinematics_node] ~trim = 0.0 
[INFO] [1539188844.862878]: [/zmaj/raw_cam_info_reader_node] ~cali_file_name = zmaj 
[INFO] [1539188844.892632]: [/zmaj/inverse_kinematics_node] ~baseline = 0.1 
[INFO] [1539188844.905163]: [/zmaj/raw_cam_info_reader_node] ~image_type = raw 
[INFO] [1539188844.915002]: [/zmaj/raw_cam_info_reader_node] Using calibration file: /data/config/calibrations/camera_intrinsic/zmaj.yaml
[INFO] [1539188844.919380]: [/zmaj/inverse_kinematics_node] ~radius = 0.0318 
[INFO] [1539188844.932019]: [/zmaj/inverse_kinematics_node] ~k = 27.0 
[INFO] [1539188844.952279]: [/zmaj/inverse_kinematics_node] ~limit = 1.0 
[INFO] [1539188845.030445]: [/zmaj/raw_cam_info_reader_node] CameraInfo: header: 
  seq: 0
  stamp: 
    secs: 0
    nsecs:         0
  frame_id: "/zmaj/camera_optical_frame"
height: 480
width: 640
distortion_model: "plumb_bob"
D: [-0.263589587031544, 0.047928257687758644, 0.00270942617135633, -0.0019335030993783413, 0.0]
K: [335.43241851709195, 0.0, 330.9292689586423, 0.0, 336.6263577666258, 236.08265003030806, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [225.26609802246094, 0.0, 329.6206003152656, 0.0, 0.0, 280.408447265625, 237.0800752252835, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi: 
  x_offset: 0
  y_offset: 0
  height: 0
  width: 0
  do_rectify: False
[WARN] [1539188845.032633]: [/zmaj/raw_cam_info_reader_node] ==============Image
[INFO] [1539188845.214339]: [/zmaj/inverse_kinematics_node] Initialized.
[INFO] [1539188845.217388]: [/zmaj/inverse_kinematics_node] gain: 1.0 trim: 0.0 baseline: 0.1 radius: 0.0318 k: 27.0 limit: 1.0
[INFO] [1539188845.264279]: [/zmaj/camera_node] Initializing......
[INFO] [1539188845.296572]: [/zmaj/camera_node] ~framerate_high = 30 
[INFO] [1539188845.318149]: [/zmaj/camera_node] ~framerate_low = 15 
[INFO] [1539188845.350428]: [/zmaj/camera_node] ~res_w = 640 
[INFO] [1539188845.388865]: [/zmaj/camera_node] ~res_h = 480 
process[zmaj/ground_projection-13]: started with pid [175]
[INFO] [1539188845.644182]: [/zmaj/car_cmd_switch_node] Initialized. 
[INFO] [1539188845.974817]: [/zmaj/camera_node] Initialized.
[INFO] [1539188845.980290]: [/zmaj/camera_node] Start capturing.
[INFO] [1539188846.000917]: [/zmaj/fsm_node] Initialized.
[INFO] [1539188846.014360]: [/zmaj/fsm_node] FSMState: NORMAL_JOYSTICK_CONTROL
[INFO] [1539188846.017729]: [/zmaj/car_cmd_switch_node] Car cmd switched to joystick in state NORMAL_JOYSTICK_CONTROL.
header: 
  seq: 1
  stamp: 
    secs: 1539188844
    nsecs: 962611913
  frame_id: ''
data: True
[INFO] [1539188846.133308]: [/zmaj/camera_node] Published the first image.
process[zmaj/duckiebot_visualizer-14]: started with pid [218]
process[zmaj_to_map-15]: started with pid [282]
process[zmaj/lane_filter_node-16]: started with pid [311]
process[zmaj/lane_controller_node-17]: started with pid [320]
[INFO] [1539188848.310238]: [/zmaj/duckiebot_visualizer] Initialzing.
[INFO] [1539188848.329203]: [/zmaj/duckiebot_visualizer] ~veh_name = zmaj 
[INFO] [1539188848.363969]: [/zmaj/duckiebot_visualizer] Initialzed.
process[zmaj/lane_pose_visualizer_node-18]: started with pid [321]
process[zmaj/vehicle_detection_node-19]: started with pid [327]
process[zmaj/vehicle_filter_node-20]: started with pid [328]
process[zmaj/vehicle_avoidance_control_node-21]: started with pid [335]
process[zmaj/led_emitter_node-22]: started with pid [339]
[INFO] [1539188852.389505]: [/zmaj/lane_controller_node] ~v_bar = 0.23 
[INFO] [1539188852.411454]: [/zmaj/lane_controller_node] ~k_d = -3.5 
[INFO] [1539188852.441622]: [/zmaj/lane_controller_node] ~k_theta = -1 
process[zmaj/unicorn_intersection_node-23]: started with pid [340]
[INFO] [1539188852.551872]: [/zmaj/lane_controller_node] ~d_thres = 0.2615 
[INFO] [1539188852.616797]: [/zmaj/lane_controller_node] ~theta_thres = 0.523 
[INFO] [1539188852.672077]: [/zmaj/lane_controller_node] ~d_offset = 0.0 
[INFO] [1539188852.702842]: [/zmaj/lane_controller_node] ~k_Id = 1 
[INFO] [1539188852.767760]: [/zmaj/lane_controller_node] ~k_Iphi = 0.0 
[INFO] [1539188852.803752]: [/zmaj/lane_controller_node] ~use_feedforward_part = False 
[INFO] [1539188852.843674]: [/zmaj/lane_controller_node] ~omega_ff = 0 
[INFO] [1539188852.874360]: [/zmaj/lane_controller_node] ~omega_max = 999 
[INFO] [1539188852.906499]: [/zmaj/lane_controller_node] ~omega_min = -999 
[INFO] [1539188852.933824]: [/zmaj/lane_controller_node] ~use_radius_limit = True 
[INFO] [1539188853.028377]: [/zmaj/lane_controller_node] ~min_rad = 0.06 
[INFO] [1539188853.099646]: [/zmaj/lane_controller_node] ~d_ref = 0 
[INFO] [1539188853.134715]: [/zmaj/lane_controller_node] ~phi_ref = 0 
[INFO] [1539188853.169667]: [/zmaj/lane_controller_node] ~object_detected = 0 
process[zmaj/random_april_tag_turns_node-24]: started with pid [352]
[INFO] [1539188853.852710]: [/zmaj/lane_controller_node] Initialized 
fsm_state changed in lane_controller_node to:  NORMAL_JOYSTICK_CONTROL
[INFO] [1539188853.904719]: active: False
process[zmaj/image_transformer_node-25]: started with pid [386]
process[zmaj/cont_anti_instagram_node-26]: started with pid [388]
================================================================================REQUIRED process [zmaj/line_detector_node-12] has died!
process has died [pid 140, exit code -9, cmd /home/software/catkin_ws/src/10-lane-control/line_detector/src/line_detector_node.py line_detector_node/transform:=anti_instagram_node/transform line_detector_node/fsm_mode:=fsm_node/mode line_detector_node/corrected_image/compressed:=image_transformer_node/corrected_image/compressed __name:=line_detector_node __log:=/root/.ros/log/4a40f92a-cca9-11e8-a376-b827eb6affaa/zmaj-line_detector_node-12.log].
log file: /root/.ros/log/4a40f92a-cca9-11e8-a376-b827eb6affaa/zmaj-line_detector_node-12*.log
Initiating shutdown!
================================================================================
[zmaj/cont_anti_instagram_node-26] killing on exit
[zmaj/image_transformer_node-25] killing on exit
[zmaj/random_april_tag_turns_node-24] killing on exit
[zmaj/unicorn_intersection_node-23] killing on exit
[zmaj/lane_pose_visualizer_node-18] killing on exit
[zmaj/led_emitter_node-22] killing on exit
[zmaj/vehicle_avoidance_control_node-21] killing on exit
[zmaj/vehicle_detection_node-19] killing on exit
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 563, in <module>
[zmaj/vehicle_filter_node-20] killing on exit
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/20-indefinite-navigation/unicorn_intersection/src/unicorn_intersection_node.py", line 2, in <module>
[zmaj/lane_controller_node-17] killing on exit
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/10-lane-control/lane_filter/src/lane_pose_visualizer_node.py", line 3, in <module>
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/50-misc-additional-functionality/vehicle_detection/src/vehicle_detection_node.py", line 13, in <module>
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/50-misc-additional-functionality/vehicle_detection/src/vehicle_avoidance_control_node.py", line 9, in <module>
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/50-misc-additional-functionality/vehicle_detection/src/vehicle_filter_node.py", line 14, in <module>
    import tf
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf/__init__.py", line 28, in <module>
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/10-lane-control/anti_instagram/src/image_transformer_node.py", line 2, in <module>
  File "/home/software/catkin_ws/src/20-indefinite-navigation/navigation/src/random_april_tag_turns_node.py", line 4, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 546, in main
    known_paths = addsitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 328, in addsitepackages
    addsitedir(sitedir, known_paths)
  File "/usr/lib/python2.7/site.py", line 196, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "/usr/lib/python2.7/site.py", line 158, in addpackage
    exec line
  File "<string>", line 1, in <module>
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/40-coordination/led_emitter/src/led_emitter_node.py", line 2, in <module>
    from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 39, in <module>
[INFO] [1539188858.486679]: [/zmaj/lane_controller_node] Shutting down...
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 47, in <module>
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 47, in <module>
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
        from std_msgs.msg import Header
from std_msgs.msg import Header
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/__init__.py", line 1, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/__init__.py", line 1, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 49, in <module>
    from .buffer_interface import *
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/buffer_interface.py", line 32, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 60, in <module>
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists
    os.stat(path)
KeyboardInterrupt
    import rosgraph
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/__init__.py", line 36, in <module>
    from ._Bool import *
    from ._Bool import *
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/_Bool.py", line 5, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/_Bool.py", line 5, in <module>
    import rospy.impl.init
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/init.py", line 54, in <module>
    import roslib; roslib.load_manifest('tf2_ros')
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 49, in <module>
    import rosgraph
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/__init__.py", line 36, in <module>
    from twisted.words.protocols.oscar import CAP_SERV_REL
  File "/usr/lib/python2.7/dist-packages/twisted/__init__.py", line 55, in <module>
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 49, in <module>
    import rosgraph
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/__init__.py", line 36, in <module>
    from . masterapi import Master, MasterFailure, MasterError, MasterException
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/masterapi.py", line 41, in <module>
    from . masterapi import Master, MasterFailure, MasterError, MasterException
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/masterapi.py", line 41, in <module>
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
    m = rospack.get_manifest(pkg)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 167, in get_manifest
    from . masterapi import Master, MasterFailure, MasterError, MasterException
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/masterapi.py", line 41, in <module>
        import genpy
import genpy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/__init__.py", line 34, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/__init__.py", line 34, in <module>
    from .tcpros import init_tcpros
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros.py", line 45, in <module>
    _checkRequirements()
  File "/usr/lib/python2.7/dist-packages/twisted/__init__.py", line 42, in _checkRequirements
    raise ImportError(required + ".")
ImportError: Twisted requires zope.interface 3.6.0 or later.
        from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/message.py", line 44, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/message.py", line 44, in <module>
        from xmlrpc.client import ServerProxy  # Python 3.x
from xmlrpc.client import ServerProxy  # Python 3.x
    from xmlrpc.client import ServerProxy  # Python 3.x
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 67, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 67, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 67, in <module>
    import rospy.impl.tcpros_service
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 54, in <module>
[zmaj/lane_filter_node-16] killing on exit
    return self._load_manifest(name)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 211, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
  File "/usr/lib/python2.7/dist-packages/rospkg/manifest.py", line 408, in parse_manifest_file
    import yaml
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 14, in <module>
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 14, in <module>
            import rosgraph.network
import rosgraph.network
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/network.py", line 66, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/network.py", line 66, in <module>
import rosgraph.network
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/network.py", line 66, in <module>
    from rospy.impl.tcpros_base import TCPROSTransport, TCPROSTransportProtocol, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 35, in <module>
    from rosdep2.rospack import init_rospack_interface, is_ros_package, is_system_dependency, is_view_empty
  File "/usr/lib/python2.7/dist-packages/rosdep2/__init__.py", line 45, in <module>
        from cyaml import *
from cyaml import *
  File "/usr/lib/python2.7/dist-packages/yaml/cyaml.py", line 5, in <module>
  File "/usr/lib/python2.7/dist-packages/yaml/cyaml.py", line 5, in <module>
    if platform.system() == 'FreeBSD':
    if platform.system() == 'FreeBSD':
  File "/usr/lib/python2.7/platform.py", line 1286, in system
    if platform.system() == 'FreeBSD':
  File "/usr/lib/python2.7/platform.py", line 1286, in system
  File "/usr/lib/python2.7/platform.py", line 1286, in system
    """Internal use: common TCPROS libraries"""
KeyboardInterrupt
    from .lookup import RosdepDefinition, RosdepView, RosdepLookup, \
  File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 44, in <module>
    from _yaml import CParser, CEmitter
    from _yaml import CParser, CEmitter
KeyboardInterruptKeyboardInterrupt

    from .sources_list import SourcesListLoader
  File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 49, in <module>
        return uname()[0]
return uname()[0]
  File "/usr/lib/python2.7/platform.py", line 1253, in uname
  File "/usr/lib/python2.7/platform.py", line 1253, in uname
    processor = _syscmd_uname('-p','')
  File "/usr/lib/python2.7/platform.py", line 987, in _syscmd_uname
    output = string.strip(f.read())
    processor = _syscmd_uname('-p','')
  File "/usr/lib/python2.7/platform.py", line 987, in _syscmd_uname
KeyboardInterrupt
    return uname()[0]
  File "/usr/lib/python2.7/platform.py", line 1253, in uname
    output = string.strip(f.read())
KeyboardInterrupt
    processor = _syscmd_uname('-p','')
  File "/usr/lib/python2.7/platform.py", line 987, in _syscmd_uname
    from .gbpdistro_support import get_gbprepo_as_rosdep_data, download_gbpdistro_as_rosdep_data
  File "/usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py", line 18, in <module>
    output = string.strip(f.read())
KeyboardInterrupt
    from .platforms.debian import APT_INSTALLER
  File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/debian.py", line 37, in <module>
    from .pip import PIP_INSTALLER
  File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/pip.py", line 33, in <module>
    import pkg_resources
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
[INFO] [1539188858.745365]: camera info topic is /zmaj/camera_node/camera_info
[zmaj_to_map-15] killing on exit
[INFO] [1539188858.754142]: waiting for camera info
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 626, in _build_master
    ws = cls()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 619, in __init__
    self.add_entry(entry)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 675, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1982, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2370, in from_location
[zmaj/duckiebot_visualizer-14] killing on exit
    py_version=py_version, platform=platform, **kw
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2687, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2335, in _version_from_file
[INFO] [1539188858.789737]: [/zmaj/duckiebot_visualizer] Shutting down.
    line = next(iter(version_lines), '')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2502, in _get_metadata
    if self.has_metadata(name):
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1463, in has_metadata
    return self.egg_info and self._has(self._fn(self.egg_info, name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1568, in _has
    return os.path.exists(path)
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists
    os.stat(path)
KeyboardInterrupt
[INFO] [1539188859.065402]: camera info received
[zmaj/ground_projection-13] killing on exit
[zmaj/line_detector_node-12] killing on exit
[zmaj/logic_gate_node-11] killing on exit
[INFO] [1539188859.177261]: [/zmaj/logic_gate_node] Shutting down.
[zmaj/car_cmd_switch_node-10] killing on exit
[INFO] [1539188859.195838]: [/zmaj/car_cmd_switch_node] Shutting down.
[zmaj/fsm_node-9] killing on exit
[INFO] [1539188859.282135]: [/zmaj/fsm_node] Shutting down.
[zmaj/joy_mapper_node-8] killing on exit
[INFO] [1539188859.562007]: [/zmaj/lane_controller_node] Shutdown
[zmaj/joy_node-7] killing on exit
[zmaj/wheels_driver_node-6] killing on exit
[INFO] [1539188859.992281]: [/zmaj/wheels_driver_node] Shutting down.
[zmaj/inverse_kinematics_node-5] killing on exit
[zmaj/raw_cam_info_reader_node-4] killing on exit
[INFO] [1539188860.098000]: [/zmaj/raw_cam_info_reader_node] Shutdown.
[zmaj/decoder_node-3] killing on exit
[zmaj/cam_info_reader_node-2] killing on exit
[INFO] [1539188860.287511]: [/zmaj/cam_info_reader_node] Shutdown.
[zmaj/camera_node-1] killing on exit
[INFO] [1539188860.396976]: [/zmaj/camera_node] Closing camera.
[INFO] [1539188860.398465]: [/zmaj/camera_node] Shutdown.
Unhandled exception in thread started by <bound method CameraNode.startCapturing of <__main__.CameraNode object at 0x6e238130>>
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/05-teleop/pi_camera/src/camera_node_sequence.py", line 73, in startCapturing
    self.camera.capture_sequence(gen, 'jpeg', use_video_port=True, splitter_port=0)
  File "/usr/local/lib/python2.7/dist-packages/picamera/camera.py", line 1519, in capture_sequence
Unhandled exception in thread started by 
sys.excepthook is missing
lost sys.stderr
    encoder.wait()
  File "/usr/local/lib/python2.7/dist-packages/picamera/encoders.py", line 398, in wait
    raise self.exception
rospy.exceptions.ROSException: publish() to a closed topic
Traceback (most recent call last):
  File "/home/software/catkin_ws/src/10-lane-control/lane_filter/src/lane_filter_node.py", line 176, in <module>
    rospy.init_node('lane_filter', anonymous=False)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 323, in init_node
    raise rospy.exceptions.ROSInitException("init_node interrupted before it could complete")
rospy.exceptions.ROSInitException: init_node interrupted before it could complete
[INFO] [1539188864.234130]: [GroundProjectionNode] Shutdown.
shutting down processing monitor...
... shutting down processing monitor complete
done

Error log 2:


Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/timer.py", line 235, in run
    self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration))
  File "/home/software/catkin_ws/src/05-teleop/joy_mapper/src/joy_mapper_node.py", line 52, in cbParamTimer
    self.v_gain = rospy.get_param("~speed_gain", 1.0)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 465, in get_param
    return _param_server[param_name] #MasterProxy does all the magic for us
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msproxy.py", line 121, in __getitem__
    code, msg, value = self.target.getParam(rospy.names.get_caller_id(), resolved_key)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/timer.py", line 235, in run
    self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration))
  File "/home/software/catkin_ws/src/05-teleop/dagu_car/src/wheels_driver_node.py", line 41, in updateParams
    self.use_rad_lim        =   rospy.get_param("~use_rad_lim")
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 465, in get_param
    return _param_server[param_name] #MasterProxy does all the magic for us
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msproxy.py", line 121, in __getitem__
    code, msg, value = self.target.getParam(rospy.names.get_caller_id(), resolved_key)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

Exception in thread Thread-12:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/timer.py", line 235, in run
    self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration))
  File "/home/software/catkin_ws/src/10-lane-control/lane_control/scripts/lane_controller_node.py", line 174, in getGains_event
    d_offset = rospy.get_param("~d_offset")
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 465, in get_param
    return _param_server[param_name] #MasterProxy does all the magic for us
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msproxy.py", line 121, in __getitem__
    code, msg, value = self.target.getParam(rospy.names.get_caller_id(), resolved_key)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

================================================================================REQUIRED process [zmaj/line_detector_node-12] has died!
process has died [pid 326, exit code -9, cmd /home/software/catkin_ws/src/10-lane-control/line_detector/src/line_detector_node.py line_detector_node/transform:=anti_instagram_node/transform line_detector_node/fsm_mode:=fsm_node/mode line_detector_node/corrected_image/compressed:=image_transformer_node/corrected_image/compressed __name:=line_detector_node __log:=/root/.ros/log/560f0e22-cca9-11e8-b54b-b827eb6affaa/zmaj-line_detector_node-12.log].
log file: /root/.ros/log/560f0e22-cca9-11e8-b54b-b827eb6affaa/zmaj-line_detector_node-12*.log
Initiating shutdown!
================================================================================```
liampaull commented 6 years ago

Can you first verify that you have swap enabled on the pi by looking at the output of free -h - you should see 1G under swap. Then rerun the run command with --memory 800m --memory-swap 1.8g included

lapandic commented 6 years ago

I don't have swap enabled:

              total        used        free      shared  buff/cache   available
Mem:           865M        123M        475M        6.1M        266M        653M
Swap:            0B          0B          0B
lapandic commented 6 years ago

It is not mentioned that we need to enable swap. How can I do it? Maybe we should include it in the documentation.

liampaull commented 6 years ago

it is included in the new sd card flashing script. Do this:

sudo dd if=/dev/zero of=/swap0 bs=1M count=1024
sudo mkswap /swap0
sudo echo "/swap0 swap swap" >> /etc/fstab (if it doesn't work just edit /etc/fstab and add that line)
sudo chmod 0600 /swap0
sudo swapon -a
lapandic commented 6 years ago

Thanks! It works now.