File size: 1,387 Bytes
b664dbe
 
 
b4db948
b664dbe
 
 
1a7b22d
b664dbe
 
6a83670
b664dbe
1a7b22d
 
 
 
 
ea49c9f
b664dbe
 
 
 
 
 
 
 
 
 
dc82a28
 
 
 
 
 
b664dbe
 
 
 
 
 
 
 
 
130bae4
 
 
b664dbe
 
 
 
 
 
 
 
 
 
 
 
 
130bae4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
 * @lerobot/web - Web-based robotics control using WebSerial API
 *
 * Control robotics hardware directly from the browser using web APIs.
 */

// Core functions
export { calibrate } from "./calibrate.js";
export { teleoperate } from "./teleoperate.js";
export { findPort } from "./find_port.js";
export { releaseMotors } from "./release_motors.js";

// Browser support utilities
export {
  isWebSerialSupported,
  isWebUSBSupported,
} from "./utils/browser-support.js";

// Types
export type {
  RobotConnection,
  RobotConfig,
  SerialPort,
  SerialPortInfo,
  SerialOptions,
} from "./types/robot-connection.js";

export type {
  FindPortConfig,
  FindPortProcess,
} from "./types/port-discovery.js";

export type {
  CalibrateConfig,
  WebCalibrationResults,
  LiveCalibrationData,
  CalibrationProcess,
} from "./types/calibration.js";

export type {
  MotorConfig,
  TeleoperationState,
  TeleoperationProcess,
  TeleoperateConfig,
  TeleoperatorConfig,
  DirectTeleoperatorConfig,
} from "./types/teleoperation.js";

export type {
  RobotHardwareConfig,
  KeyboardControl,
} from "./types/robot-config.js";

// Utilities (advanced users)
export { WebSerialPortWrapper } from "./utils/serial-port-wrapper.js";
export {
  createSO100Config,
  SO100_KEYBOARD_CONTROLS,
} from "./robots/so100_config.js";
export { KEYBOARD_TELEOPERATOR_DEFAULTS } from "./teleoperators/index.js";