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

Salocin808's profile - activity

2019-01-15 04:38:17 -0500 received badge  Enlightened (source)
2019-01-15 04:38:17 -0500 received badge  Good Answer (source)
2018-08-31 03:17:50 -0500 received badge  Famous Question (source)
2018-01-11 20:33:59 -0500 marked best answer Invalid package manifest "package.xml"

Hi! I found a some entries but none seem to help with my problem. I am currently following the instructions to install turtlebot on this site: http://wiki.ros.org/turtlebot/Tutoria... when running following command under point 2.2:

rosdep install --from-paths src -i -y

I get following stack trace:

nicolas@myworkstation:~/rocon$ rosdep install --from-paths src -i -y

ERROR: Rosdep experienced an error: Invalid package manifest "/opt/ros/indigo/share/catkin/package.xml": Error(s) in /opt/ros/indigo/share/catkin/package.xml:
- The manifest must not contain the following tags: depend, build_export_depend, buildtool_export_depend
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.11.2

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 136, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 345, in _rosdep_main
    return _package_args_handler(command, parser, options, args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 416, in _package_args_handler
    pkgs = find_catkin_packages_in(path, options.verbose)
  File "/usr/lib/python2.7/dist-packages/rosdep2/catkin_packages.py", line 33, in find_catkin_packages_in
    packages = find_packages(path)
  File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 87, in find_packages
    package = parse_package(os.path.join(basepath, path))
  File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 315, in parse_package
    return parse_package_string(f.read(), filename)
  File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 448, in parse_package_string
    raise InvalidPackage('Error(s) in %s:%s' % (filename, ''.join(['\n- %s' % e for e in errors])))
InvalidPackage: Invalid package manifest "/opt/ros/indigo/share/catkin/package.xml": Error(s) in /opt/ros/indigo/share/catkin/package.xml:
- The manifest must not contain the following tags: depend, build_export_depend, buildtool_export_depend

There must be a problem with my package.xml file.

It seems that the package version 2 might cause the error but I honestly don't know how to fix it. Does anyone have any ideas? Thanks in advance!

2017-05-02 15:05:41 -0500 marked best answer roslaunch not working

Hello!

When trying to run

roslaunch turtlebot_teleop keyboard_teleop.launch

I am getting the following error:

[keyboard_teleop.launch] is neither a launch file in package [turtlebot_teleop] nor is [turtlebot_teleop] a launch file name 
The traceback for the exception was written to the log file

the file exists though and the whole installation before worked fine! I don't know where to look. Any ideas?

2017-01-16 12:36:57 -0500 received badge  Notable Question (source)
2017-01-16 12:36:57 -0500 received badge  Popular Question (source)
2016-10-27 04:54:27 -0500 received badge  Famous Question (source)
2016-08-18 03:14:30 -0500 answered a question catkin_make src failing

Ok, the problem vanished the same way as it came. I did not do anything except putting an alias in the bashrc like this:

alias cat_make='cd ~/catkin_ws/ && catkin_make && source devel/setup.bash'

this is exactly what I did a million times already... opened up a new shell, ran cat_make and suddenly my package could be found again...

Strange.

2016-08-18 02:58:32 -0500 asked a question catkin_make src failing

Hi!

I am currently having a weird problem. My package cannot be found anymore even though it was working before. I put the package larah in the src folder and the workspace setup is correct. I also sourced the devel/setup.bash. roscd larah does not find the package either and rospack profile didn't help.

catkin_make seems to be working fine:

 Base path: /home/turtlebot/catkin_ws
Source space: /home/turtlebot/catkin_ws/src
Build space: /home/turtlebot/catkin_ws/build
Devel space: /home/turtlebot/catkin_ws/devel
Install space: /home/turtlebot/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/turtlebot/catkin_ws/build" Running command: "make -j4 -l4" in "/home/turtlebot/catkin_ws/build"

[ 5%] Built target openni_camera_gencfg [ 10%] Built target fallen_person_wrapper [ 73%] Built target openni_driver [ 78%] Built target fallen_person_detector [ 84%] Built target image_saver [ 89%] [ 94%] Built target openni_node Built target localization_node [100%] Built target openni_nodelet

But catkin_make src gives me following output:


Base path: /home/turtlebot/catkin_ws
Source space: /home/turtlebot/catkin_ws/src
Build space: /home/turtlebot/catkin_ws/build
Devel space: /home/turtlebot/catkin_ws/devel
Install space: /home/turtlebot/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/turtlebot/catkin_ws/build" Running command: "make src -j4 -l4" in "/home/turtlebot/catkin_ws/build"

make: * No rule to make target `src'. Stop. Invoking "make src -j4 -l4" failed

also: ROS_PACKAGE_PATH gives the correct location of my package...

Any ideas??

Thank you!

Salocin

2016-08-03 04:46:49 -0500 received badge  Taxonomist
2016-07-26 07:57:26 -0500 received badge  Nice Answer (source)
2016-01-30 12:50:37 -0500 received badge  Famous Question (source)
2016-01-23 21:27:04 -0500 received badge  Notable Question (source)
2015-11-23 08:47:00 -0500 received badge  Famous Question (source)
2015-11-14 09:06:53 -0500 received badge  Famous Question (source)
2015-09-23 10:05:47 -0500 received badge  Famous Question (source)
2015-08-06 08:31:48 -0500 commented answer publish rtab point cloud from rviz

Ok thank you very much, it has been very helpful!

2015-08-06 08:16:53 -0500 received badge  Notable Question (source)
2015-08-06 07:30:53 -0500 received badge  Notable Question (source)
2015-08-06 07:29:47 -0500 marked best answer roslaunch turtlebot_bringup minimal.launch not working

Hi!

I followed the instructions for installing the turtlebot and everything seemed to be working fine! However, when I try to start the connection with turtlebot I get following output:

...
started core service [/rosout]
process[robot_state_publisher-2]: started with pid [24237]
process[diagnostic_aggregator-3]: started with pid [24263]
process[mobile_base_nodelet_manager-4]: started with pid [24278]
process[mobile_base-5]: started with pid [24283]
process[cmd_vel_mux-6]: started with pid [24331]
process[bumper2pointcloud-7]: started with pid [24392]
process[turtlebot_laptop_battery-8]: started with pid [24463]
process[capability_server-9]: started with pid [24503]
process[app_manager-10]: started with pid [24506]
process[master-11]: started with pid [24513]
process[interactions-12]: started with pid [24516]
process[zeroconf/zeroconf-13]: started with pid [24544]
[ INFO] [1436789339.413865208]: Zeroconf: service successfully established [turtlebot][_ros-master._tcp][11311]
/opt/ros/indigo/lib/python2.7/dist-packages/bondpy/bondpy.py:114: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher(self.topic, Status)
/opt/ros/indigo/lib/python2.7/dist-packages/bondpy/bondpy.py:114: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher(self.topic, Status)

The difference with this output to the instructions is that after the line: process[master-11]: started with pid [24513] is, that I am not getting an ERROR: cannot launch node of type...

Does anyone have an idea what's wrong?

Thanks in advance!

2015-08-06 07:29:41 -0500 received badge  Famous Question (source)
2015-08-06 07:27:13 -0500 commented answer publish rtab point cloud from rviz

Oh ok perfect. I have one more question: when opening the file, I get X Y Z RGB values for the points. But the RGB values are float. The representation looks like this: 1.8005456 -0.7766516 -0.0509897 4.8842062e-39 The fourth number should be RGB but how? Can I get values for the three channels?

2015-08-06 03:11:07 -0500 commented answer publish rtab point cloud from rviz

salocin@salocin-laptop:~$ rosrun pcl_ros pcd_to_pointcloud ~/1438846855801553.pcd [ INFO] [1438848137.530670782]: Publishing data on topic /cloud_pcd with frame_id /base_link. [ INFO] [1438848137.542530309]: Loaded a point cloud with 1670 points (total size is 26720) and the following channels: x y

2015-08-06 03:10:16 -0500 commented answer publish rtab point cloud from rviz

Thank you very much for your help! I am definately closer to where I want to be now. pcl_ros was a good tip. I can generate the .pcd files now but I want to have the coordinates with RGB values. So I figured, I could just convert it back with pcd_to_pointcloud. After these lines nothing's happening:

2015-08-06 03:04:33 -0500 received badge  Supporter (source)
2015-08-06 03:03:19 -0500 received badge  Popular Question (source)
2015-08-06 03:03:16 -0500 received badge  Enthusiast
2015-08-06 01:18:40 -0500 received badge  Notable Question (source)
2015-08-05 06:56:54 -0500 received badge  Organizer (source)
2015-08-05 06:56:27 -0500 asked a question publish rtab point cloud from rviz

Hey!

I am currently following this tutorial on my turtlebot: http://wiki.ros.org/rtabmap_ros#Nodes

Therefore I started turtlebot and rviz like this:

$ roslaunch turtlebot_bringup minimal.launch
$ roslaunch rtabmap_ros demo_turtlebot_mapping.launch
$ roslaunch rtabmap_ros demo_turtlebot_rviz.launch

It all works fine but I don't know how to export the point cloud I created. My goal is to have a list of XYZ coordinates from all points. Anyone got any ideas?

EDIT:

I tried to run

rosservice call /rtabmap/get_map 1 0 0

but that does nothing... and when I click the get map option in RVIZ it is first trying to call get_map and then I get the error: screenshot rviz

rtab/get_map is in the namespace though. Here is part of my rosservice list:

/rtabmap/backup
/rtabmap/cancel_goal
/rtabmap/get_grid_map
/rtabmap/get_map
/rtabmap/get_proj_map
/rtabmap/list_labels
/rtabmap/octomap_binary
/rtabmap/octomap_full
/rtabmap/pause
/rtabmap/publish_map
/rtabmap/reset
/rtabmap/resume
/rtabmap/rtabmap/get_loggers
/rtabmap/rtabmap/set_logger_level
/rtabmap/set_goal
/rtabmap/set_label
/rtabmap/set_mode_localization
/rtabmap/set_mode_mapping
/rtabmap/trigger_new_map
/rtabmap/update_parameters
/rviz/get_loggers
/rviz/reload_shaders
/rviz/set_logger_level
/turtlebot/invite
/turtlebot/list_rapps
/turtlebot/platform_info
/turtlebot/start_rapp
/turtlebot/stop_rapp
/turtlebot_laptop_battery/get_loggers
/turtlebot_laptop_battery/set_logger_level
2015-07-26 21:13:59 -0500 received badge  Popular Question (source)
2015-07-24 09:11:01 -0500 received badge  Popular Question (source)
2015-07-21 10:24:03 -0500 answered a question coffeebot webserver open problems

The problem was that I didn't allow http in my security preferences of the web server ...

2015-07-21 04:00:13 -0500 asked a question coffeebot webserver open problems

Hi!

I am currently using the LAMP stack as explained in the http://learn.turtlebot.com/2015/02/01... tutorial. The goal is to order a coffee (robot driving to specific location) through a chrome extension. I am running the turtlebot_bringup minimal.launch and loaded my map on the turtlebot laptop. I installed the LAMP correctly and entered the public_dns where I had to. Here is my traceback:

nicolas@nicolas-Precision-WorkStation-T3400:~/helloworld/turtlebot$ python coffee_bot.py 
[INFO] [WallTime: 1437468105.504769] wait for the action server to come up
[INFO] [WallTime: 1437468105.787535] Anyone need coffee?
[INFO] [WallTime: 1437468105.808969] Notebook's battery is now: 68%
[INFO] [WallTime: 1437468105.811882] Kobuki's battery is now: 99.0%
[INFO] [WallTime: 1437468129.914613] Notebook's battery is now: 69%
Traceback (most recent call last):
  File "coffee_bot.py", line 298, in <module>
    while(coffebot.deliver_coffee() and not rospy.is_shutdown()):
  File "coffee_bot.py", line 102, in deliver_coffee
    data = json.load(urllib2.urlopen(self.server_public_dns + "/var/www/html/turtlebot-server/coffee_queue.php?pop"))
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error timed out>

I changed the path from

self.server_public_dns + "/turtlebot-server/coffee_queue.php?pop

to:

self.server_public_dns + "/var/www/html/turtlebot-server/coffee_queue.php?pop

because when ssh into the server, this is where it is located. But either way it is not working. Can anyone help?

Thanks in advance! Cheers

2015-07-21 02:48:10 -0500 commented answer Scan message must contain angles from -x to x

well, after changing the value to 0.03 I never had problems.. where should I report the bug?