Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mvsim::DynamicsAckermann::ControllerRawForces Class Reference

#include <VehicleAckermann.h>

Inheritance diagram for mvsim::DynamicsAckermann::ControllerRawForces:
Inheritance graph
[legend]

Public Member Functions

virtual void control_step (const DynamicsAckermann::TControllerInput &ci, DynamicsAckermann::TControllerOutput &co) override
 
 ControllerRawForces (DynamicsAckermann &veh)
 
virtual void load_config (const rapidxml::xml_node< char > &node) override
 
virtual void teleop_interface (const TeleopInput &in, TeleopOutput &out) override
 
- Public Member Functions inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS >
virtual void clearLogs ()
 
virtual void control_step (const typename VEH_DYNAMICS::TControllerInput &ci, typename VEH_DYNAMICS::TControllerOutput &co)=0
 
 ControllerBaseTempl (VEH_DYNAMICS &veh)
 
virtual void load_config ([[maybe_unused]] const rapidxml::xml_node< char > &node)
 
virtual void newLogSession ()
 
virtual void on_post_step ([[maybe_unused]] const TSimulContext &context)
 
virtual void setLogRecording (bool recording)
 
virtual ~ControllerBaseTempl ()
 
- Public Member Functions inherited from mvsim::ControllerBaseInterface
virtual bool setTwistCommand ([[maybe_unused]] const mrpt::math::TTwist2D &t)
 
virtual void teleop_interface ([[maybe_unused]] const TeleopInput &in, [[maybe_unused]] TeleopOutput &out)
 

Static Public Member Functions

static const char * class_name ()
 

Public Attributes

double setpoint_steer_ang
 
double setpoint_wheel_torque_l
 
double setpoint_wheel_torque_r
 

Additional Inherited Members

- Public Types inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS >
using Ptr = std::shared_ptr< ControllerBaseTempl< VEH_DYNAMICS > >
 
- Protected Attributes inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS >
VEH_DYNAMICS & veh_
 

Detailed Description

Definition at line 63 of file VehicleAckermann.h.

Constructor & Destructor Documentation

◆ ControllerRawForces()

DynamicsAckermann::ControllerRawForces::ControllerRawForces ( DynamicsAckermann veh)

Definition at line 17 of file VehicleAckermann_ControllerRaw.cpp.

Member Function Documentation

◆ class_name()

static const char* mvsim::DynamicsAckermann::ControllerRawForces::class_name ( )
inlinestatic

Directly set these values to tell the controller the desired setpoints

Definition at line 67 of file VehicleAckermann.h.

◆ control_step()

void DynamicsAckermann::ControllerRawForces::control_step ( const DynamicsAckermann::TControllerInput ci,
DynamicsAckermann::TControllerOutput co 
)
overridevirtual

Definition at line 27 of file VehicleAckermann_ControllerRaw.cpp.

◆ load_config()

void DynamicsAckermann::ControllerRawForces::load_config ( const rapidxml::xml_node< char > &  node)
overridevirtual

Definition at line 36 of file VehicleAckermann_ControllerRaw.cpp.

◆ teleop_interface()

void DynamicsAckermann::ControllerRawForces::teleop_interface ( const TeleopInput in,
TeleopOutput out 
)
overridevirtual

This is to handle basic need of all the controllers.

Reimplemented from mvsim::ControllerBaseTempl< VEH_DYNAMICS >.

Definition at line 49 of file VehicleAckermann_ControllerRaw.cpp.

Member Data Documentation

◆ setpoint_steer_ang

double mvsim::DynamicsAckermann::ControllerRawForces::setpoint_steer_ang

Definition at line 70 of file VehicleAckermann.h.

◆ setpoint_wheel_torque_l

double mvsim::DynamicsAckermann::ControllerRawForces::setpoint_wheel_torque_l

Definition at line 70 of file VehicleAckermann.h.

◆ setpoint_wheel_torque_r

double mvsim::DynamicsAckermann::ControllerRawForces::setpoint_wheel_torque_r

Definition at line 70 of file VehicleAckermann.h.


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


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