Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRobotChildMarsupial ¶
func IsRobotChildMarsupial(marsupials []simulations.Marsupial, robot simulations.Robot) bool
IsRobotChildMarsupial checks if the given robot is a child from the given slice of marsupials.
Types ¶
type Simulation ¶
type Simulation interface { simulations.Simulation // GetTrack returns the track name of the simulation that will be used as the simulation world. GetTrack() string // GetToken returns the websocket access token for users to connect to a gazebo instance through GZ3D. GetToken() *string // GetRobots returns the list of robots from a certain simulation. GetRobots() []simulations.Robot // GetMarsupials returns the list of marsupials from a certain simulation. GetMarsupials() []simulations.Marsupial // GetWorldIndex returns the WorldIndex id. GetWorldIndex() int // GetName returns the simulation's name. GetName() string // GetRunIndex returns the RunIndex value. GetRunIndex() int }
Simulation groups a set of methods to identify a SubT simulation.
Click to show internal directories.
Click to hide internal directories.