Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dagana integration #4

Open
lucarossini-iit opened this issue Jun 16, 2023 · 1 comment
Open

Dagana integration #4

lucarossini-iit opened this issue Jun 16, 2023 · 1 comment

Comments

@lucarossini-iit
Copy link

lucarossini-iit commented Jun 16, 2023

Configuration for gripper adapter

joint_gripper_adapter:
        names: [dagana_2]
        thread: rt_main
        params:
            dagana_2/joint_name: {value: dagana_2_claw_joint, type: string}
            dagana_2/joint_type: {value: joint_ec, type: string}
            dagana_2/qopen: {value: -0.4, type: double}
            dagana_2/qclosed: {value: 0.6, type: double}
            dagana_2/vmax: {value: 1.0, type: double}
            dagana_2/stiffness: {value: 50.0, type: double}
@EdoardoRomiti
Copy link
Collaborator

This is now handled with the discovery and added to the ec_all.yaml config file:

joint_gripper_adapter:
        names:
            - dagana_E
        thread: rt_main
        params:
            dagana_E/joint_type:
                type: string
                value: joint_ec
            dagana_E/qclosed:
                type: double
                value: 0.6
            dagana_E/qopen:
                type: double
                value: -0.4
            dagana_E/stiffness:
                type: double
                value: 50.0
            dagana_E/vmax:
                type: double
                value: 1.0
            dagana_E/joint_name:
                type: string
                value: dagana_E_claw_joint

Anyway with this in the config xbot2 threads are not able to start:

[warn][rt_main] xbc thread 'rt_main' has not transited to run state yet 
[warn][nrt_main] xbc thread 'nrt_main' has not transited to run state yet 

By removing the 'joint_gripper_adapter', xbotcore starts without issues. Do we need some additional packages @alaurenzi ?

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

No branches or pull requests

2 participants