bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
distributed_robot_navigation Namespace Reference

Classes

struct  Controller
struct  Team
struct  Outcome
class  InProcessBus
 Participants that are threads of one process, joined by queues. More...
class  Transport
 How the participants of a distributed simulation reach each other: everything one publishes, every other receives. More...

Typedefs

using steady = std::chrono::steady_clock
typedef MultiRobotNavigation::time_step_type time_step_type
typedef std::array< real_t, 2 > action_type
typedef DistributedAgentEnv< MultiRobotNavigation > agent_env_type
typedef std::vector< std::vector< RobotPose > > Paths
using real_t
 real_t
using uint_t
 uint_t

Functions

MultiRobotNavigation make_env (uint_t n_robots)
Controller controller (const MultiRobotNavigation &env, uint_t robot)
real_t seconds (steady::duration d)
Outcome participant (uint_t robot, uint_t n_robots, Transport &transport)
void report (const MultiRobotNavigation &env, const MultiAgentEpisodeResult &result, real_t min_separation)
int run_in_process (uint_t n_robots)
int run_mqtt (uint_t robot, uint_t n_robots, const std::string &broker)

Variables

const real_t PI = bitsim::consts::maths::PI

Typedef Documentation

◆ action_type

◆ agent_env_type

◆ Paths

typedef std::vector<std::vector<RobotPose> > distributed_robot_navigation::Paths

◆ real_t

◆ steady

using distributed_robot_navigation::steady = std::chrono::steady_clock

◆ time_step_type

◆ uint_t

Function Documentation

◆ controller()

Controller distributed_robot_navigation::controller ( const MultiRobotNavigation & env,
uint_t robot )

◆ make_env()

MultiRobotNavigation distributed_robot_navigation::make_env ( uint_t n_robots)

◆ participant()

Outcome distributed_robot_navigation::participant ( uint_t robot,
uint_t n_robots,
Transport & transport )

◆ report()

void distributed_robot_navigation::report ( const MultiRobotNavigation & env,
const MultiAgentEpisodeResult & result,
real_t min_separation )

◆ run_in_process()

int distributed_robot_navigation::run_in_process ( uint_t n_robots)

◆ run_mqtt()

int distributed_robot_navigation::run_mqtt ( uint_t robot,
uint_t n_robots,
const std::string & broker )

◆ seconds()

real_t distributed_robot_navigation::seconds ( steady::duration d)

Variable Documentation

◆ PI

const real_t distributed_robot_navigation::PI = bitsim::consts::maths::PI