ROS 2 Dashing and Gazebo
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I am wokring on windows and have the VM installed and sucessfully have the ros_melodic_dashing_gazebov9.vmx operating.
When trying to use the worlds on my desktop, they simply open a terminal windows for a split second and then close again. It seems that they crash or Gazebo runs into issues and fails to open any of the worlds.
I have also tried this in conjunciton with the differetial drive example here . Which indicates to use
export SVGA_VGPU10=0
before opening the world, however this does not work either.
Any suggestions as to what is the problem?
Thanks,
Rob
댓글 수: 8
답변 (1개)
Cam Salzberger
2020년 12월 4일
이동: Jagadeesh Konakalla
2024년 7월 8일
The "roscore" not found error is the correct behavior for the default terminal, actually. ROS needs to be "sourced" to put its various tools and libraries on the path, but you generally shouldn't have both ROS and ROS 2 sourced in the same terminal (except if you are going to use ros1_bridge). So if you want to access the ROS functionality, use the "ROS Melodic Terminal" shortcut instead of the default terminal, which will source the right folder for you. If you want to use ROS 2, you can call:
source /opt/ros/dashing/setup.bash
Those error messages with Gazebo are not supremely helpful either. In the Gazebo Office world output, you should be able to safely ignore the complaint about "rosdep". I see that output as well, but it has no impact. The error that Gazebo is giving just seems to be an irregular crash that some people experience more than others. I've seen a couple of similar posts here and here, so you could try their suggested workarounds.
Also, since the error is so generic, it would probably help to take a look at the log files mentioned to see if there is anything there that stands out.
At this point, you probably need more direct assistance. I'd suggest contacting Tech Support with all of the error messages (copied as text instead of images, if possible) and log files. They should be able to provide more in-depth assistance.
If you get an answer that works, though, be sure to post it back here!
-Cam
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!