Muscat app — Automatically finds our robots on the same network so you can connect and control them right away. PC · Mac · MobileGet the app
Muscat PK
Log in
Appendix

Plugin Router details

  • Address common/plugin/{plugin_id}/{path} — REST is always POST
  • meta["transport"]: api · socket · tcp · mqtt · webrtc
  • Restrict transports: router.on(..., explicit_routes=["api"]), router.subscribe(..., explicit_events=["tcp"])
CodeMeaning
404No handler registered (for about 1 minute after a restart, 504 before 404)
504No response within 10 s
503Plugin gateway is down
500Handler exception (the PluginRouteError code, if one is raised)
InfoRequires rainbow-rb-sdk 0.0.9.dev5 or later on the robot (older versions have no plugin.router → AttributeError). During muscat-pk dev, call it through the local Muscat: curl -X POST http://localhost:3000/common/plugin/<dev-id>/hello (the dev id is printed at startup)