Repository Summary

Checkout URI https://github.com/analogdevicesinc/tmcl_ros.git
VCS Type git
VCS Version noetic
Last Updated 2025-03-27
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
adi_tmcl 4.0.2

README

adi_tmcl

adi_tmcl (previously tmcl_ros) is the official ROS Driver for ADI Trinamic Motor Controllers (TMC) that uses Trinamic Motion Control Language (TMCL) protocol.

Background

:memo: Note: Tested boards are marked with asterisk(*). PD stands for PanDrive, which combines the motor and the Trinamic board in a single package. TMCM files in this ROS package should also be compatible with the PD version of the hardware. Contact the Developers for any issues encountered.

Hardware

For the tested TMCM-1636 setup, the following are used:

Also the following:

  • PWR/GND from board to external 24V power supply
  • 5-pin Motor connector (Hall) (see Note below)
  • 5-pin Motor connector (Encoder) (see Note below)
  • 40 pin Molex connectors

:memo: Note: Check Section 4 of QBL4208-x-1k Datasheet for motor wiring references.

The image below shows the connection diagram of the setup (with labels): TMCM-1636 Connections

The image below shows the actual setup used (for reference): TMCM-1636 Actual Setup

Software

Software Architecture

Software Architecture Diagram

Software Dependencies

Assumptions before building this package:

  • Installed ROS Noetic. If not, follow these steps.
  • Setup catkin workspace (with workspace folder named as “catkin_ws”). If not, follow these steps.

Clone

In the website:

  1. Make sure that the branch dropdown is set to “noetic”.
  2. Click the “Clone” or “Code” button, then copy the SSH or HTTPS link (eg, “*.git”).

In a terminal, do the following:

$ cd ~/catkin_ws/src
# Clone to directory "adi_tmcl" which is the package name
$ git clone <copied SSH o HTTPS link here> adi_tmcl

Build

Do proper exports first:

$ source /opt/ros/<ROS version>/setup.bash

Where:

  • “ROS version” is the user’s actual ROS version

File truncated at 100 lines see the full file