sim

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 15 Imported by: 0

README

Simulation Commands

apigear sim run demo.js

sends the demo.js script to the simulation server and runs it. Prints out the world id.

apigear sim stop

stops the simulation server with the given world id.

apigear sim start

apigear sim inspect

apigear sim call

apigear sim set world

shows the current state of the simulation server with the given world id.

sim server

Run simulation server using NATS as also a simulation olink server and the http server for API monitoring.

@TODO: move server to own subcommand

apigear server run

Run apigear server using NATS as also a simulation olink server and the http server for API monitoring.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientCommand

func NewClientCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

func NewRunCommand added in v0.45.0

func NewRunCommand() *cobra.Command

Types

type ObjectSink added in v0.21.0

type ObjectSink struct {
	// contains filtered or unexported fields
}

func (*ObjectSink) HandleInit added in v0.45.0

func (s *ObjectSink) HandleInit(objectId string, props core.KWArgs, node *client.Node)

func (*ObjectSink) HandlePropertyChange added in v0.45.0

func (s *ObjectSink) HandlePropertyChange(propertyId string, value core.Any)

func (*ObjectSink) HandleRelease added in v0.45.0

func (s *ObjectSink) HandleRelease()

func (*ObjectSink) HandleSignal added in v0.45.0

func (s *ObjectSink) HandleSignal(signalId string, args core.Args)

func (*ObjectSink) ObjectId added in v0.21.0

func (s *ObjectSink) ObjectId() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL