Giter Site home page Giter Site logo

Comments (20)

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024 1

run_move_group is also mongo based. I don't think it should be related to WSL either. Let me know after you try with removing mongo stuff.

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024 1

If the problem persists feel free to open a new issue in this repo and ping me, then I will try to spare some time to see what is wrong and see if I can create a WSL and reproduce.

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

@AtariaLee I will send a PR soon to fix this. In the mean time you can check out https://github.com/ros-planning/moveit2/tree/main/moveit_demo_nodes/run_move_group to achieve a very similar behaviour.

from moveit2_tutorials.

AtariaLee avatar AtariaLee commented on September 28, 2024

I tried the new files,but i have the same problem.

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

Are you using the current master branch of moveit2?

Did you try this?

The PR is not merged yet so if you want to use the fix, you need to pull my branch of moveit2_tutorials (until it is merged) here: https://github.com/vatanaksoytezer/moveit2_tutorials/tree/fix/move_group

from moveit2_tutorials.

AtariaLee avatar AtariaLee commented on September 28, 2024

sorry,i am new learner in ros2.it seems that many demos and files are not ported to moveit2,like python interface demos and others. @vatanaksoytezer

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

No worries @AtariaLee. Most tutorials are not ported yet to ros2. But the ported (and merged) ones should work without any problems for now.

from moveit2_tutorials.

AtariaLee avatar AtariaLee commented on September 28, 2024

@vatanaksoytezer .thanks a lot!!!but its still too difficult for me to learn moveit2 in ros2 by following tutorials.
By following tutorials ,so many problems was happend,and im a rookie in ros2 and moveit2,so i dont konw how to fix it. That really bothers me.

from moveit2_tutorials.

MarqRazz avatar MarqRazz commented on September 28, 2024

@AtariaLee, I'm sorry you are seeing issues but these tutorials are still a work in progress. If there is a warning at the top like this then it has low chances of working for you.
image

Are you sure your workspace is up to date? The launch file you are attempting to run works on my machine.

You can update your workspace by cd'ing into it and running vcs pull src

Here are the packages I have in my src folder this is what it looks like when I ask vcs to update it (FYI you will probably not have moveit_task_constructor in yours)
image

from moveit2_tutorials.

AtariaLee avatar AtariaLee commented on September 28, 2024

@MarqRazz After i update my files,its worked.But i mean there still a lot of tutorials are not worked for moveit2.
And thanks a lot for everyones help!!!

from moveit2_tutorials.

newcanopies avatar newcanopies commented on September 28, 2024

Am I missing a step?

These three work:
ros2 launch run_moveit_cpp run_moveit_cpp.launch.py LOADS Rviz (image left) Tutorial page
ros2 launch run_move_group run_move_group.launch.py Tutorial page
ros2 launch run_move_group run_move_group_interface.launch.py LOADS Xterm

This one loads BLANK:
ros2 launch moveit2_tutorials demo.launch.py rviz_tutorial:=true BLANK Rviz (image middle)

image
Launch log here https://gist.github.com/newcanopies/3e74554c20cfeddd88cb51d99dd52329

Rviz still blank after ~/ws_ROS2/moveit2$ vcs pull src
and this Fork is not available to git pull https://github.com/vatanaksoytezer/moveit2_tutorials/tree/fix/move_group
thank you!

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

@newcanopies We've already merged my fork. Rviz should be blank with rviz_tutorial:=true flag which is meant for you to follow the quickstart tutorial here and add the rviz plugins yourself. If you want an already filled scene you shoud remove rviz_tutorial:=true flag and run as ros2 launch moveit2_tutorials demo.launch.py.

Let me know if you still have something unexpected after that.

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

But it seems you have trouble with mongo, I will try to recreate it in my local machine and see if I can find anything. Let me know if ros2 launch moveit2_tutorials demo.launch.py works as expected.

from moveit2_tutorials.

newcanopies avatar newcanopies commented on September 28, 2024

We've already merged my fork. Rviz should be blank with rviz_tutorial:=true flag which is meant for you to follow the quickstart tutorial here and add the rviz plugins yourself.

thanks @vatanaksoytezer
by BLANK I meant no Rviz interface
ros2 launch moveit2_tutorials demo.launch.py also runs a blank window, see new log: https://gist.github.com/newcanopies/0a0b0f0774a964279198b41c40705bf9

rviz_tutorial:=true should load Rviz with empty scene pictured in tutorial ---- not a blank white window?
image

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

I could not reproduce, but I would have some suspicions if:

  1. You have something related with mongo running in your computer
  2. You have multiple tutorials running at the same time (this should work, but maybe some conflict that I hadn't realized before happened)

Can you try commenting / deleting https://github.com/ros-planning/moveit2_tutorials/blob/main/doc/quickstart_in_rviz/launch/demo.launch.py#L195-L205 and https://github.com/ros-planning/moveit2_tutorials/blob/main/doc/quickstart_in_rviz/launch/demo.launch.py#L216 build again (colcon build) and run?

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

rviz_tutorial:=true should load Rviz with empty scene pictured in tutorial

That's true, yes.

from moveit2_tutorials.

newcanopies avatar newcanopies commented on September 28, 2024

Good news, these two can run simultaneous on WSL2
image

  • You have something related with mongo running in your computer

running only
WindowsTerminal > WSL2/Ubuntu > moveit2
Windows > Chrome

doubt it's WSL related since it loads the other two at the same time, unless they are not mongo based?

from moveit2_tutorials.

newcanopies avatar newcanopies commented on September 28, 2024

Can you try commenting / deleting https://github.com/ros-planning/moveit2_tutorials/blob/main/doc/quickstart_in_rviz/launch/demo.launch.py#L195-L205 and https://github.com/ros-planning/moveit2_tutorials/blob/main/doc/quickstart_in_rviz/launch/demo.launch.py#L216 build again (colcon build) and run?

rebuilt + sourced install, interface still blank ros2 launch moveit2_tutorials demo.launch.py
image
Ctrl-C prompts to SAVE CHANGES
image

launch log without mongo https://gist.github.com/newcanopies/719aa474c6420c2126aa8216c85283a1

If this is unique issue to me, no worries, I will work with run_move_group

from moveit2_tutorials.

vatanaksoytezer avatar vatanaksoytezer commented on September 28, 2024

I would love to get this working on your configuration as well, I will discuss it with some of the other moveit2 folks to see if they have any idea.

I am not sure if this is unique to you, I would appreciate if any folks seeing this running the tutorial and see if they can reproduce.

For now you can try with run_move_group or maybe you can give it a go to demo + rviz files from the PR at moveit/moveit_resources#64 as well.

from moveit2_tutorials.

newcanopies avatar newcanopies commented on September 28, 2024

try with run_move_group or maybe you can give it a go to demo + rviz files from the PR at ros-planning/moveit_resources#64 as well.

Awesome, thank you!

to get this working on your configuration as well

Np, if you ping me with further updates, I can test them on WSL2

from moveit2_tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.