Skip to content

Add robot (robo) mobility and band-steering test flows to the YouTube streaming test#237

Open
Narayana-CT wants to merge 12 commits intogreearb:masterfrom
goyalsaurabh06:youtube_robo_pr_latest
Open

Add robot (robo) mobility and band-steering test flows to the YouTube streaming test#237
Narayana-CT wants to merge 12 commits intogreearb:masterfrom
goyalsaurabh06:youtube_robo_pr_latest

Conversation

@Narayana-CT
Copy link
Copy Markdown
Contributor

Changes

  • Foundation scaffolding: Add robo and bandsteering CLI args, CSV header extensions, and RobotClass initialization
  • Endpoint refactoring: Use wifi_interface_list for Linux endpoint commands; remove new_port_list
  • Stats ingest: Move YouTube stats CSV writes into the Flask POST endpoint; enrich rows with robo telemetry (BSSID, channel, coordinates)
  • Pause control: Add /pause_true and /pause_false Flask routes for battery-wait scenarios during robo runs
  • Robo execution flows: Add perform_robo_test() and perform_robo_bandsteering_test() with per-coordinate cycle logic
  • Robo reporting: Add create_robo_report(), add_frames_graphs_to_report(), add_buffer_health_graphs_to_report() helpers
  • Bandsteering report: Add add_bandsteering_report_section() with BSSID change count graphs and event tables
  • Main wiring: Integrate robo/bandsteering flows into main() and shutdown()
  • Polling cleanup: Remove get_data_from_api polling logic in favor of Flask-based ingest
  • Documentation: Add example CLIs for robo and bandsteering scenarios
  • Linting: Apply flake8 and autopep8 formatting fixes

Verified CLI

python3 lf_interop_youtube.py \
    --mgr 192.168.207.78 \
    --url "https://youtu.be/BHACKCNDMW8?si=mjPduPJ5a7KmCUAS" \
    --duration 1 \
    --upstream_port 192.168.204.90 \
    --res 144p \
    --do_robo \
    --robo_ip 127.0.0.1:5000 \
    --coordinates 3,2,1 \
    --rotations "" \
    --robot_wait_duration 1 \
    --do_bandsteering \
    --cycles 2 \
    --bssids 94:A6:7E:74:26:22,94:A6:7E:74:26:31

Add pause control routes for YouTube robo runs

Add /pause_true and /pause_false Flask endpoints to toggle the existing pause flag during robo battery-wait scenarios.

Keep the change isolated to the test server without altering stats collection, reporting, or execution flow.
Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
- Applied autopep8 formatting corrections
- Resolved flake8 lint warnings

Verified CLI:
python3 lf_interop_youtube.py     --mgr 192.168.207.78     --url https://youtu.be/BHACKCNDMW8?si=mjPduPJ5a7KmCUAS     --duration 1     --upstream_port 192.168.204.90     --res 144p     --do_robo     --robo_ip 127.0.0.1:5000     --coordinates 3,2,1     --rotations      --robot_wait_duration 1     --do_bandsteering     --cycles 2     --bssids 94:A6:7E:74:26:22,94:A6:7E:74:26:31

Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant