How roboparty/robopi_analyze works
robopi-analyze is a RoboPi diagnostics and maintenance toolkit. Its main workflow is to start a seven-dimension session, collect synchronized system, CAN, USB-CAN, HPM, and inference evidence, then analyze or export the session; operators can also save an emergency snapshot and inspect live communication status. The graph preserves the separately documented USB-CAN analysis tools and HPM maintenance tools. Most collection scripts and service wiring were not excerpted, so their documented relationships cite the README rather than implying uninspected implementation details.
Main entry points: capture_seven_dimensions.sh Seven-dimension capture · analyze_seven_dimensions.py Session timeline · flash_hpm.sh HPM firmware flashing · compare_usbcan_captures.py Capture comparison
Components 29
Capture and status
- Seven-dimension capture
capture/capture_seven_dimensions.sh - USB-CAN ring capture
capture/capture_usbcan_ring.sh - HPM UART capture
capture/capture_hpm_uart.sh - Emergency snapshot
bin/save_usbcan_snapshot.sh - Live status dashboard
bin/show_communication_dashboard.py - Capture service
etc/systemd/system/usbcan-capture.service
Diagnostic dimensions
- BMS and power
dimensions/01_bms_status.sh - CAN status details
dimensions/02_can_details.sh - Kernel log
dimensions/03_kernel_dmesg.sh - HPM UART dimension
dimensions/04_hpm_uart.sh - USB-CAN PCAP
dimensions/05_usb_pcap.sh - CAN ASC capture
dimensions/06_can_asc.sh - Inference screen
dimensions/07_inference_screen.sh
Offline analysis
- Session timeline
analysis/analyze_seven_dimensions.py - CAN ASC analysis
analysis/analyze_can_asc.py - USB URB analysis
analysis/analyze_usbcan_urb.py - CAN echo analysis
analysis/analyze_usbcan_echo.py - USB traffic timeline
analysis/analyze_usbcan_timeline.py - Capture comparison
analysis/compare_usbcan_captures.py - Error-window extraction
analysis/extract_usbcan_error_windows.py - EtherCAN PCAP analysis
bin/analyze_ethercan_pcap.py - Session export
bin/export_seven_dimensions.sh
HPM and CAN operations
- HPM log service
etc/systemd/system/hpm-log-capture.service - HPM reset monitor
etc/systemd/system/hpm-sreset.service - HPM firmware flashing
bin/flash_hpm.sh - HPM BootROM tool
bin/hpmtool.py - Bundled firmware
etc/firmware/ethercanfd_v1.1.0-20260914.bin - CAN interface restart
bin/restart_can_interfaces.sh
Other components
- Robot operator
Connections 33
- Robot operator → Seven-dimension capture: starts session
README.md - Capture service → Seven-dimension capture: starts capture
README.md - Seven-dimension capture → BMS and power: collects dimension
README.md - Seven-dimension capture → CAN status details: collects dimension
README.md - Seven-dimension capture → Kernel log: collects dimension
README.md - Seven-dimension capture → HPM UART dimension: collects dimension
README.md - Seven-dimension capture → USB-CAN PCAP: collects dimension
README.md - Seven-dimension capture → CAN ASC capture: collects dimension
README.md - Seven-dimension capture → Inference screen: collects dimension
README.md - Robot operator → Emergency snapshot: saves incident
README.md - Robot operator → Live status dashboard: views status
README.md - Robot operator → Session timeline: analyzes session
README.md - Session timeline → BMS and power: parses logs
analysis/analyze_seven_dimensions.py - Session timeline → CAN status details: parses logs
analysis/analyze_seven_dimensions.py - Session timeline → Kernel log: parses logs
analysis/analyze_seven_dimensions.py - Session timeline → HPM UART dimension: parses logs
analysis/analyze_seven_dimensions.py - Session timeline → USB-CAN PCAP: parses captures
analysis/analyze_seven_dimensions.py - Session timeline → CAN ASC capture: parses logs
analysis/analyze_seven_dimensions.py - Session timeline → Inference screen: parses output
analysis/analyze_seven_dimensions.py - Robot operator → CAN ASC analysis: analyzes ASC
README.md - Robot operator → USB URB analysis: analyzes URBs
README.md - Robot operator → CAN echo analysis: checks TX echo
README.md - Robot operator → USB traffic timeline: analyzes traffic
README.md - Robot operator → Capture comparison: compares captures
README.md - Capture comparison → USB URB analysis: calls analyzer
analysis/compare_usbcan_captures.py - Robot operator → Error-window extraction: extracts errors
README.md - Robot operator → EtherCAN PCAP analysis: analyzes PCAP
README.md - Robot operator → Session export: exports session
README.md - Robot operator → HPM firmware flashing: flashes HPM
README.md - HPM firmware flashing → HPM BootROM tool: uses tool
- HPM firmware flashing → Bundled firmware: uses firmware
- HPM log service → HPM UART capture: captures UART
README.md - Robot operator → CAN interface restart: restarts CAN
README.md