Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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: