simulations

package
v0.0.0-...-70b330c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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