Skip to content

New control signal - #34

Merged
mich-pest merged 6 commits into
mainfrom
new_control_signal
Sep 4, 2026
Merged

New control signal#34
mich-pest merged 6 commits into
mainfrom
new_control_signal

Conversation

@mich-pest

@mich-pest mich-pest commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Implementation of the new policy for controller-related message publication.

What changed?

Before a generic controller had to send ControlSignal message (encoding the torques) to the ControlLayer - that was responsible for sending DesiredTorques messages to the robot HAL - AND to send directly TrajectoryGenerator messages (encoding desired position and velocity, kp, kd) to HAL on different topics.

Gemini_Generated_Image_1y7m8y1y7m8y1y7m

In the new structure ControlSignal has been modified as follows:

uint8 control_mode;
sequence<double> joints_position;
sequence<double> joints_velocity;
sequence<double> joints_torques;
sequence<double> kp;
sequence<double> kd;

With control_mode spanning the following supported modes:

  • TORQUE_MODE
  • IMPEDANCE_MODE
  • POSITION_MODE
  • VELOCITY_MODE

The generic controller publishes directly a ControlSignal message to the ControlLayer. Then the ControlLayer is responsible to publish a ControlSignal message read by the HAL.
Gemini_Generated_Image_9x3mg99x3mg99x3m

More details in iit-DLSLab/dls2#334

@mich-pest
mich-pest changed the base branch from dls2_orchestrator_update to main August 11, 2026 14:45
@mich-pest mich-pest mentioned this pull request Aug 31, 2026
@mich-pest
mich-pest merged commit 8b8125f into main Sep 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant