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

rviz couldn't find executable

asked 2013-05-07 03:53:25 -0600

Maytheewat gravatar image

updated 2013-11-14 10:38:18 -0600

tfoote gravatar image

I download rviz and I did rosmake rviz but it gave me following error when I try rosrun rviz rviz

[rosrun] Couldn't find executable named rviz below /home/mayara/groovy_workspace/sandbox/rviz
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun]   /home/mayara/groovy_workspace/sandbox/rviz
[rosrun]   /home/mayara/groovy_workspace/sandbox/rviz/src/rviz
[rosrun]   /home/mayara/groovy_workspace/sandbox/rviz/src/python_bindings/rviz

Any idea ? I'm using ROS Groovy

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-05-07 06:12:19 -0600

dgossow gravatar image

In groovy, rviz uses catkin instead of rosmake, like any decent package does. Follow these steps to build it:

cd /home/mayara/groovy_workspace/sandbox/rviz
source /opt/ros/groovy/setup.bash
catkin_make
source devel/setup.bash
rosrun rviz rviz

The rviz binary will be /home/mayara/groovy_workspace/sandbox/rviz/devel/lib/rviz/rviz

edit flag offensive delete link more

Comments

1

For future readers: there is nothing "indecent" about using rosbuild. In some cases, there is no other option. In others, converting may not make sense yet.

joq gravatar image joq  ( 2013-05-07 09:23:22 -0600 )edit
0

answered 2013-05-07 04:41:41 -0600

davinci gravatar image

Your path is probably not correct. roscd rviz probably also does not work? If you do echo $ROS_PACKAGE_PATH you should see: /opt/ros/groovy/share:/opt/ros/groovy/stacks

Do a source /opt/ros/groovy/setup.bash

edit flag offensive delete link more

Comments

roscd rviz works and echo $ROS_PACKAGE_PATH gave me /home/mayara/groovy_workspace/sandbox:/opt/ros/groovy/share:/opt/ros/groovy/stacks

Maytheewat gravatar image Maytheewat  ( 2013-05-07 04:45:04 -0600 )edit

I fuerte you could do $ rospack profile, $ rospack find . But this does not work anymore in Groovy. Don't know the Groovy equivalent.

davinci gravatar image davinci  ( 2013-05-07 05:10:34 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-05-07 03:53:25 -0600

Seen: 2,347 times

Last updated: May 07 '13