Cockpit buttons' state now updated + added service to monitor retrieve their value#122
Cockpit buttons' state now updated + added service to monitor retrieve their value#122pucciland95 wants to merge 1 commit intoDoosanRobotics:masterfrom
Conversation
|
Hi.. @pucciland95, I tried this service and I think it will be helpful for data collection of gripper state but I'm getting False value when moving it manually also is there any way to perform free drive motion after switching to |
|
Hi, Regarding activating the Free Drive without touching the buttons, I honestly don't recall any functions that allow to do this. Check on the documentation, maybe you can find some useful function... Regarding your first question: what do you mean with "False values"? Does the buttons states result as pressed (True) despite they are not? Niccolo |
If it is not any of these I honestly don't recall what it could be. I don't work in the lab with the doosan robot anymore |
|
Sorry, actually my button values were not updating at that time; now I'm getting the correct value. |

Hi,
in our lab, we have a Doosan a0509s robot. I wanted to monitor the state of the buttons on the cockpit since it was handy to bind them to some actions during Teaching by Demonstration tasks (for example, close/open the gripper or start/stop Training recording).
Because of that, I changed the source code adding the possibility to retrieve from the API the button's status (before their values were not updated) and added a ROS service (/system/GetButtonsState) that monitors their status (you could also subscribe to the topic /robot_status to retrieve their values which, as I was saying, now is updated).
I hope this is will be useful to someone.
Niccolò