morse-code / lib /animation-helpers.js
RemiFabre
feat: initial Reachy Mini Morse Code app
843a4b2
Raw
History Blame Contribute Delete
764 Bytes
// Re-export of the SDK's /animation subpath, indirected through this short
// stable path so the rest of the app imports motion helpers from one place
// AND vitest can alias this single module to a stub (Node's ESM loader can't
// resolve `https:` imports). If you bump the SDK pin here, also bump the two
// import URLs in main.js and the two modulepreload links in index.html — they
// must all match (silent protocol drift otherwise). See README "SDK pin".
export {
INIT_POSE,
INIT_ANTENNAS_RAD,
DEFAULT_SCALED_DURATION_PRESET,
distanceBetweenPoses,
scaledDuration,
safelyReturnToPose,
installShutdownHandler,
} from "https://cdn.jsdelivr.net/npm/@pollen-robotics/reachy-mini-sdk@1.8.0-rc1-main.dbe26af/dist/animation/index.js";