Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gazebo fails to launch without sudo

Hey everyone. I cannot make gazebo to run. If I print:

gazebo

the result is

Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov] Error [Param.cc:181] Unable to set value [0,100000001] for key[near] Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.

... and the app crashes

If I type

sudo gazebo

the app does not crash, but I still get

Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov] Error [Param.cc:181] Unable to set value [0,100000001] for key[near] Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.

I can't use use roslaunch with gazebo, because it crashes (same error as gazebo) and I cannot provide sudo to the roslaunch. Please help!!!