I dont know roswtf using exactly
When do you usually use roswtf?
↧
When do you usually use roswtf?
↧
roswtf ERROR Communication with [/foo] raised an error
Hi there!
in the ROS architecture I developed messages are sent and received as expected but when I launch **roswtf** it tells me:
> ERROR Communication with [/foo] raised> an error
for every node in the graph. The last line says:
> ERROR The following nodes should be> connected but aren't:
with a list of every single connection in the graph.
As I said, the system works fine, "**rosnode ping** foo" works fine for every single node and if I send message from the console with **rostopic pub** I don't get any error.
Should I simply skip the errors and move on or is there a reasonable explanation? Thanks.
↧
↧
roswtf and rpath problems in fuerte
I recently noticed that running `roswtf` on every package that I have produces errors related to rpath and the linker. For example, following the tutorial on creating ros packages [here](http://www.ros.org/wiki/ROS/Tutorials/CreatingPackage) you create a new package by running the command
roscreate-pkg beginner_tutorials std_msgs rospy roscpp
Then if I `cd` to the `beginner-tutorials` directory, and run `roswtf`, I get the following error:
Loaded plugin tf.tfwtf
Package: beginner_tutorials
================================================================================
Static checks summary:
Found 1 error(s).
ERROR The following packages have rpath issues in manifest.xml:
* beginner_tutorials: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
* std_msgs: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
* roscpp: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
The question [here](http://answers.ros.org/question/10246/what-is-the-correct-usage-of-rpath-in-manifestxml/) seems to indicate that I should not be using `-L` commands within the export tag. I don't have any references to export or cpp in any of the manifests that produce these errors.
Basically every package I have written produces these same errors. What is causing this? What else should I be including in my manifest.xml?
**EDIT**
Adding the following line to the manifest (per manifest documentation) does not improve anything:
Explicitly specifying the `-rpath` directory using
-Wl,-rpath,${prefix}/lib,-rpath,/opt/ros/fuerte/lib
Removes the error for the beginner_tutorials package. But I am still getting errors for `std_msgs`, and `roscpp`. Is there a bug in roswtf? Should there be something else in the manifests for these packages?
Clearly, this isn't causing much of a real problem, but the "ERROR" note is definitely unsettling.
↧
roswtf finds error, flag do not match
hi, I'm using fuerte with Ubuntu 11.10 installed, I use roswtf to examine your ROS setup. I encounter a problem.
I type:
dong@dong-Inspiron-N5110:/opt/ros/fuerte/share/roscpp$ roswtf
and
Loaded plugin tf.tfwtf
Package: roscpp
================================================================================
Static checks summary:
Found 1 error(s).
ERROR The following packages have rpath issues in manifest.xml:
* roscpp: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]
What's wrong with the setup?
↧
Error in ROSWTF and doubt in ROS_PACKAGE_PATH
My questions are at the end.
When i use the command to find the ROS PACKAGE PATH
sai@sai-desktop:~/fuerte_workspace$ echo $ROS_PACKAGE_PATH
/home/sai/fuerte_workspace/help:/home/sai/fuerte_workspace/turtlebot_driver:/home/sai/fuerte_workspace/turtlebot:/home/sai/fuerte_workspace/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros
After this, ROSWTF results in
sai@sai-desktop:~/fuerte_workspace$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
Found 2 error(s).
ERROR Not all paths in ROS_PACKAGE_PATH [/home/sai/fuerte_workspace/help:/home/sai/fuerte_workspace/turtlebot_driver:/home/sai/fuerte_workspace/turtlebot:/home/sai/fuerte_workspace/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros] point to an existing directory:
* /home/sai/fuerte_workspace/help
ERROR Not all paths in PYTHONPATH [/opt/ros/fuerte/share/ros/core/roslib/src:/opt/ros/fuerte/lib/python2.6/dist-packages:/opt/ros/fuerte/lib/python2.6/dist-packages:] point to a directory:
* /opt/ros/fuerte/share/ros/core/roslib/src
================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]
------------------------------------------------------------------------
Then I changed the ROS_PACKAGE_PATH to
sai@sai-desktop:~/fuerte_workspace$ ROS_PACKAGE_PATH=/home/sai/fuerte_workspace/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:
Then ROSWTF results in
sai@sai-desktop:~/fuerte_workspace$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
Found 1 error(s).
ERROR Not all paths in PYTHONPATH [/opt/ros/fuerte/share/ros/core/roslib/src:/opt/ros/fuerte/lib/python2.6/dist-packages:/opt/ros/fuerte/lib/python2.6/dist-packages:] point to a directory:
* /opt/ros/fuerte/share/ros/core/roslib/src
================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]
My questions are
1. Initially why did the ROS_PACKAGE_PATH has such a big path?
2. Why are the errors turning up in ROSWTF?
3. The new ROS_PACKAGE_PATH which i have changed is a subset of old PATH. Is it OK to have a big path as the old one or do I have to change to new path?
Please let me know what i should do
↧
↧
ROSWTF Problems
hyness-workstation@hynessworkstation-OptiPlex-755:~$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING ROS_HOSTNAME may be incorrect: ROS_HOSTNAME [ROS_IP] cannot be resolved to an IP address
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://192.168.1.100:38906/]
... done running graph rules
Online checks summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING The following node subscriptions are unconnected:
* /turtlebot_dashboard_12116_1344524598265:
* /diagnostics_toplevel_state
Found 4 error(s).
ERROR Communication with [/turtlebot_dashboard_12116_1344524598265] raised an error:
ERROR Communication with [/rosout] raised an error:
ERROR Could not contact the following nodes:
* /turtlebot_dashboard_12116_1344524598265
ERROR The following nodes should be connected but aren't:
* /turtlebot_dashboard_12116_1344524598265->/rosout (/rosout)
WHAT DO THESE ERRORS MEAN? HOW DO I FIX THEM? THANKS!
↧
ROS Stacks in home and file system
Hi all,
I have a ROS in my home contain RoboEarth and its dependencies and Main ROS [fuerte in Ubuntu 12.04] in file system, I need some stacks from which in my file system so I have to link between all ..
so I use overlay to create my work space and its already in home [fuerte_workspace] how to add RoboEarth and all stacks downloaded with it as once not to add one by one as it does not work
_____________________
_____________________
2- that is what I have when try to add ccny_vision
I not add and also ROS in file system still missing
any solution
Thanks in Advance
amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosws info
WARNING [vcstools] Command failed: 'hg paths default'
run at: '/home/amal/fuerte_workspace/turtlebot'
errcode: 1:
Not trusting file /home/amal/fuerte_workspace/turtlebot/.hg/hgrc from untrusted user root, group root
Not trusting file /home/amal/fuerte_workspace/turtlebot/.hg/hgrc from untrusted user root, group root
not found!
[/vcstools]
workspace: /home/amal/fuerte_workspace
ROS_ROOT: /opt/ros/fuerte/share/ros
Localname S SCM Version-Spec UID (Spec) URI (Spec) [http(s)://...]
--------- - ---- ------------ ----------- ---------------------------
ccny_vision x git robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
ros x
turtlebot V hg default e47d5a1dca1c (kforge.ros.org/turtlebot/turtlebot)
roboearth svn tags/latest -r2111 ipvs.informatik.uni-stuttgart.de/roboearth/repos/public/
knowrob svn tags/latest -r948 code.in.tum.de/pubsvn/knowrob/
sandbox
/opt/ros/fuerte/stacks
/opt/ros/fuerte/share
/opt/ros/fuerte/share/ros
----------
3-
Now I set up RoboEarth from this
rosinstall ~/fuerte_workspace /opt/ros/fuerte 'http://www.ros.org/wiki/roboearth?action=AttachFile&do=get&target=roboearth.rosinstall'
so it is in fuerte_workspace and also on home since previous set up.
I have this when run `rosmake roboearth` , so why does not go in directory of fuerte_workspace ?!
amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosmake roboearth
[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['roboearth']
[ rosmake ] Logging to directory /home/amal/.ros/rosmake/rosmake_output-20121112-210325
[ rosmake ] Expanded args ['roboearth'] to:
[]
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['roboearth']
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.
----------
4- also I have this when try to know the error.
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
Found 1 error(s).
ERROR Not all paths in ROS_PACKAGE_PATH [/opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/home/ros] point to an existing directory:
* /home/ros
----------
5- this is my `rosws info`
amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosws info
workspace: /home/amal/fuerte_workspace
ROS_ROOT: /opt/ros/fuerte/share/ros
Localname S SCM Version-Spec UID (Spec) URI (Spec) [http(s)://...]
--------- - ---- ------------ ----------- ---------------------------
stacks/knowrob svn tags/latest -r966 code.in.tum.de/pubsvn/knowrob/
pkgs/tum-ros-pkg/knowledge svn -r1010 tum-ros-pkg.svn.sourceforge.net/svnroot/tum-ros-pkg/knowledge
stacks/ccny_vision git master e03c2bf654d5 robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
stacks/roboearth svn tags/latest -r2111 ipvs.informatik.uni-stuttgart.de/roboearth/repos/public/
/opt/ros/fuerte/stacks
/opt/ros/fuerte/share
/opt/ros/fuerte/share/ros
_______________________
----------
(((6)))- now I have fuerte ros in file system linked with ros in home [in home contain only RoboEarth, KnowRob, ccny_vision and pkgs].
and it is clear in bash file that they are linked, so can I make home/amal/ros to be my work space ?! and create a sandbox in it ?!
fi
source /opt/ros/fuerte/setup.bash
source /opt/ros/fuerte/setup.bash
JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH
export ROS_PACKAGE_PATH=/opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/home/amal/ros
----------
(((7))) Sry for long inconvenience,
I try to remove it using
rm -rf ~/fuerte_workspace
That is a pic of how it looks like [http://i.imgur.com/BH1Z6.png](http://i.imgur.com/BH1Z6.png)
and this is a part of my terminal
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__driver/rosdoc.yaml.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__driver/manifest.xml.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/_makefile.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtle__drive/_makefile.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtle__drive/src/turtle__drive/____init____.py.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtle__drive/_c_make_lists.txt.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtle__drive/action/_turn.action.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtle__drive/manifest.xml.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/stack.xml.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/_c_make_lists.txt.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/rosdep.yaml.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/~2ehgtags.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/mainpage.dox.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/_makefile.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/_c_make_lists.txt.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/_turtlebot___plate__1___logo__color.png.d': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/68-02421-8000-_r_a___turtlebot___f-_f___standoff.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/plate__1__logo.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/plate__1__logo__color.tga.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/68-04545__i_robot___create._s_t_l.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/_turtlebot___plate__1___logo__color.png.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/_turtlebot___plate__2___logo__color.png.d': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/create__body.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/68-04545__i_robot___create.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/plate__2__logo.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/plate__0__logo.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/_turtlebot___plate__2___logo.dae.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/68-02421-8000-_r_a___turtlebot___f-_f___standoff__color.png.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/68-04552-2000-_r_a___turtlebot___m-_f___standoff__color.png.i': Permission denied
rm: cannot remove `/home/amal/fuerte_workspace/turtlebot/.hg/store/data/turtlebot__urdf/meshes/_turtlebot___plate__0___logo.dae.i': Permission denied
↧
ROSWTF ERRORS, ALL OF A SUDDEN !!!
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
No errors or warnings
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
Traceback (most recent call last):
File "/opt/ros/electric/stacks/ros_comm/utilities/roswtf/src/roswtf/__init__.py", line 208, in _roswtf_main
wtf_check_graph(ctx, names=names)
File "/opt/ros/electric/stacks/ros_comm/utilities/roswtf/src/roswtf/graph.py", line 413, in wtf_check_graph
error_rule(r, r[0](ctx), ctx)
File "/opt/ros/electric/stacks/ros_comm/utilities/roswtf/src/roswtf/graph.py", line 101, in ping_check
_, unpinged = rosnode.rosnode_ping_all()
File "/opt/ros/electric/stacks/ros_comm/tools/rosnode/src/rosnode.py", line 335, in rosnode_ping_all
if rosnode_ping(node, max_count=1, verbose=verbose):
File "/opt/ros/electric/stacks/ros_comm/tools/rosnode/src/rosnode.py", line 280, in rosnode_ping
pid = _succeed(node.getPid(ID))
File "/opt/ros/electric/stacks/ros_comm/tools/rosnode/src/rosnode.py", line 76, in _succeed
raise ROSNodeException("remote call failed: %s"%msg)
ROSNodeException: remote call failed: not authorized
remote call failed: not authorized
Aborting checks, partial results summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING The following node subscriptions are unconnected:
* /rviz_1337161842349946625:
* /particlecloud
* /rviz_1337161845242440654:
* /particlecloud
* /move_base:
* /move_base/cancel
Found 18 error(s).
ERROR Communication with [/master_sync_turtlebot2_laptop_12566_8631238841196826973] raised an error:
ERROR Communication with [/turtlebot_laptop_battery] raised an error:
ERROR Communication with [/openni_manager] raised an error:
ERROR Communication with [/robot_state_publisher] raised an error:
ERROR Communication with [/pointcloud_throttle] raised an error:
ERROR Communication with [/turtlebot_teleop_keyboard] raised an error:
ERROR Communication with [/rviz_1337161845242440654] raised an error:
ERROR Communication with [/rosout] raised an error:
ERROR Communication with [/move_base] raised an error:
ERROR Communication with [/turtlebot_node] raised an error:
ERROR Communication with [/app_manager] raised an error:
ERROR Communication with [/slam_gmapping] raised an error:
ERROR Communication with [/kinect_laser] raised an error:
ERROR Communication with [/openni_camera] raised an error:
ERROR Communication with [/diagnostic_aggregator] raised an error:
ERROR Communication with [/robot_pose_ekf] raised an error:
ERROR Communication with [/rviz_1337161842349946625] raised an error:
ERROR Communication with [/kinect_laser_narrow] raised an error:
This is what my ROSWTF command returns. This is all of a sudden. We were working with the turtlebot all these days. We were experimenting with lots of new programs that we wrote. Yesterday, the turtlebot did not take goals/initial pose given it from rviz. We didn't understand why and we were confused. We saw similar errors on the internet but none helped us. We use electric.
Also, one of our programs that takes messages from a topic did not respond even after the message was successfully posted to the topic. We checked that by using rostopic echo. For the previous case, we checked that the initial pose and the goals were also reaching the topics, using the same rostopic echo. For both cases, we also checked that the nodes are listening and posting on the related topics.
Please see if you can help. I will provide other details, if necessary.
Note: TurtleBot Tele-operation works very fine.
↧
audio_capture / audio_playback not working
I have been following the ***audio_common*** [tutorial](http://www.ros.org/wiki/audio_common/Tutorials/Streaming%20audio).
I run:
gst-launch-0.10 alsasrc ! audioconvert ! audioresample ! alsasink
and it works correctly.
When I continue the next steps,
roslaunch audio_capture capture.launch
roslaunch audio_play play.launch
no sound is played back.
When I check the topics, **/audio** is there and generating values. **rxgraph** shows them connected. But, when I run **roswtf**, I get:
> ERROR The following nodes should be connected but aren't: > \* /audio_capture->/audio_play (/audio)
I am running on Natty.
Any help is appreciated. Thanks.
↧
↧
InvalidROSPkgException when running roswtf: no manifest file in roscpp
I am trying to run **roswtf** as described at the end of the [beginner tutorial](http://www.ros.org/wiki/ROS/Tutorials/Getting%20started%20with%20roswtf), but it complains about **roscpp** not having a manifest file:
WARNING(s) in /opt/ros/groovy/share/camera_info_manager/package.xml:
- The test dependency on "rostest" is redundant with: build_depend, run_depend
WARNING(s) in /opt/ros/groovy/share/diagnostic_analysis/package.xml:
- The test dependency on "rosbag" is redundant with: build_depend, run_depend
- The test dependency on "rostest" is redundant with: build_depend
- The test dependency on "diagnostic_msgs" is redundant with: build_depend, run_depend
Package: beginner_tutorials
Traceback (most recent call last):
File "/opt/ros/groovy/bin/roswtf", line 35, in
roswtf.roswtf_main()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/__init__.py", line 87, in roswtf_main
_roswtf_main()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/__init__.py", line 174, in _roswtf_main
roswtf.packages.wtf_check(ctx)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 187, in wtf_check
warning_rule(r, r[0](ctx), ctx)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 68, in manifest_msg_srv_export
msgs = set(_manifest_msg_srv_export(ctx, 'msg'))
File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 59, in _manifest_msg_srv_export
m_file = roslib.manifest.manifest_file(pkg, True)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/manifest.py", line 118, in manifest_file
return _manifest_file_by_dir(d, required=required, env=env)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/manifest.py", line 94, in _manifest_file_by_dir
"""%locals())
roslib.packages.InvalidROSPkgException:
Package '/opt/ros/groovy/share/roscpp' is improperly configured: no manifest file is present.
What could be the cause of this?
My configuration: Ubuntu 12.10 32b, ROS Groovy
↧
roscore error
Hi,
I installed ROS onto Gumstix Overo and roscore command works before.
But after I tried to download some ROS packages (though I didn't succeed), I found roscore does't work anymore.
This is the error message:
root@linaro-alip:~# roscore
WARNING: unable to configure logging. No log files will be generated
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://linaro-alip:46926/
ros_comm version 1.9.41
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
NODES
auto-starting new master
process[master]: started with pid [1170]
Traceback (most recent call last):
File "/root/ros_core_ws/install/bin/rosmaster", line 35, in
rosmaster.rosmaster_main()
File "/root/ros_core_ws/install/lib/python2.7/dist- packages/rosmaster/main.py", line 73, in rosmaster_main
configure_logging()
File "/root/ros_core_ws/install/lib/python2.7/dist- packages/rosmaster/main.py", line 57, in configure_logging
_log_filename = rosgraph.roslogging.configure_logging('rosmaster', logging.DEBUG, filename=filename)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/rosgraph/roslogging.py", line 104, in configure_logging
logging.config.fileConfig(config_file, disable_existing_loggers=False)
File "/usr/lib/python2.7/logging/config.py", line 78, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib/python2.7/logging/config.py", line 153, in _install_handlers
klass = _resolve(klass)
File "/usr/lib/python2.7/logging/config.py", line 94, in _resolve
__import__(used)
ImportError: No module named RosStreamHandler
[master] process has died [pid 1170, exit code 1, cmd rosmaster --core -p 11311 __log:=/root/.ros/log/ba8ca0d2-6f47-11e2-91a2-0015c928fd79/master.log].
log file: /root/.ros/log/ba8ca0d2-6f47-11e2-91a2-0015c928fd79/master*.log
ERROR: could not contact master [http://linaro-alip:11311/]
[master] killing on exit
This is the output of roswtf:
root@linaro-alip:~# roswtf
No package or stack in context
================================================================================
Static checks summary:
Found 3 error(s).
ERROR Not all paths in ROS_PACKAGE_PATH[/root/catkin_ws/src:/root/ros_core_ws/install/share:/root/ros_core_ws/install/stacks] point to an existing directory:
* /root/ros_core_ws/install/stacks
ERROR Not all paths in PYTHONPATH [/root/catkin_ws/devel/lib/python2.7/dist-packages:/root/ros_core_ws/install/lib/python2.7/dist-packages] point to a directory:
* /root/catkin_ws/devel/lib/python2.7/dist-packages
ERROR ROS_TEST_RESULTS_DIR is invalid: ROS_TEST_RESULTS_DIR[/root/catkin_ws/build/test_results] is not writable
================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]
This is environment variables output:
root@linaro-alip:~# echo $PYTHONPATH
/root/catkin_ws/devel/lib/python2.7/dist-packages:/root/ros_core_ws/install/lib/python2.7/dist-packages
root@linaro-alip:~# echo $ROS_ROOT
/root/ros_core_ws/install/share/ros
root@linaro-alip:~# echo $ROS_MASTER_URI
http://localhost:11311
root@linaro-alip:~# echo $ROS_PACKAGE_PATH
/root/catkin_ws/src:/root/ros_core_ws/install/share:/root/ros_core_ws/install/stacks
Anyone can help me? Thanks in advance!!!
↧
End of tutorial roswtf
Hello all,
I've followed the tutorial and at the end when I ran roswtf while just roscore is running i ve got some errors! Have a look and tell me if you can help or explain!
> @ubuntu:~$ roswtf
No package or stack in context
================================================================================
Static checks summary:
Found 2 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING You are missing core ROS Python modules: bloom -- rosrelease --
WARNING You are missing Debian packages for core ROS Python modules: bloom (python-bloom) -- rosrelease (python-rosrelease) --
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules
Online checks summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING The following node subscriptions are unconnected:
* /rosout:
* /rosout
Unhandled exception in thread started by >
Traceback (most recent call last):
File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 156, in run
(client_sock, client_addr) = self.server_sock.accept()
File "/usr/lib/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
File "/usr/lib/python2.7/socket.py", line 170, in _dummy
raise error(EBADF, 'Bad file descriptor')
socket.error: [Errno 9] Bad file descriptor
↧
error after making smclib
Hi everyone,
I cannot run roscore after I download and make smclib (fuerte version).
This is output error of typing "roswtf":
Loaded plugin tf.tfwtf
No package or stack in context================================================================================
Static checks summary:
Found 3 error(s).
ERROR Not all paths in ROS_PACKAGE_PATH [/root/catkin_ws/src:/root/ros_core_ws/install/share:/root/ros_core_ws/install/stacks] point to an existing directory:
* /root/ros_core_ws/install/stacks
ERROR Not all paths in PYTHONPATH [/root/catkin_ws/devel/lib/python2.7/dist-packages:/root/ros_core_ws/install/lib/python2.7/dist-packages] point to a directory:
* /root/catkin_ws/devel/lib/python2.7/dist-packages
ERROR ROS_TEST_RESULTS_DIR is invalid: ROS_TEST_RESULTS_DIR [/root/catkin_ws/build/test_results] is not writable ================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://192.168.1.1:11311]
This is the output error of typing "roscore":
WARNING(s) in /root/catkin_ws/src/bondcore/smclib/build/smc_6_0_1/lib/Php/package.xml:
- The "package" tag must not have the following attributes: packagerversion, xmlns, xmlns:tasks, version, xmlns:xsi, xsi:schemaLocation
- The manifest must not contain the following tags: lead, changelog, notes, uri, summary, stability, dependencies, time, date, phprelease, contents
- The "version" tag must not contain the following children: release, api
- The "license" tag must not have the following attributes: uri Traceback (most recent call last):
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/__init__.py", line 263, in main
p.start()
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
self.runner.launch()
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/launch.py", line 644, in launch
self._setup()
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/launch.py", line 621, in _setup
self._launch_core_nodes()
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/launch.py", line 496, in _launch_core_nodes
name, success = self.launch_node(node, core=True)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/launch.py", line 524, in launch_node
process = create_node_process(self.run_id, node, master.uri)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/nodeprocess.py", line 131, in create_node_process
args = create_local_process_args(node, machine)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslaunch/node_args.py", line 234, in create_local_process_args
matches = roslib.packages.find_node(node.package, node.type, rospack)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslib/packages.py", line 400, in find_node
return find_resource(pkg, node_type, filter_fn=_executable_filter, rospack=rospack)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/roslib/packages.py", line 497, in find_resource
search_paths = catkin_find(search_dirs=['libexec', 'share'], project=pkg, first_matching_workspace_only=True)
File "/root/ros_core_ws/install/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 99, in find_in_workspaces
packages = find_packages(source_path)
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 81, in find_packages
package = parse_package(os.path.join(basepath, path))
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 257, in parse_package
return parse_package_string(f.read(), filename)
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 387, in parse_package_string
pkg.validate()
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 158, in validate
raise InvalidPackage('\n'.join(errors))
InvalidPackage: Invalid package manifest "/root/catkin_ws/src/bondcore/smclib/build/smc_6_0_1/lib/Php/package.xml": Package version must not be empty Package must declare at least one maintainer [master] killing on exit
Thanks for any help in advance!
↧
↧
groovy roswtf pythonpath errors - python libraries not built?
Hi, I've successfully installed ROS Groovy in Gentoo using the source, and I've completed the beginner tutorials successfully. When it came to the roswtf tutorial, I got all these errors about PYTHONPATH inconsistencies. The output is here: (http://)bpaste.net/show/93407/
It seems to suggest that the python libraries for many packages were not built.
Am I correct in this understanding?
What could I have done while building from source to ensure that the python libraries were built?
Also, about the ROS_PACKAGE_PATH errors - do I need to worry about them?
Looking forward to your help.
Thanks.
↧
ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help
Hey guys,
I'm following the **ROS Tutorials** and, using the *Python* language, I'm currently having some issues trying to solve the item **Examining the Simple Service and Client** item ([link text](http: // www.ros .org/wiki/ROS/Tutorials/ExaminingServiceClient)).
When I try to run the **server** (the first step in the tutorial), I get the following message:
viki@ROS:~/catkin_ws/src$ rosrun beginner_tutorials add_two_ints_server.py
Unable to register with master node [http :// localhost:11311]: master may not be running yet. Will keep trying.
And then my Terminal window gets blocked. Before that, when I compiled the code (from the previous tutorial: http :// www.ros .org/wiki/ROS/Tutorials/WritingServiceClient%28python%29) everything seems to work fine:
viki@ROS:~/catkin_ws$ catkin_make
Base path: /home/viki/catkin_ws
Source space: /home/viki/catkin_ws/src
Build space: /home/viki/catkin_ws/build
Devel space: /home/viki/catkin_ws/devel
Install space: /home/viki/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/viki/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/home/viki/catkin_ws/build"
####
[ 0%] Built target std_msgs_generate_messages_lisp
[ 2%] Built target beginner_tutorials_generate_messages_lisp
[ 2%] Built target std_msgs_generate_messages_py
[ 7%] Built target beginner_tutorials_generate_messages_py
[ 7%] Built target std_msgs_generate_messages_cpp
[ 10%] Built target beginner_tutorials_generate_messages_cpp
[ 10%] Built target beginner_tutorials_generate_messages
[ 11%] Built target roscpp_tutorials_generate_messages_cpp
[ 11%] Built target roscpp_tutorials_gencpp
[ 12%] Built target add_two_ints_client
[ 14%] Built target add_two_ints_server
[ 15%] Built target add_two_ints_server_class
[ 16%] Built target anonymous_listener
[ 18%] Built target babbler
[ 19%] Built target custom_callback_processing
[ 20%] Built target listener
[ 22%] Built target listener_async_spin
[ 23%] Built target listener_class
[ 24%] Built target listener_multiple
[ 25%] Built target listener_threaded_spin
[ 27%] Built target listener_unreliable
[ 28%] Built target listener_with_tracked_object
[ 29%] Built target listener_with_userdata
[ 31%] Built target node_handle_namespaces
[ 32%] Built target notify_connect
[ 33%] Built target parameters
[ 36%] Built target roscpp_tutorials_generate_messages_py
[ 37%] Built target roscpp_tutorials_generate_messages_lisp
[ 37%] Built target roscpp_tutorials_generate_messages
[ 38%] Built target talker
[ 40%] Built target time_api_sleep
[ 41%] Built target timers
[ 49%] Built target rospy_tutorials_generate_messages_py
[ 54%] Built target rospy_tutorials_generate_messages_lisp
[ 59%] Built target rospy_tutorials_generate_messages_cpp
[ 59%] Built target rospy_tutorials_generate_messages
[ 59%] Built target std_srvs_generate_messages_cpp
[ 59%] Built target geometry_msgs_generate_messages_cpp
[ 68%] Built target turtlesim_generate_messages_cpp
[ 68%] Built target turtlesim_gencpp
[ 70%] Built target draw_square
[ 71%] Built target mimic
[ 72%] Built target turtle_teleop_key
[ 72%] Built target std_srvs_generate_messages_py
[ 72%] Built target geometry_msgs_generate_messages_py
[ 84%] Built target turtlesim_generate_messages_py
[ 84%] Built target std_srvs_generate_messages_lisp
[ 84%] Built target geometry_msgs_generate_messages_lisp
[ 93%] Built target turtlesim_generate_messages_lisp
[ 93%] Built target turtlesim_generate_messages
[100%] Built target turtlesim_node
viki@ROS:~/catkin_ws$
When I try `roswtf` I get no error:
viki@ROS:~/catkin_ws$ roswtf
No package or stack in context
================================================================================ Static checks summary:
No errors or warnings
================================================================================
ROS Master does not appear to be
running. Online graph checks will not
be run. ROS_MASTER_URI is
[http :// localhost:11311]
I haven't found any clues on the web related to this and I can't figure it out what's really happening.
Can anyone help me? Thanks in advance,
Batta
↧
ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help
Hey guys,
I'm following the **ROS Tutorials** and, using the *Python* language, I'm currently having some issues trying to solve the item **Examining the Simple Service and Client** item ([link text](http: // www.ros .org/wiki/ROS/Tutorials/ExaminingServiceClient)).
When I try to run the **server** (the first step in the tutorial), I get the following message:
viki@ROS:~/catkin_ws/src$ rosrun beginner_tutorials add_two_ints_server.py
Unable to register with master node [http :// localhost:11311]: master may not be running yet. Will keep trying.
And then my Terminal window gets blocked. Before that, when I compiled the code (from the previous tutorial: http :// www.ros .org/wiki/ROS/Tutorials/WritingServiceClient%28python%29) everything seems to work fine:
viki@ROS:~/catkin_ws$ catkin_make
Base path: /home/viki/catkin_ws
Source space: /home/viki/catkin_ws/src
Build space: /home/viki/catkin_ws/build
Devel space: /home/viki/catkin_ws/devel
Install space: /home/viki/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/viki/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/home/viki/catkin_ws/build"
####
[ 0%] Built target std_msgs_generate_messages_lisp
[ 2%] Built target beginner_tutorials_generate_messages_lisp
[ 2%] Built target std_msgs_generate_messages_py
[ 7%] Built target beginner_tutorials_generate_messages_py
[ 7%] Built target std_msgs_generate_messages_cpp
[ 10%] Built target beginner_tutorials_generate_messages_cpp
[ 10%] Built target beginner_tutorials_generate_messages
[ 11%] Built target roscpp_tutorials_generate_messages_cpp
[ 11%] Built target roscpp_tutorials_gencpp
[ 12%] Built target add_two_ints_client
[ 14%] Built target add_two_ints_server
[ 15%] Built target add_two_ints_server_class
[ 16%] Built target anonymous_listener
[ 18%] Built target babbler
[ 19%] Built target custom_callback_processing
[ 20%] Built target listener
[ 22%] Built target listener_async_spin
[ 23%] Built target listener_class
[ 24%] Built target listener_multiple
[ 25%] Built target listener_threaded_spin
[ 27%] Built target listener_unreliable
[ 28%] Built target listener_with_tracked_object
[ 29%] Built target listener_with_userdata
[ 31%] Built target node_handle_namespaces
[ 32%] Built target notify_connect
[ 33%] Built target parameters
[ 36%] Built target roscpp_tutorials_generate_messages_py
[ 37%] Built target roscpp_tutorials_generate_messages_lisp
[ 37%] Built target roscpp_tutorials_generate_messages
[ 38%] Built target talker
[ 40%] Built target time_api_sleep
[ 41%] Built target timers
[ 49%] Built target rospy_tutorials_generate_messages_py
[ 54%] Built target rospy_tutorials_generate_messages_lisp
[ 59%] Built target rospy_tutorials_generate_messages_cpp
[ 59%] Built target rospy_tutorials_generate_messages
[ 59%] Built target std_srvs_generate_messages_cpp
[ 59%] Built target geometry_msgs_generate_messages_cpp
[ 68%] Built target turtlesim_generate_messages_cpp
[ 68%] Built target turtlesim_gencpp
[ 70%] Built target draw_square
[ 71%] Built target mimic
[ 72%] Built target turtle_teleop_key
[ 72%] Built target std_srvs_generate_messages_py
[ 72%] Built target geometry_msgs_generate_messages_py
[ 84%] Built target turtlesim_generate_messages_py
[ 84%] Built target std_srvs_generate_messages_lisp
[ 84%] Built target geometry_msgs_generate_messages_lisp
[ 93%] Built target turtlesim_generate_messages_lisp
[ 93%] Built target turtlesim_generate_messages
[100%] Built target turtlesim_node
viki@ROS:~/catkin_ws$
When I try `roswtf` I get no error:
viki@ROS:~/catkin_ws$ roswtf
No package or stack in context
================================================================================ Static checks summary:
No errors or warnings
================================================================================
ROS Master does not appear to be
running. Online graph checks will not
be run. ROS_MASTER_URI is
[http :// localhost:11311]
I haven't found any clues on the web related to this and I can't figure it out what's really happening.
Can anyone help me? Thanks in advance,
Batta
↧
ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help with Client 2
Hey guys,
I'm following the **ROS Tutorials** and, using the *Python* language, I'm currently having some issues trying to solve the item **Examining the Simple Service and Client** item (http ://www.ros .org/wiki/ROS/Tutorials/ExaminingServiceClient). I was already having a problem with the server in this tutorial, but it was solved in another thread (in [link text](http://answers.ros.org/question/70546/ros-beginner-tutorials-examining-the-simple-service-and-client-python-need-some-help/))
My situation is the following:
- I run `roscore` in a terminal
- I run the server (`rosrun beginner_tutorials add_two_ints_server.py`) in another, getting `Ready to add two ints.`
- But when I try to run the client (`rosrun beginner_tutorials add_two_ints_client.py 1 3`), I get the following:
[rospack] Error: stack/package beginner_tutorials not found
Running `roswtf` gives me the following:
viki@ROS:~/catkin_ws/src/beginner_tutorials/scripts$ roswtf
Package: beginner_tutorials
Cannot find dependencies for package [beginner_tutorials]: missing beginner_tutorials
ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/opt/ros/groovy/share
ROS path [2]=/opt/ros/groovy/stacks
viki@ROS:~/catkin_ws/src/beginner_tutorials/scripts$
Can anybody help me? I haven't found any clues on the web related to this and I can't figure it out what's really happening.
Can anyone help me? Thanks in advance,
Batta
↧
↧
remap not work in a ros-pioneer3AT launch file
Hi, I've follow this guide(https ://docs.google.com/document/d/1C_GdAAQck-IT4H5GnsH3j6OezUbehUphtlnn8XU4XBk/edit#heading=h.5hhub0txkxyt) to configure my pioneer3AT with ROS Hydro. The code is here(https ://github.com/dawonn/ros-pioneer3at).
When launching the gmapping demo I have this roswtf output:
WARNING The following node subscriptions are unconnected:
* /Pioneer3AT_rviz:
* /Pioneer3AT_move_base/local_costmap/costmap_updates
* /Pioneer3AT_move_base/NavfnROS/plan
* /Pioneer3AT_move_base/global_costmap/costmap
* /Pioneer3AT_move_base/global_costmap/costmap_updates
* /tf_static
* /Pioneer3AT/map_updates
* /Pioneer3AT_move_base/local_costmap/costmap
* /Pioneer3AT/particlecloud
* /Pioneer3AT_move_base/local_costmap/footprint_layer/footprint_stamped
* /nodelet_manager:
* /Pioneer3AT/ps3joy/cmd_vel
* /Pioneer3AT_gmapping:
* /tf_static
* /Pioneer3AT/laserscan
* /Pioneer3AT_move_base:
* /tf_static
I think that there are some `` problems, in particular in the file gmapping.launch:
It is expected that the topic `scan` is remapped to the topic `/Pioneer3AT/laserscan`.
If I echo the first I get the Hokuyo data but if I echo the second I get nothing!
Why?
↧
rviz error: Fixed Frame [map] does not exist
Hi All,
When I open rviz by using:
rosrun rviz rviz
The global status is warn and show that:
*No tf data. Actual error: Fixed Frame [map] doesn not exist.*
When I check the error by using `roswtf`, it gives me:
Found 1 warning(s).
*Warnings are things that may be just fine, but are sometimes at fault*
*WARNING The following node subscriptions are unconnected:
* /rviz_1396847525971343571:
* /tf_static
* /tf*
Anyone can help me to solve this problem?
↧
roswtf says rosinstall missing
I started to go through the ROS tutorials and I reached roswtf. Now it says that it cant find the rosinstall python module, but it is installed. Not sure if I ever going to need rosinstall, but right now this warning just bothers me. Is it possible to know why roswtf says there is a problem? Or can I suppress the warning?
I'm running Ubuntu 12.04 with ROS Hydro.
viki@ubuntu:~/catkin_ws/devel$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING You are missing core ROS Python modules: rosinstall --
================================================================================
ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [htp://localhost:11311]
.
viki@ubuntu:~/catkin_ws/devel$ dpkg --get-selections | grep rosinstall
python-rosinstall install
viki@ubuntu:~$ which rosinstall
/usr/local/bin/rosinstall
I even tried apt-get reinstall and purge remove and install, but no avail.
I installed rosinstall_shellcompletion with pip, maybe that caused some nasty stuff under the roof.
↧