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 bool setTwistCommand ([[maybe_unused]] const mrpt::math::TTwist2D &t)
 
virtual void teleop_interface ([[maybe_unused]] const TeleopInput &in, [[maybe_unused]] TeleopOutput &out)
 

Detailed Description

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

Definition at line 19 of file ControllerBase.h.

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.

Definition at line 46 of file ControllerBase.h.

◆ teleop_interface()

virtual void mvsim::ControllerBaseInterface::teleop_interface ( [[maybe_unused] ] const TeleopInput in,
[[maybe_unused] ] TeleopOutput out 
)
inlinevirtual

Definition at line 32 of file ControllerBase.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23