Mostrando entradas con la etiqueta rviz. Mostrar todas las entradas
Mostrando entradas con la etiqueta rviz. Mostrar todas las entradas

lunes, 9 de agosto de 2010

rviz Main Configuration Elements

rviz

This is how the dashboard looks:



It's main components are:

Displays:
This are the different options to visualize the information obtained from the laser, the sonar, the camera, the encoders etc. any sensor that ROS can read. Also we can display different marks or grids to make ouy visualization easier.

These are some of the displays we can activate:

Axes, camera, grid, grid cells, laser scan, map, markers, path, pose, pose array, point cloud, polygon, odometry, robot model, tf.

They are fully explain on the USER'S GUIDE



Coordinate frames: rviz uses tf transform system to for transforming data from the coordinate frame it arrives into a global reference frame.





Tools:
> Move Camera
> Select parts of the 3D Robot



> Navigation Goal
> Estimate the 2D pose

Tool properties:



Time: "It allows you to see how much ROS Time time has passed, vs. how much "Wall Clock" (aka real) time has passed."



Plugins: Thera are some plugins that can be added to rviz. They can be installed in the plugins->manage.

This info is taked from the User's guide or ROS.org in:
rviz USER GUIDE

miércoles, 28 de julio de 2010

Installing and running rviz

Following the instructions of the tutorial:

http://www.ros.org/wiki/rviz/UserGuide

1.-Installing rviz:

$ rosdep install rviz

When I tried to install rviz I got the next answer:

oscar@oscar-MAC:~/ros/ros$ rosdep install rviz
executing this script:
set -o errexit
#No Packages to install

As I couldn't install it I decided to look if I allready had it, so I tried to run it:

oscar@oscar-MAC:~/ros/ros$ rosrun rviz rviz
[rosrun] Couldn't find executable named rviz below /home/oscar/ros/stacks/visualization/rviz
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun] /home/oscar/ros/stacks/visualization/rviz
[rosrun] /home/oscar/ros/stacks/visualization/rviz/src/rviz

When I've got that answer I looked up on that directory (/home/oscar/ros/stacks/visualization/rviz) and then I compiled it:

oscar@oscar-MAC:~/ros/stacks/visualization/rviz$ rosmake

It compiled without problems but when I tried to run rviz it showed me the next message:

oscar@oscar-MAC:~/ros/stacks/visualization/rviz$ rosrun rviz rviz
[ERROR] 1280354462.238279000: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...
^C[ INFO] 1280354464.400475000: Loading general config from [/home/oscar/.rviz/config]
[ INFO] 1280354464.403360000: Loading display config from [/home/oscar/.rviz/display_config]
[rospack] warning: trailing slash found in ROS_PACKAGE_PATH
[ INFO] 1280354465.258272000: Saving general config to [/home/oscar/.rviz/config]
[ INFO] 1280354465.259305000: Saving display config to [/home/oscar/.rviz/display_config]

mmm it seems that I need to run roscore to fix the problem... well yes I runed roscore and in a new terminal I runed rviz and worked normaly XD.




Now let's learn all the features of rviz!!

Next goal-> Learn the tf node.