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
No messages on joint_states topic - sometimes #39
Comments
I never used a USB/Ethernet adapter myself, so I cannot help you if the problem is that.
If you are sure that all these points are correct and your In particular
scares be a bit. Once I made my cabinet unable to boot while messing around that “Realtime OS Virtual Network Adapter”, which is not nice (I have my back covered, so I can mess around). Let me know if checking those three points your find out something! |
It is actually the exact same setup as discussed in #7, So the configuration has been largely working for quite a while. However, it doesn't seem to be very robust and a restart is often required to get it to work. I have been doing a couple of more tests. First of all, when only running the Also, if you kill the |
Oh, I see now! Sorry, I thought you meant in general all the 'state' topics had that behaviour. You can define this parameter in your launch file accordingly to your needs, by default it is not set so if you just run On the second issue. I don't recall complains about active threads, but yes. Sometimes when you kill Let me know if this clarify things a bit, I should probably write this down in the Wiki as well! |
Just curious: what was the reason for making not publishing And since everything is namespaced, the risk of collisions with other publishers seems small, if not impossible. |
We basically tried to follow what is done for the UR5 or the LBR 4+, i.e. having an hardware_interface that provides a Now, the iiwa and iiwa_stack are kinda an exception, since we have state publishers directly on board of the cabinet. We added the internal publisher for Suggestions and opinion are definitely welcome! (Finally someone actually helping improving our work!) |
Ah! That clarifies the bit about the
What I was talking about is when you kill the Anyhow, the other problem we were having was a seemingly correct connection to the |
Very true, that is why I set the default value of As for the rest. Yes, ROSSmartServo doesn't quit cleanly. Both me and @marcoesposito1988 tried all we could think of to be sure everything is disposed at the right time. I remember we achieved that for ROSMonitor, but in ROSSmartServo something hangs when it shouldn't. Give us more comments and updates if you have, and feel free to open a MR if you have a fix. |
@SalvoVirga wrote:
I'm not sure, but you seem to be implying here that the
Well. What sort of use of the bare driver (ie: without the I didn't include it above, but another option would be to migrate the Action server to the rosjava side as well. That would conceptually make sense given the fact that there is already a |
I was using it for visual servoing: I only had a rosmaster, the robot_state_publisher to have the joints in TF, and a node running. Taking the joint_state_publisher out helped reduce the latency. I know that this is quite an edge case, but if it does not disturb too much I would leave the joint_state publishing in. |
@marcoesposito1988 wrote:
Are you talking about a separate |
Yes: the standard MoveIt - ros_control configuration includes (in my experience) an hw interface (in our case iiwa_ros), then a joint_state_publisher and then robot_state_publisher on top. I had neither joint_state_publisher nor iiwa_ros running. I was publishing cartesian commands directly to /iiwa/command... |
Without seeing the launch files this is a bit of a guess, but MoveIt by itself does not publish any joint states unless it is configured to do so. A standard In a setup with a real robot (ie: a That's why I asked whether you were referring to a separate |
As a closing remark, the issues we were experiencing were related to the NTP server and sometimes to ROSSmartServo not exiting cleanly. |
Hi,
I am trying to communicate with iiwa 7 r800 using the iiwa_stack. The current Sunrise version is 1.9 and I am connecting to the java side to using a USB NIC (as discussed in #7). The configuration seems to work fine (the java application can connect to the master and
rostopic list
shows me all the topics) but no messages seem to be published.rostopic echo
is not able to read any messages on any of the topics. However sometimes, -very sporadically- it does work. Have you ever run into these kind of problems?The text was updated successfully, but these errors were encountered: