Skip to content

rsi_hw_interface: Control external axes #100

@ivareri

Description

@ivareri

I'm a bit unsure if this should be an issue or a PR (or even on the mailinglist), apologies if it ended up in the wrong place.

I have two branches for controlling (linear) external axes on a KRC 2 via RSI.
https://github.com/ivareri/kuka_experimental/tree/external_axes simply sets axis position using the AXISCORR object.
https://github.com/ivareri/kuka_experimental/tree/external_axes_tcp_offset is intended to be used with mathematically coupled axes, in addition to the AXISCORR object, it uses the PATHCORR object to displace the TCP position. This requires the external axes to line up with KUKA WORLD frame. Axes direction and relation to X,Y,Z is currently hardcoded.

Both branches have been tested and is working on a KRC 2. There is one quirk that I'm unsure if is specific to our setup or not. RSI output from a linear axis is in [mm * 180/PI]. I asked KUKA support about it, but the guy I talked to didn't know too much about KRC 2 with ext. axes and RSI, and recommended me to live with it if I could.

I could put in some effort to clean up and make the code more configurable if wanted. If so, I would like some input on what should be configurable, and the best way to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions