MVSim
Lightweight simulator for 2.5D vehicles and robots
Classes | Public Member Functions | List of all members
mvsim::ControllerBaseInterface Class Reference

#include <ControllerBase.h>

Inheritance diagram for mvsim::ControllerBaseInterface:
Inheritance graph
[legend]

Classes

struct  TeleopInput
 
struct  TeleopOutput
 

Public Member Functions

virtual void teleop_interface ([[maybe_unused]] const TeleopInput &in, [[maybe_unused]] TeleopOutput &out)
 
virtual bool setTwistCommand ([[maybe_unused]] const mrpt::math::TTwist2D &t)
 

Detailed Description

Interface of ControllerBaseTempl<> for teleoperation, etc. Abstract interface common to any vehicle type & any controller.

Member Function Documentation

◆ setTwistCommand()

virtual bool mvsim::ControllerBaseInterface::setTwistCommand ( [[maybe_unused] ] const mrpt::math::TTwist2D &  t)
inlinevirtual

Accept a Twist command.

Returns
true if the controller supports this kind of commands, false otherwise

Set these values to tell the controller the desired setpoints for linear (vx) (m/s) and angular (omega) (rad/s) velocities. Note that the "vy" component of the twist is ignored.


The documentation for this class was generated from the following file: