Spaces:
Sleeping
Sleeping
Commit History
-
Smart data ingestion + figure safety + synthetic manifest + HF auth fix
Addresses the directive's six Major Problems without disturbing the primary Gradio workflow at http://127.0.0.1:7860. Major Problem 1 — robust multi-format CSV ingestion New module cdpr.ingest.smart_loader provides load_dataset() and ProfileReport across CSV / TSV / TXT / XLSX / XLS / ODS / Parquet / Feather. Auto-detects format from extension and magic bytes; missing engine surfaces a clean ImportError with the install command rather than a tangled traceback. Timestamp handling: any column whose normalised name matches the alias table (time/timestamp/ts/sec/date/...) OR any string column whose first non-null values parse as datetime is converted to seconds-from-first-sample under a new 't' column. The directive's exact failure case --- 2025-05-07 15:01:27.548198 --- yields t = 0, 1, 2, 3, 4 (seconds). Missing-value handling: recognises the full sentinel set the directive listed (none/None/NULL/NaN/nan/N/A/missing/blank plus common spreadshe…2ad96a7
-
Five built-in CDPR_SIMULATOR examples (3 trajectories + 2 data-driven)
Implements the directive's selectable demonstration set as built-in tutorials accessible identically from PowerShell and the Streamlit GUI. The registry in scripts/examples.py is the single source of truth. Phase 1 — physics-based motion simulation: * circle --- 3-DoF planar circular tracking on the dissertation_8cable robot. 0.05 m radius, 2 revolutions, ~12.6 s, quintic time-scaling for smooth start / stop. * spiral --- 6-DoF helical sweep (the directive's "one example with all six DoFs" requirement). 3-revolution spiral at z = 0.65 m +/- 0.04 m with bounded sinusoidal yaw (+/-17°), pitch (+/-6°) and roll (+/-3°) at distinct phase offsets. Bounded amplitudes (not monotonic rotations) are essential under pure PD: without orientation feedforward, a growing angle saturates the QP --- bounded oscillation keeps the angular error inside the cable wrench envelope…4a660db