ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

run the rviz

asked 2016-04-02 01:15:58 -0500

littlestar gravatar image

Each time I run the rviz "rosrun rviz rviz" I have to "export LIBGL_ALWAYS_SOFTWARE=1". And if I open a new windows, I have to export it again. I want to know how should I do if just set it once,and next time I run rviz,I can not set it. Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-02 01:56:19 -0500

ahendrix gravatar image

If you want an environment variable (like LIBGL_ALWAYS_SOFTWARE) to be set automatically every time you open a new terminal, add it to the bash startup file (.bashrc) in your home directory.

edit flag offensive delete link more

Comments

Thank you!

littlestar gravatar image littlestar  ( 2016-04-02 02:11:45 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-02 01:15:58 -0500

Seen: 2,358 times

Last updated: Apr 02 '16