Open 3D Engine ROS2 Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::JointMotorControllerComponent Class Reference

Inherits AZ::Component, AZ::TickBus::Handler, ImGui::ImGuiUpdateListenerBus::Handler, and AZ::EntityBus::Handler.

Inherited by ROS2::ManualMotorControllerComponent, and ROS2::PidMotorControllerComponent.

Public Member Functions

 JointMotorControllerComponent (const JointMotorControllerComponent &other)=default
 
 JointMotorControllerComponent (JointMotorControllerComponent &&other)=default
 
 AZ_COMPONENT (JointMotorControllerComponent, "{88e725fc-29d8-45b9-b3e8-bd268ad9f413}")
 
void Activate () override
 
void Deactivate () override
 
void OnImGuiUpdate () override
 
void OnEntityActivated (const AZ::EntityId &entityId) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Attributes

AZ::EntityComponentIdPair m_jointComponentIdPair
 Joint component managed by the motorized joint.
 
float m_currentPosition { 0.0f }
 Last measured position.
 
float m_currentSpeed { 0.0f }
 Last measured speed.
 
JointMotorControllerConfiguration m_jointMotorControllerConfiguration
 

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