Documentation ¶
Overview ¶
Package builtin contains the default navigation service, along with a gRPC server and client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuiltIn ¶
func NewBuiltIn(ctx context.Context, deps resource.Dependencies, conf resource.Config, logger golog.Logger) (navigation.Service, error)
NewBuiltIn returns a new navigation service for the given robot.
Types ¶
type Config ¶
type Config struct { Store navigation.StoreConfig `json:"store"` BaseName string `json:"base"` MovementSensorName string `json:"movement_sensor"` MotionServiceName string `json:"motion_service"` // DegPerSec and MetersPerSec are targets and not hard limits on speed DegPerSec float64 `json:"degs_per_sec"` MetersPerSec float64 `json:"meters_per_sec"` Obstacles []*spatialmath.GeoObstacleConfig `json:"obstacles,omitempty"` }
Config describes how to configure the service.
Click to show internal directories.
Click to hide internal directories.