Open k-okada opened 10 months ago
@k-okada I think
Another solution would be to return the result of the message like https://github.com/k-okada/jsk_3rdparty/commit/e9a4904cb2449ab86415d8d4046592546a42b801 and write code like this
is better because the eus function is designed to be usable without knowing the detailed message specifications.
@mqcmd196 This is a modification to reply messages in the same thread like this![Screenshot from 2023-10-26 21-48-47](https://github.com/jsk-ros-pkg/jsk_3rdparty/assets/493276/e704aa05-13cb-4cd0-a231-82419d87d8d7)
instead of creating a new thread like this one.![Screenshot from 2023-10-26 22-04-00](https://github.com/jsk-ros-pkg/jsk_3rdparty/assets/493276/63b35990-1769-4da5-bc46-78cbbbb9a1db)
One strategy is to pass SimpleActionClient to the function, as in this PR modification.
Another solution would be to return the result of the message like https://github.com/k-okada/jsk_3rdparty/commit/e9a4904cb2449ab86415d8d4046592546a42b801 and write code like this
Which would be better? Or is there another way?