RViz is a 3D visualizer for the Robot Operating System (ROS) framework. In a lot of cases, RViz is run on a visualization workstation to monitor a robot.
However, sometimes it is useful to have RViz running on the robot itself. On the Jetson TK1 in particular this presents an issue, because running RViz causes a segmentation fault. Here’s the workaround:
|# Install rviz on the NVIDIA Jetson TK1|
|# Requires unsetting the GTK_IM_MODULE to avoid pcre conflict|
|sudo apt-get install ros-indigo-rviz|
|sudo apt-get install ros-indigo-robot-model|
|echo "unset GTK_IM_MODULE" >> ~/.bashrc|
The basic story is that one of the dependencies (pcre) is unhappy and needs one of the environmental variables unset. This seems to make everything happy and fluffy again.