-
Notifications
You must be signed in to change notification settings - Fork 333
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
[rqt jtc] fails to receive state since new jtc ctrl msgs #642
Comments
Ah thank you! I started looking into reproducing this a few days ago
…On Fri, 2 Jun 2023, 15:14 gwalck, ***@***.***> wrote:
*Describe the bug*
following #557 <#557>
jtc is not working anymore to read feedback, and failed at sending commands
KeyError: 'position'
Traceback (most recent call last):
File "~/workspaces/ws/build/rqt_joint_trajectory_controller/rqt_joint_trajectory_controller/joint_trajectory_controller.py", line 423, in _update_cmd_cb
pos = self._joint_pos[name]["position"]
*Expected behavior*
RQT JTC should get its information from the new "controller_state" topic
in the new JTC message.
*Environment (please complete the following information):*
- OS: ubuntu 22.04
- Version master of ros2_controllers against rolling
A PR is ready. standby
—
Reply to this email directly, view it on GitHub
<#642>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA24PYNPKNBKFOVUIL2LIBDXJHYNPANCNFSM6AAAAAAYYMDB2A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Do we also have this issue in humble? |
@bmagyar if jtc new control messages were ported back to humble, maybe, I did not test. |
as far as I can see when looking at code in humble and testing a modified rrbot launch file to start a jtc instead of the forward controller on humble branch of
the jtc controller of humble is publishing to both topics (state and controller_state) with a message containing both old and new structures, so the RQT JTC in humble is fine with it (well the rrbot has no joint limits I had to add some to get he RQT JTC to accept display the sliders). |
We could also update |
Maybe to add a note that RQT plugin is using only new topic because we want people using humble to transition to the new one |
What I understood is that humble was supposed to handle both, so we should not break RQT_JTC there. But now RQT_JTC is broken in rolling because in rolling there is only one topic accepted and one type of msg accepted. |
Hi all, At our company we are also encountering a problem that seems to be related to this issue. This can be reproduced by running the moveit_resources Fanuc example from this repo: We get the following segmentation fault that is related to the new
This makes Any idea about how to solve this? @bmagyar @gwalck @destogl We are working within a Docker container that pulls this image. |
@mpollayil this looks like a different issue. Can you give us more informations about your setup? What are you using from binaries, what are you using from source. This might points us to know what is happening. |
Hi Denis, thanks for your prompt reply.
Would you like me to open a separate thread for this?
We are not installing anything from source except for the moveit_resources package, installed with
Our Docker file pulls this image and then only installs the following:
Hope these information are enough. Please let me know if I should open another thread for this issue. |
To me those error messages seem like a convoluted way of saying "ABI incompatibility of messages". That being said I'm not really intimate with fastrtps to understand it's errors well. |
What happens if you don't start MoveIt part? It could be that the messages are not compatible due recent changes or that libraries are not on the correct versions. Have you updated or created Docker in the last few days? |
@destogl A very minimal launch file like the following one would still make ros2_control node crash:
It just runs ros2_control and spawns the two controllers. So, we believe this issue might not be related to MoveIt... Can it be related to simulating hardware with the ros2_control FakeSystem? Regarding Docker, we did not create or update it, but we rebuilt the image from scratch a few days ago and since that day we started having these issues. With the old image everything was working perfectly. |
Does this also happens with our examples? This could be ABI incompatibility, so you can try to compile controller in your setup. If not that is the issue in your setup. To help you there, we have to replicate the setup - this is then "professional support" category. If you re interest, write request on [email protected] |
The original problem was solved for rolling with #643. |
Describe the bug
following #557 jtc is not working anymore to read feedback, and failed at sending commands
Expected behavior
RQT JTC should get its information from the new "controller_state" topic in the new JTC message.
Environment (please complete the following information):
A PR is ready. standby
The text was updated successfully, but these errors were encountered: