Browse Source

FW Version report bugfix

feature/d435i_testrig
Mohamed Fazil 2 years ago
parent
commit
8b1a94951f
4 changed files with 9627 additions and 3604 deletions
  1. +9599
    -3599
      stretch_camera_testrig/data/results/testrig_errors_data_202202171855.yaml
  2. +10
    -4
      stretch_camera_testrig/data/results/testrig_results_202202171855.yaml
  3. +16
    -0
      stretch_camera_testrig/main.py
  4. +2
    -1
      stretch_camera_testrig/nodes/testrig_analyze_data.py

+ 9599
- 3599
stretch_camera_testrig/data/results/testrig_errors_data_202202171855.yaml
File diff suppressed because it is too large
View File


+ 10
- 4
stretch_camera_testrig/data/results/testrig_results_202202171855.yaml View File

@ -1,6 +1,12 @@
capture_id: '202202171855'
lighting_condition: {brightness: null, temperature: null}
null_frames: {base_left_marker_pose: 0, base_right_marker_pose: 0, shoulder_marker_pose: 327,
wrist_inside_marker_pose: 0, wrist_top_marker_pose: 0}
lighting_condition:
brightness: null
temperature: null
null_frames:
base_left_marker_pose: 0
base_right_marker_pose: 0
shoulder_marker_pose: 327
wrist_inside_marker_pose: 0
wrist_top_marker_pose: 0
number_samples: 600
realsense_firmware: null
realsense_firmware: 05.13.00.50

+ 16
- 0
stretch_camera_testrig/main.py View File

@ -0,0 +1,16 @@
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi('PyCharm')
# See PyCharm help at https://www.jetbrains.com/help/pycharm/

+ 2
- 1
stretch_camera_testrig/nodes/testrig_analyze_data.py View File

@ -106,7 +106,8 @@ class TestRig_Analyze:
fw_details = Popen("rs-fw-update -l | grep -i 'firmware'", shell=True, bufsize=64, stdin=PIPE, stdout=PIPE,
close_fds=True).stdout.read()
fw_v = fw_details.split(',')[3]
fw_v = fw_details.split(' ')[-1]
fw_v = fw_v.split(' ')[-1]
fw_version = fw_v
except:
print('[Error] Realsense FW not found.')

Loading…
Cancel
Save