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

Can no longer run rviz

asked 2012-03-21 07:23:51 -0500

Dallas Goecker gravatar image

updated 2012-03-21 08:15:46 -0500

tfoote gravatar image

Something happened and I can no longer run rviz. I get the following when I try to run it:

$ rosrun rviz rviz

find: invalid predicate `-L'

[rosrun] Couldn't find executable named rviz below /opt/ros/electric/stacks/visualization/rviz

find: invalid predicate `-H'

$ ls -l /opt/ros/electric/stacks/visualization/rviz/bin
total 4236
-rwxr-xr-x   1 root     root      1207114 Feb  6 14:22 image_view
-rwxr-xr-x   1 root     root       763727 Feb  6 14:22 marker_test
-rwxr-xr-x   1 root     root      1115605 Feb  6 14:22 rviz
-rwxr-xr-x   1 root     root       398799 Feb  6 14:22 send_grid_cells
-rwxr-xr-x   1 root     root       324022 Feb  6 14:22 send_images
-rwxr-xr-x   1 root     root       515215 Feb  6 14:22 send_lots_of_points

Any ideas?

edit retag flag offensive close merge delete

Comments

I am able to run rviz directly by running: /opt/ros/electric/stacks/visualization/rviz/bin/rviz

Dallas Goecker gravatar image Dallas Goecker  ( 2012-03-21 08:04:00 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-03-21 08:19:53 -0500

tfoote gravatar image

It looks like your version of find changed. -L and -H are top level options on my man page for find.

$ find --version
find (GNU findutils) 4.4.2
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS() CBO(level=0)

from the man page:

SYNOPSIS
       find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression]
edit flag offensive delete link more
0

answered 2012-03-21 07:45:40 -0500

Newbie_NXT_KINECT_ROS gravatar image

Try:

rosmake rviz

or

roscd rviz rosmake --rosdep-install

hope it helps.

edit flag offensive delete link more

Comments

This is a precompiled installation of ROS. But I tried it and that did not fix the problem. Thanks.

Dallas Goecker gravatar image Dallas Goecker  ( 2012-03-21 08:00:38 -0500 )edit

Question Tools

Stats

Asked: 2012-03-21 07:23:51 -0500

Seen: 332 times

Last updated: Mar 21 '12