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

Digital I/O signal activation #198

Open
pala5 opened this issue Jul 26, 2024 · 10 comments
Open

Digital I/O signal activation #198

pala5 opened this issue Jul 26, 2024 · 10 comments
Labels
enhancement New feature or request high_priority

Comments

@pala5
Copy link

pala5 commented Jul 26, 2024

Helo @mhubii.

I have a question that came up while using your packages (lbr_frI_ros2_stack and fri).
I have the LBR Iiwa 14 820R with the Sunrise.OS 1.16.1.9 (FRI 1.16), and I am working with Ubuntu 22.04 and ROS2 Humble distro.

We have installed an external digital I/O card, configurable from Sunrise.Workvisual, required to control some external devices.
I have seen, that in the FRIClientSDK, for the FRI 1.16 version, in the frilLBRCommand class, there is the function setDigitalIOValue, but I did not found this functionality in this package.

I am missing something or it was not considered?
Could you provide some help regarding this issue?

@mhubii
Copy link
Member

mhubii commented Jul 26, 2024

Hi @pala5 , thanks for raising this issue. This is indeed missing right now

@pala5
Copy link
Author

pala5 commented Jul 26, 2024

Hi @mhubii, are you planning to work on it soon?

@mhubii mhubii added the enhancement New feature or request label Jul 26, 2024
@mhubii
Copy link
Member

mhubii commented Jul 26, 2024

well this is an important feature that should be supported. How urgent is it on your end?

@pala5
Copy link
Author

pala5 commented Jul 26, 2024

Well, I could say it is a matter of life and death.

@pala5
Copy link
Author

pala5 commented Aug 6, 2024

Hey @mhubii!
Do you have time to work on that?
Thanks

@mhubii
Copy link
Member

mhubii commented Aug 14, 2024

really occupied these days :(, I will give it a quick look tomorrow, hope this get you unstuck. Genuinely sorry

@pala5
Copy link
Author

pala5 commented Aug 26, 2024

Hey @mhubii, do not worry! Thank you very much for your effort.

@pala5
Copy link
Author

pala5 commented Sep 19, 2024

Hey @mhubii!
I don't want to be a bore, but do you have any update?
Thanks

@mhubii mhubii mentioned this issue Sep 24, 2024
@mhubii
Copy link
Member

mhubii commented Dec 16, 2024

@mhubii Hello, in my previous work, I implemented the connection between the motorized spindle -Beckhoff- robot control cabinet, which enabled me to control the start and stop of the motorized spindle and the speed through the sunrise workbench. Start-stop is achieved by sending a digital signal of DC+24V, and the speed is achieved by sending a continuous DC 0-10V analog signal. Now I want to realize the control of ROS2 and motorized spindle through FRI-1.15, but I have no clue. Could you please give me some advice, so that I can understand how I should modify fri to achieve my goal?

Originally posted by @TalentLeshen-DLUT in #231 (comment)

I looked through the KUKA Fast Robot Interface C++ SDK (version 1.15), I think I can by setting

  1. void KUKA: : FRI: : LBRCommand: : setBooleanIOValue (const char *, const bool),
  2. void KUKA: : FRI: : LBRCommand: : setDigitalIOValue (const char , const unsigned long long),
  3. void KUKA: : FRI: : LBRCommand: : setAnalogIOValue (const char , const double)

to make robot sent to receive ROS2 bool as well as the simulation, to control the start-stop of the motorized spindle and speed,
But I have no idea how to get ROS2 to send msgs.

Originally posted by @TalentLeshen-DLUT in #231 (comment)

@mhubii
Copy link
Member

mhubii commented Dec 16, 2024

here is a list of things that would need to be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high_priority
Projects
None yet
Development

No branches or pull requests

2 participants