Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 764 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 764 Bytes

TypeScript Robot Control Examples

Subscribes to /odom and publishes velocity commands to /cmd_vel.

CLI Example

deno task start

Web Example

Browser-based control with WebSocket bridge:

cd web
deno run --allow-net --allow-read --unstable-net server.ts

Open http://localhost:8080 in your browser.

Features:

  • Real-time pose display
  • Arrow keys / WASD for control
  • Click buttons to send twist commands

The browser imports @dimos/msgs via esm.sh and encodes/decodes LCM packets directly - the server just forwards raw binary between WebSocket and UDP multicast.

Dependencies

Main documentation for TS interop: