Skip to content
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

multiple rviz gets launched while launching moveit #17

Closed
padhupradheep opened this issue Sep 27, 2022 · 6 comments · Fixed by #76
Closed

multiple rviz gets launched while launching moveit #17

padhupradheep opened this issue Sep 27, 2022 · 6 comments · Fixed by #76
Assignees

Comments

@padhupradheep
Copy link

the issue is in this line

somehow the Ifcondition() is not taking in the value of the LaunchConfiguration. Maybe Open robotics changed something in the Python launch for Humble, which I might be unaware of.

As an alternate we need to use the LaunchContext to get the value of the LaunchConfiguration.

Hope this helps!

@fmauch
Copy link
Contributor

fmauch commented Sep 27, 2022

If what you're saying is that

ros2 launch ur_simulation_gazebo ur_sim_control.launch.py launch_rviz:=false

does start an RViz window on ROS2 Humble, I cannot confirm this.

@padhupradheep
Copy link
Author

padhupradheep commented Sep 27, 2022

No, I meant that, when I tried to launch ur_sim_moveit.launch.py we have 2 RViz window opened.

One from the ur_sim_control.launch.py

second one is from ur_config_moveit.launch.py

@fmauch
Copy link
Contributor

fmauch commented Sep 27, 2022

Thanks for clarifying. Yes, that seems to be a problem, indeed. Looking at the galactic version the problem seems to exist there, as well.

@Icon45
Copy link

Icon45 commented May 6, 2023

Has this Issue been fixed? I have a similar problem

@fmauch
Copy link
Contributor

fmauch commented Dec 15, 2023

#44 adds a workaround (at least on my machine), but I don't quite understand why that happens in the first place / why it is resolved by this. Doesn't seem like a clean solution for the problem.

@fmauch fmauch linked a pull request Dec 15, 2023 that will close this issue
@fmauch fmauch self-assigned this Dec 15, 2023
@padhupradheep
Copy link
Author

I'd be working on a project with UR arms in next few days. I'll also analyze it a bit..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants