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

error running patrolling_sim

asked 2015-01-20 09:58:17 -0500

chenhuanfa gravatar image

I am a newbie in ROS and learning to run patrolling_sim ( http://wiki.ros.org/patrolling_sim )

Environment: Windows 7 64-bit host, Nootrix built VM (Ubuntu 14.04.1 LTS and ROS Indigo Igloo)

Following instruction from tutorial ( http://wiki.ros.org/patrolling_sim/Tu... )

Make some revision to the original code before running.

  1. (FILE: cumberland_stage6robots.launch) pkg="stage" --> pkg="stage_ros"

  2. (FILE: cumberland6robots.world, Line1) define hokuyo laser --> define hokuyo ranger

Process:

$ rosmake (success)

$ roslaunch patrolling_sim cumberland_stage6robots.launch (WRONG)

... logging to /home/viki/.ros/log/8365587e-a0b9-11e4-823a-080027b46cdd/roslaunch-c3po-3101.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

WARNING: ignoring defunct <master /> tag
started roslaunch server http://c3po:59937/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.8

NODES
  /
    stageros (stage_ros/stageros)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[stageros-1]: started with pid [3119]
libGL error: pci id for fd 10: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
 [Loading /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world]
warn: worldfile /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world:3 : property [fov] is defined but not used (/tmp/buildd/ros-indigo-stage-4.1.1-2trusty-20140711-1054/libstage/worldfile.cc WarnUnused)
warn: worldfile /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world:2 : property [range_max] is defined but not used (/tmp/buildd/ros-indigo-stage-4.1.1-2trusty-20140711-1054/libstage/worldfile.cc WarnUnused)
warn: worldfile /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world:4 : property [samples] is defined but not used (/tmp/buildd/ros-indigo-stage-4.1.1-2trusty-20140711-1054/libstage/worldfile.cc WarnUnused)
warn: worldfile /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world:3 : property [fov] is defined but not used (/tmp/buildd/ros-indigo-stage-4.1.1-2trusty-20140711-1054/libstage/worldfile.cc WarnUnused)
warn: worldfile /home/viki/patrolling_sim/maps/cumberland/cumberland6robots.world:2 : property [range_max] is defined but not used (/tmp/buildd/ros-indigo-stage-4.1.1-2trusty-20140711-1054/libstage/worldfile.cc WarnUnused)
warn: worldfile /home ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-01-21 09:48:11 -0500

updated 2015-01-22 09:37:27 -0500

Hello Huanfa!

I'm sorry for this. Unfortunately, the patrolling_sim pkg version that is on the Wiki only works under ROS Fuerte.

I haven't maintained the package anymore. However, Prof. Luca Iocchi from "La Sapienza" University of Rome (Italy), kindly updated the package with several interesting add-ons, which makes it much easier to use (so please ignore the Wiki Tutorials).

It should work under Groovy, Hydro and Indigo.

You can now download the latest version from: https://github.com/davidbsp/patrollin...

Please leave a follow-up comment if it works on your system (or not).

Cheers, David

edit flag offensive delete link more

Comments

1

Thanks David!

New problem comes with the master branch from github,

However new problem occurred.

  1. rosmake

  2. python start_experiment.py

  3. select paras (robot number <= 4)

problem: WARNING: no messages received and simulated time is active. Is /clock being published?

chenhuanfa gravatar image chenhuanfa  ( 2015-01-21 16:49:29 -0500 )edit
1

(continue) I have tried different replies. But the software was hung withou progress. From rqt_console, only one node is active, rostopic_*_***.

It seems the nodes of robots fail to activate.

Also tried with run-exp.sh. Same result.

Thank you for your kindness.

chenhuanfa gravatar image chenhuanfa  ( 2015-01-21 16:52:10 -0500 )edit
1

In some running there is such error info:

ERROR: simulation-running not specified. (NOT exactly these words)

chenhuanfa gravatar image chenhuanfa  ( 2015-01-21 17:09:55 -0500 )edit
1

I've cloned the latest version of the repo and was able to run simulations in a ROS Hydro installation. Which ROS distro are you using? Are you running "rosmake" within a ROS_PACKAGE_PATH folder?

DavidPortugal gravatar image DavidPortugal  ( 2015-01-22 09:48:33 -0500 )edit
1

(continue) If not, please add: "export ROS_PACKAGE_PATH=/directory:$ROS_PACKAGE_PATH" to the ".bashrc" file. Replace "/directory" by the folder dir (example: "/home/huanfa/patrolling_sim"). You are probably not compiling the pkg. When you run "rosmake" the full compilation should take around 1 min,

DavidPortugal gravatar image DavidPortugal  ( 2015-01-22 09:49:24 -0500 )edit
1

Thanks David. Using ROS Indigo Igloo (preinstalled in virtualBox, see http://nootrix.com/2014/09/ros-indigo... ).

Have checked the ROS_PACKAGE_PATH. Successfully running rosmake. Built 53 packages with 0 failures.

BUT fail to run the experiment.

Stop at "Is /clock being published?

chenhuanfa gravatar image chenhuanfa  ( 2015-01-22 11:26:18 -0500 )edit
1

(continue) Can't see the terminal of maps and robots (once appeared and flashed back soon. Initialization error?)

I will try to install a ROS Hydro on another Ubuntu VirtualBox. Will give feedback. Thanks.

chenhuanfa gravatar image chenhuanfa  ( 2015-01-22 11:28:13 -0500 )edit
1

Hello Huanfa! I've never tried ROS Indigo :/ I've created a "catkin" branch in the repository, in case you want to try to compile it with catkin. It seems that you might not be using "sim_time". Please run "rosparam get /use_sim_time" when you start the experiment. It should be set to true.

DavidPortugal gravatar image DavidPortugal  ( 2015-01-22 11:38:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-01-20 09:58:17 -0500

Seen: 691 times

Last updated: Jan 22 '15