adi_tmcl
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Classes and Structs
Struct tmcl_cfg_t
Struct tmcl_msg_t
Class BldcMotor
Class Motor
Class SocketCAN
Class StepperMotor
Class TmclInterpreter
Class TmclRos2
Enums
Enum tmcl_additional_ratio_params_lut_t
Enum tmcl_bldc_comm_mode_t
Enum tmcl_cmd_t
Enum tmcl_custom_cmd_lut_t
Enum tmcl_general_params_lut_t
Enum tmcl_hardware_params_lut_t
Enum tmcl_interface_params_lut_t
Enum tmcl_interface_t
Enum tmcl_ros_topic_params_lut_t
Enum tmcl_stepper_mode_t
Enum tmcl_sts_t
Variables
Variable additional_ratio_params_
Variable ANGULAR_FULL_ROTATION
Variable AUTO_START_ADDITIONAL_DELAY_DEFAULT
Variable AUTO_START_ADDITIONAL_DELAY_MAX
Variable comm_interface_params_
Variable EXEC_CMD_RETRIES_DEFAULT
Variable EXEC_CMD_RETRIES_MAX
Variable general_params_
Variable hardware_params_
Variable PI
Variable PUB_RATE_DEFAULT
Variable PUB_RATE_MAX
Variable PUB_RATE_MIN
Variable ros_topic_params_
Variable RX_ID_DEFAULT
Variable SEC_TO_MIN
Variable TIMEOUT_MS_DEFAULT
Variable TIMEOUT_MS_MAX
Variable TIMEOUT_MS_MIN
Variable tmcl_custom_cmd_
Variable TMCL_MSG_SZ
Variable TMCL_MSG_VALUE_SZ
Variable TMCM_BLDC
Variable TX_ID_DEFAULT
Variable TXRX_ID_MAX
Variable TXRX_ID_MIN
Directories
Directory include
Directory adi_tmcl
Files
File socket_can_wrapper.hpp
File tmcl_bldc_motor.hpp
File tmcl_common.hpp
File tmcl_interpreter.hpp
File tmcl_motor.hpp
File tmcl_ros2.hpp
File tmcl_stepper_motor.hpp
Message Definitions
TmcInfo
TmcParam
Service Definitions
TmcCustomCmd
TmcGapAll
TmcGgpAll
Standard Documents
CHANGELOG
Changelog for package tmcl_ros2
2.0.3 (2024-11-13)
2.0.2 (2024-11-05)
2.0.1 (2024-07-15)
2.0.0 (2023-11-21)
1.0.2 (2023-10-27)
1.0.1 (2023-10-10)
1.0.0 (2023-09-27)
LICENSE
PACKAGE
README
adi_tmcl
Background
Hardware
Software
Software Architecture
Software Dependencies
Clone
Build
Pre-Launch (One-time per setup)
BLDC Motors
Stepper Motors
Pre-Launch (One-time)
Initialize CAN
De-initialize CAN
Launch
Nodes
tmcl_ros2_node
Quick Tests
Test Velocity Mode
Test Position Mode
Test Torque Mode
Limitations
Support
Index
adi_tmcl
C++ API
Class BldcMotor
View page source
Class BldcMotor
Defined in
File tmcl_bldc_motor.hpp
Inheritance Relationships
Base Type
public
Motor
(
Class Motor
)
Class Documentation
class
BldcMotor
:
public
Motor
Public Functions
BldcMotor
(
rclcpp
::
Node
::
SharedPtr
p_node
,
TmclInterpreter
*
p_tmcl_interpreter
,
uint8_t
motor_number
,
uint32_t
module_number
)
virtual
~BldcMotor
(
)
virtual
void
init
(
)
override