Skip to content

PILZ LIN samples in time instead of space #3292

@MarcoMagriDev

Description

@MarcoMagriDev

Description

The LIN pipeline of pilz_industrial_motion_planner samples IK solutions along the Cartesian path using a fixed sampling time (0.1 sec). Once the IK solutions are obtained, a joint-space interpolation is performed.

Since the Cartesian path is sampled based on time rather than space, the linearity of the resulting path degrades as the commanded motion speed increases.

For example, consider a motion of 1 meter:

  • If commanded at 1 m/s, 10 Cartesian samples will be extracted along the path.
  • If commanded at 5 m/s, only 2 samples will be extracted.

Since these points are then interpolated in joint space, the first motion will appear more linear than the second due to the higher number of samples along the Cartesian path.

ROS Distro

Humble

OS and version

Ubuntu 22.04

Source or binary build?

Source

If binary, which release version?

No response

If source, which branch?

humble

Which RMW are you using?

CycloneDDS

Steps to Reproduce

Command the same LIN motion at different speed and analyze resulting path linearity

Expected behavior

The linearity of the generated path should remain independent of the commanded speed.

Actual behavior

The linearity of the generated path is dependent of the commanded speed.

Backtrace or Console output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleInactive issues and PRs are marked as stale and may be closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions