-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Rviz not displaying UR5 model properly - Melodic - Ubuntu 18.04 #530
Comments
did you intent to copy an error message here? |
yes, sorry. Here it is:
|
That's unrelated. Please also format code blocks correctly (docs). |
What you mean with unrelated? In your previous reply you asked for an error in the log message then I copied the error, clarifying what I meant in my first comment |
@BEC17 wrote:
the |
Seeing your RViz screenshot: do you have a (static) transform broadcaster for the If not: please use the dropdown to make another frame the root -- one which does have a publisher. |
There is no selection option in the dropdown, to use a different frame I have to write it down by my own (e.g. robot1_base_link) as you can see in the image, there is no change in the robot model |
Then it would appear you have no TFs being broadcast at all. What confuses me in your screenshot is that you show RViz, but it's not the RViz I would expect when you I'm pretty sure there isn't anything wrong with the packages in this repository (or at least not in a way which could cause this). I'm inclined to believe this is user-error at this point. Could you please tell us (again) which sequence of commands leads to the RViz as you show it in your latest screenshot. Please show verbatim copies of the commands, associated / resulting console output and please attach a screenshot of And: seeing as you're trying to load a custom URDF/xacro: which file(s) have you edited to load your file, instead of the default? |
I am agree with @gavanderhoorn it looks like an error with tf (and/or the robot_state_publisher). you can try the following two commands to debug the problem:
|
|
This is the output of
Screenshot of I must mention that I unchecked the debug option, otherwise I would not have gotten any output Screenshot of |
I only created two files in my catkin space; one is showed in my first comment and the other one was a launch file (the one I copy below)
|
There is no output for This is the output for
|
However, it would have been more correct to write: "Rviz does not display my custom URDF which instantiates a UR5 from this repository", as that is what it seems you are actually trying to do. Note: this is the first time you mention you have created a separate It's unclear to me whether you try to run your If it's the former: that would overwrite the If the latter: if what you show is really everything you have in your Finally:
Seeing as we have no tutorials which cover the topics you appear to be working on, this would be an external resource. I would suggest you contact the author(s) of that tutorial and ask them what is going wrong. As I believe the files we provide here are in a working state (but I'm certainly not claiming they are necessarily fault free), I'll restate my assumption this is a configuration/usage problem on your side, and not something we need to fix here. As a result, I'm going to close your issue. Not because I'm dismissing the fact you are encountering difficulties getting your URDF to visualise properly, but because this doesn't appear to be caused by anything we (don't) do here, and thus this issue tracker is not the correct venue to ask for support. |
As always, please feel free to keep commenting on the issue. If later it turns out something is amiss here, we can re-open. |
Thank you for your help. I have added I know the issue is already closed but may you please tell me how I can reset the Thanks again! |
I'm not sure I understand. What exactly do you want to do?
I don't believe those exist. All robot support packages in ROS-Industrial follow the same structure, and can be used in almost the same way. This allows you to reuse your experience across different OEMs. Afaik there are no tutorials specific to any one OEM.
You could take a look at the ROS-Industrial Training Exercises. |
You wrote in your previous comment "RViz would see a |
Thank you for the info. about the tutorial |
You still don't tell us what you want to achieve, only how you believe you should try to achieve it. Why do you believe Regular parameters are seldomly changed after they've been initialised. Especially
"I found a tutorial" -> always link to something you refer to. We cannot guess, nor can we know what you have in front of you.
No, because such a file would not be needed afaict with normal use of the packages and infrastructure. |
Could I ask you to please post questions about the use of the packages on ROS Answers? We'd like to keep the issue tracker for reporting issues and discussing enhancements. |
Of course, I will do that. I am trying to learn ROS-Industrial and I thought it would be a good start for me anyway, I will follow your advice of ROS Answer. Finally, your responses have been very useful in these days. |
Hello,
I've been using UR5 packages to follow a tutorial but I found some issues. First of all, when I execute my launch file, I notice that the UR5 model is not completed, as it can be seen in the picture:
I also have attached my xacro file but I think that there is no problem with that, nevertheless...
I have already checked out the solution proposed in #374 but never happened, everything remains the same.
I have also noticed in Rviz that in Fixed Frame, there is no selection option in the drop down.
I have also tried to use the following commands in order to identify something that help me out with my main issue
I have identified the following error in the log message:
and this warning:
I do not know how it can be related to my main issue... moreover when I run
UR5 model try to reach a random goal but it is not possible for it as seen in #427. I have also found that the solution for that issue is the same presented in #374 but it did not work for me, I do not know why.
If you have any suggestion, I really appreciate it. Thank you in advance.
The text was updated successfully, but these errors were encountered: