Home | Tutorials | Wiki | Issues
Ask Your Question

josephcoombe's profile - activity

2019-01-03 13:05:46 -0600 answered a question IMU plug in noise data of linear acceleration

I ran into this issue recently trying to use Google Cartographer on bagged data from Gazebo. The 3D SLAM algorithm perf

2018-11-09 09:18:30 -0600 edited answer how can i use friction coefficient more than 1?

I would experiment with setting mu and mu2 to really high values (>1) anyways, e.g. 100, 1000, Inf, just to see what

2018-11-09 09:18:06 -0600 edited answer how can i use friction coefficient more than 1?

I would experiment with setting mu and mu2 to really high values (>1) anyways, e.g. 100, 1000, Inf, just to see what

2018-11-09 09:17:41 -0600 answered a question how can i use friction coefficient more than 1?

I would experiment with setting mu and mu2 to a really high values (>1) anyways, e.g. 100, 1000, Inf, just to see wha

2018-09-24 09:14:30 -0600 answered a question Traffic Light Simulation

See: Gazebo Newsletter June 2018: Featured Model (Traffic Light) Example Pull Request for Traffic Light control Changi

2018-09-18 16:19:02 -0600 marked best answer Gazebo crashes intermittently (race condition?) when run from roslaunch alongside ROS (gazebo_gui-2, gazebo_gui-3])

Summary
Gazebo will crash intermittently when I run it from roslaunch in conjunction with other ROS nodes

  • If I roslaunch a .launch file that starts a .world file via gazebo_ros, Gazebo does not crash.
  • However, my .launch file also contains a .urdf with plugins (that may use ROS and Gazebo messaging) and some other ROS nodes (containing SMACH finite state machines for example). In this case, Gazebo does crash intermittently, once every 2 - 10 launches.
  • The crashing appears to become more frequent (a crash every 2-4 launches) as the number of ROS node's in the launch file goes up.
  • My solution is to Ctrl-C the Terminal window and then simply roslaunch the .launch file again. Sometimes I have to repeat this process a couple times. Repeated Gazebo crashes also appear to become more frequent as the number of nodes I'm launching goes up.
  • A weird trick, if I:
    • $ roslaunch myfile.launch
    • and then immediately click on my terminal window and drag-it across my monitor.
      Gazebo will almost never crash. I have no idea why this works. I just know it does (for me).

Error Message
libGL error: failed to create drawable ...
[gazebo_gui-2] process has died ...
https://ibb.co/f93iEb

Also, I think there's a segmentation fault one, but I wasn't able to produce it on demand (as I said, the crashing seems somewhat random / non-deterministic)

Graphics Card
I have a non-NVIDIA Graphics Card:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]

Related
Looking through the forums, there seem to be a number of related questions:

On startup of gazebo I get intermittent error
Diagnosis: ROS or Gazebo threading bug, race condition, graphics card
Workaround: Set gazebo_ros debug parameter to true, set node respawn="true" in .launch file

gazebo crashes immediately using roslaunch after installing gazebo ros packages gazebo_gui-3 error when starting gazebo with roslaunch
Diagnosis: gazebo_ros can't handle extra roslaunch __name and __log arguments
Workaround: start gazebo from separate terminal with rosrun
Solution?:https://github.com/ros-simulation/gaz...

Aside

When I Ctrl-C the terminal window where I ran roslaunch, I usually get the following [gazebo-2] escalating to SIGTERM message:

  [gazebo-2] escalating to SIGTERM
  [rosout-1] killing on exit
  Exception ignored in: <gdb.GdbOutputFile object at 0x7fdbc6477518>
  Traceback (most recent call last):
    File "/usr/share/gdb/python/gdb/__init__.py", line 43, in flush
      def flush(self):
  KeyboardInterrupt
  [master] killing on exit
  shutting down processing monitor...
  ... shutting down processing monitor complete
  done

Including this in case it is relevant

How to run Gazebo without crashing?
Is there something obvious I'm missing. What's the best way for me to go about diagnosing/fixing this problem?

Thank you.

2018-09-18 16:19:02 -0600 received badge  Scholar (source)
2018-09-17 10:44:39 -0600 answered a question Tower of Hanoi: Objects jumping when stacked

Try setting the maxVel parameter to a low value. e.g: <gazebo> <maxVel>0</> </gazebo>

2018-09-14 08:25:03 -0600 answered a question Where to find gazebo plugin source files?

Gazebo Plugins source: https://bitbucket.org/osrf/gazebo/src/default/plugins/ gazebo_ros_plugins source: https://gith

2018-09-12 09:23:00 -0600 commented question SetVelocity() not working in Gazebo7

SetVelocity() works for me. Maybe provide some project/example code to show how you are using SetVelocity() and in what

2018-09-12 09:19:13 -0600 commented answer Setting friction params

At least according to the Bitbucket issue (https://bitbucket.org/osrf/gazebo/issues/2068/directional-friction-still-brok

2018-09-12 09:17:56 -0600 commented answer Setting friction params

At least according to the Bitbucket issue, the issue is resolved as of 2017/09/11.

2018-09-12 09:15:57 -0600 answered a question Read sensor data with ROS

Now I want to add some sensors to my robot and read the data from ROS. How can I do it? Do I need to code a Gazebo pl

2018-09-11 17:09:21 -0600 answered a question Physics parameters for a rolling ball

1) Should I increase the mu1,mu2 to achieve that? Sure, try setting mu1, mu2 to 0.1-1 respectively (0.005 is really

2018-08-31 15:20:38 -0600 edited answer Creating a Constant Force Spring

Have you tried using the SDF - Joint - Stiffness Element? Example: <joint name="gas_spring_joint" type="prismatic"&

2018-08-31 09:36:49 -0600 answered a question Creating a Constant Force Spring

Have you tried using the SDF - Joint - Stiffness Element? Example: <joint name="gas_spring_joint" type="prismatic"&

2018-08-21 09:31:48 -0600 commented answer Problem with laser sensor and heigthmap

As Raskkii says, default Gazebo height map isn't great. Look at the default empty .world's ground plane model. That shou

2018-08-14 12:49:28 -0600 answered a question Force Modelling in gazebo ?

Short Answer: Gazebo natively does not have CFD to simulate lift and drag. In order to simulate those forces, you would

2018-08-11 07:34:10 -0600 received badge  Good Answer (source)
2018-08-10 11:38:42 -0600 commented question Physics problem with simple movement of grasped object

It would be interesting to advance the simulation by single time steps right before and as it transitions along the x-ax

2018-08-07 11:09:51 -0600 received badge  Nice Answer (source)
2018-08-07 09:19:58 -0600 commented question Create visuals from c++ plugin during runtime

This question (and answers) may be pertinent to you: http://answers.gazebosim.org/question/3383/how-to-add-a-dynamic-vis

2018-08-07 09:15:08 -0600 edited answer What unit is "SetForce" on a revolute joint?

From experiments, I can confirm that, for rotational joints, SetForce()'s effort argument is in N/m - at least with the

2018-08-07 08:43:46 -0600 answered a question What unit is "SetForce" on a revolute joint?

From experiments, I can confirm that SetForce() applies a torque in N/m - at least with the ODE backend. As to why it's

2018-07-31 13:01:03 -0600 edited answer Why actors slow down the simulation considerably

Check out this blog post by Michael Huang: Excerpt: In this design, to animate each Actor in the scene, the poses

2018-07-31 12:53:31 -0600 edited answer Why actors slow down the simulation considerably

Check out this blog post by Michael Huang: Excerpt: In this design, to animate each Actor in the scene, the poses

2018-07-31 12:49:03 -0600 answered a question Why actors slow down the simulation considerably

Check out this blog post by Michael Huang: Excerpt: In this design, to animate each Actor in the scene, the poses

2018-07-27 08:46:52 -0600 edited answer Array elements are skipped

Looking at the OnUpdate() method in your code... public: void OnUpdate() { this->model->GetJoint("joint1")->

2018-07-27 08:45:32 -0600 answered a question Array elements are skipped

Looking at the OnUpdate() method in your code... public: void OnUpdate() { this->model->GetJoint("joint1")->

2018-07-27 08:11:30 -0600 commented question Timing, function and sequence of the gazebo "world update cycle" and the "plugin update cycle"

Did you ever get an official answers to these questions?

2018-07-27 06:07:55 -0600 received badge  Nice Answer (source)
2018-07-26 15:38:31 -0600 edited answer Setting initial joint position

If you are launching from ROS, <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_desc

2018-07-25 17:11:57 -0600 edited answer Mesh optimization for "fast" simulation

Partial answer here. My impression is that the number of contacts, not mesh geometry, is one of the largest bottlenecks

2018-07-25 17:11:15 -0600 answered a question Mesh optimization for "fast" simulation

Partial answer here. My impression is that the number of contacts, not mesh geometry, are one of the largest bottlenecks

2018-07-25 12:19:21 -0600 edited question Setting initial joint position

initial joint position How can I specify that my robot model spawned starts in a specific state ?

2018-07-25 11:29:35 -0600 edited answer Using Gazebo without ROS?

Using Gazebo without ROS? Yes, Gazebo is intended to work as a standalone robot simulator / visualizer. What

2018-07-25 11:28:42 -0600 edited answer Using Gazebo without ROS?

Using Gazebo without ROS? Yes, Gazebo is intended to work as a standalone robot simulator / visualizer. What

2018-07-25 11:23:45 -0600 edited answer Setting initial joint position

If you are launching from ROS, <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_desc

2018-07-25 10:51:34 -0600 answered a question Using Gazebo without ROS?

Using Gazebo without ROS? Yes, Gazebo is intended to work as a standalone robot simulator / visualizer. What

2018-07-25 09:36:52 -0600 answered a question Setting initial joint position

If you are launching from ROS, <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_desc

2018-07-23 09:06:24 -0600 commented answer Best practices for programmatic start, unpause, and shutdown of Gazebo simulation

Thanks this is helpful - especially links to example scripts!

2018-07-11 09:46:57 -0600 received badge  Nice Answer (source)
2018-07-10 10:20:08 -0600 edited answer Mobile Robot in gazebo using URDF files instead of SDF, the wheels are disappearing

1) When I run the launch file I cant see the wheels of the robots in gazebo. but If I changed the wheels to type

2018-07-10 09:34:27 -0600 commented question How to start Gazebo minimized

Fyi, you can launch Gazebo w/o a GUI. Here's an example launch file using the gazebo_ros package: https://github.com/ros

2018-07-10 09:34:04 -0600 commented question How to start Gazebo minimized

Fyi, you can launch Gazebo w/o a GUI. Here's an example launch file using the gazebo_ros package : https://github.com/ro

2018-07-10 09:33:43 -0600 commented question How to start Gazebo minimized

Fyi, you can launch Gazebo w/o a GUI. Here's an example launch file using the gazebo_ros package: https://github.com/ros

2018-07-10 09:32:59 -0600 commented question How to start Gazebo minimized

Fyi, you can launch Gazebo w/o a GUI. Here's an example launch file using the gazebo_ros package: https://github.com/ros

2018-07-10 09:23:28 -0600 commented question How to start Gazebo minimized

Fyi, you can launch Gazebo w/o a GUI. Here's an example launch file using the gazebo_ros package: https://github.com/ros

2018-07-10 09:14:22 -0600 edited answer Mobile Robot in gazebo using URDF files instead of SDF, the wheels are disappearing

1) When I run the launch file I cant see the wheels of the robots in gazebo. but If I changed the wheels to type

2018-07-10 09:08:05 -0600 answered a question Mobile Robot in gazebo using URDF files instead of SDF, the wheels are disappearing

1) When I run the launch file I cant see the wheels of the robots in gazebo. but If I changed the wheels to type