Skip to content

Topic #51 cleanup admittance branch for merge#55

Open
florian-pages wants to merge 85 commits into
mainfrom
topic-#51-cleanup-admittance-for-merge
Open

Topic #51 cleanup admittance branch for merge#55
florian-pages wants to merge 85 commits into
mainfrom
topic-#51-cleanup-admittance-for-merge

Conversation

@florian-pages

@florian-pages florian-pages commented Apr 15, 2026

Copy link
Copy Markdown
  • is build on the Topic #45 initial testing #46
  • Full motor feedback forwarding via /motor_feedback_full topic
  • Velocity/ position mode switchable via service
  • Mock ECManager for development without hardware
  • Admittance controller moved to rise-os-core as standalone admittance package.
  • rise_motion_messages stays in rise-motion

SimeonPr and others added 30 commits February 11, 2026 14:12
Also removes unnecessary print statement.
Removes:
- get_motor_values
- set_motor_values
- ctx_mutex
Also make the size of motor_feedback/motor_commands dependent on actual amount
of nodes (ctx instead of config).
Might need to remove in real system.
Function to transition ethercat state.
- Headers sorted
- Move to transition_ec
- Remove potentially unnecessary send/recvs
- Add some blocks to make scope of variables clear
- Update Shutdown logic
The script must be run from the workspace folder.
ROS Node calls init_ec and checks return code before starting cylic loop.
Also add a cmd line argument for controlling increment count.
Also set the target position to the current position.
This avoids sudden movement on startup.
@github-actions github-actions Bot added the Idle No one is currently working on the issue, its sitting in the backlog... label Apr 15, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, you just created your first merge request! See the following link for some guidance infromation on the first merge request! https://riseos-docs-e1325d.gitlab-pages.tu-berlin.de/docs/contributing/devops/git/git-merge/

* do velocity integration for rviz visualisation (joint moves for mock manager)
- main_mock.cpp: parse num_motors from CLI argument (default 6)
- AdmittanceDebug.msg: remove unused tau_gravity field
topic -> ethercat node -> apsa -> ethercat thread -> PDO
@paulwetzel

Copy link
Copy Markdown
Member

Hey @florian-pages what's the status with this one, can this be deleted or will something happen here, still?

@florian-pages

Copy link
Copy Markdown
Author

@paulwetzel Hi! No these are the changes i need for the admittance controller in rise-os-core. So either we keep it here or merge in main.

- Add torque_cmd_apsa buffer and set_motor_torque_apsa() to ECManager
- Route TargetTorque PDO in cyclic loop when mode 10 is confirmed
- Accept mode 10 in setOperationModeCallback (was 8/9 only)
- Add motor_commands_torque subscription in EthercatNode
- Implement set_motor_torque_apsa() as no-op in MockECManager
  torque_fb, tau_gravity_nm, tau_friction_nm
Absolute pos_rad has no meaningful zero point (raw multi-turn encoder
origin, machine-specific). Add a relative-position pair that a
consumer node can zero on demand, for experiments that need a
sensible 0-degree reference without knowing the raw calibration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Idle No one is currently working on the issue, its sitting in the backlog...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants