ROS 2 Dashing and Gazebo
4 ビュー (過去 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 で Network Connection and Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!