-
Notifications
You must be signed in to change notification settings - Fork 22
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
Joint angles wrong #12
Comments
That's probably your Ethernet slave that is wrongfully configured. |
@Yuki-cpp Very good point! I just figured this out as well... it felt like an offset issue. I double checked my configuration and it was correct, however, there was a line permutation in my settings compared to the documentation: My configuration looked like this: As you can see the So I dug further found the frame unpacking function. I commented the line 223 and uncommented 214 and now it works as expected. Now I would like to know what is the reason my robot has these options switched... is it a robot firmware thing? I have TMFlow 1.80.5300. I checked the documentation (p. 265) regarding this and the order is the same as in the robot: It feels like code has an issue, can anybody confirm this with a different robot? |
@exwzd-kk I also had this exact issue! That was one of the reasons for me to create my own driver. |
@julespalles I guess you're referring to this repository. The good thing about this official package is that it attempts to be ROS-Industrial compliant and that requires significant effort on top of a standard functional ROS package. Also, gathering OSS development effort in one place allows for higher quality over time. In the case of this issue we must first understand the reason for why the author (@kentsai0319 ) decided to swap the lines, perhaps it's because of compatibility reasons between the TM5-700, TM5-900 and TM12? In #10 you mentioned that this driver worked well for you, what robot did you use it with? |
@exwzd-kk you should not see my driver as a replacement for this repository. |
@jvdtoorn Got it :) |
I have successfully connected to my TM5-900 using this package and following the instructions in the README.md, but it looks like the reported joint angles are wrong, I don't know about the velocities and torques...
This is what the robot looks like:

And this is what RViz reports:

At first, I thought the joint order was wrong, as when I tried to manually move the J1 joint (
shoulder_1_joint
) it moved the J2 (shoulder_2_joint
).I tried to swap the lines in here, but then I saw combined movements of multiple joints in RViz...
When checked with
rostopic echo /joint_states
I get the following:These are in radians, the robot reports completely different angles and none of them above 90 degrees.
Has this package been tested with TM5-900? Am I missing something?
The text was updated successfully, but these errors were encountered: