diff --git a/config/blinking_sequences/test_assignment.txt b/config/blinking_sequences/test_assignment.txt index c61a59b..02a6daf 100644 --- a/config/blinking_sequences/test_assignment.txt +++ b/config/blinking_sequences/test_assignment.txt @@ -1,4 +1,4 @@ +1,0,0,0,1,1,0,0,0,0,0 +1,0,0,0,0,0,0,0,1,1,0 1,0,1,1,0,0,0,0,0,0,0 1,0,0,0,0,0,1,1,0,0,0 -1,0,0,0,0,0,0,0,1,1,0 -1,0,0,0,1,1,0,0,0,0,0 \ No newline at end of file diff --git a/install/test_leds.sh b/install/test_leds.sh index c02ebc1..0220be1 100755 --- a/install/test_leds.sh +++ b/install/test_leds.sh @@ -16,7 +16,7 @@ if [[ $response_led =~ ^(y|Y)=$ ]]; then echo "4 = /dev/MRS_MODULE4" read -n 2 resp_module echo "Starting with LED initialization on:/dev/MRS_MODULE$resp_module... This will take about 20 seconds." - path_to_led_config=/opt/ros/noetic/share/uvdar_core/config/blinking_sequences/test_assignment.txt + path_to_led_config=$(rospack find uvdar_core)/config/blinking_sequences/test_assignment.txt roslaunch uvdar_core led_manager.launch sequence_file:=$path_to_led_config portname:=/dev/MRS_MODULE$resp_module &> $tmp_file_LED_launch & pid_led_manager=$! sleep 5; rosservice call /$UAV_NAME/uvdar_led_manager_node/quick_start 0