Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Model = resource.NewModel(utils.Namespace, "ros", "sensor-publisher")
Functions ¶
Types ¶
type RosBridgeConfig ¶
type RosBridgeConfig struct { PrimaryUri string `json:"primary_uri"` Host string `json:"host"` Sensors []*SensorConfig `json:"sensors"` }
type RosSensorPublisher ¶
func (*RosSensorPublisher) Close ¶
func (r *RosSensorPublisher) Close(ctx context.Context) error
Close implements resource.Resource.
func (*RosSensorPublisher) DoCommand ¶
func (*RosSensorPublisher) DoCommand(ctx context.Context, cmd map[string]interface{}) (map[string]interface{}, error)
DoCommand implements resource.Resource.
func (*RosSensorPublisher) Reconfigure ¶
func (r *RosSensorPublisher) Reconfigure(ctx context.Context, deps resource.Dependencies, conf resource.Config) error
Reconfigure implements resource.Resource.
Click to show internal directories.
Click to hide internal directories.