ROS Rviz – NVIDIA Jetson TK1

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:

#!/bin/bash
# Install rviz on the NVIDIA Jetson TK1
# Requires unsetting the GTK_IM_MODULE to avoid pcre conflict
# 9-8-2016
sudo apt-get install ros-indigo-rviz
sudo apt-get install ros-indigo-robot-model
echo "unset GTK_IM_MODULE" >> ~/.bashrc
source ~/.bashrc

view raw
gistfile1.txt
hosted with ❤ by GitHub

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.

RViz
RViz

5 Comments

  1. Hi I used the jetson tx1 with rviz and followed the above advice but still have the problem of “bus error” what should i do, i really haven’t any idea.

Leave a Reply

Your email address will not be published.


*