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

aespielberg's profile - activity

2018-09-14 17:38:41 -0500 marked best answer Meshes in moveit setup assistant

Hi all,

Pretty quick question: can meshes be used and rendered in urdf files for the moveit_setup_assistant? I ask because currently, when I try to load a urdf with a reference to a .stl file, I get the following error:

[rospack] Error: no package/stack given And mesh files don't load. Does anyone know why this is?

EDIT: I'm actually wondering - is this just a limitation of rviz? Are there certain ways one would have to have their urdf formatted to make all the meshes appear properly? Will only certain filetypes render?

2016-05-09 20:51:55 -0500 marked best answer Replaced binary with source, won't compile

Hi all,

Working on Ubuntu 12.04, ROS Hydro

Recently, I decided I wanted to make changes to robot_state_publisher. In order to do this, I downloaded the source code and made changes, added its location to my ROS_PACKAGE_PATH (I can roscd to it just fine), and apt-get purge'd the binary. Unfortunately, now when I try to rosmake a package that depends on robot_state_publisher, I get the error I've included below. I've tried deleting the ~/.ros folder's contents (and re-initializing) and make clean-ing. Neither fix this problem.

I'm totally stumped. Does anyone have any ideas on this? It shouldn't be looking for that .pc file because it should no longer be looking for the binary, but I don't know what to delete or add to make it look in source.

mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/hydro/share/ros/core/rosbuild/rostoolchain.cmake  ..
  [rosbuild] Building package youbot_description
  [rosbuild] Cached build flags older than manifests; calling rospack to get flags
  Failed to invoke /opt/ros/hydro/bin/rospack cflags-only-I;--deps-only youbot_description
  Package robot_state_publisher was not found in the pkg-config search path.
  Perhaps you should add the directory containing `robot_state_publisher.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'robot_state_publisher' found
  [rospack] Error: python function 'rosdep2.rospack.call_pkg_config' could not call 'pkg-config --cflags-only-I robot_state_publisher' without errors


  CMake Error at /opt/ros/hydro/share/ros/core/rosbuild/public.cmake:129 (message):


    Failed to invoke rospack to get compile flags for package
    'youbot_description'.  Look above for errors from rospack itself.
    Aborting.  Please fix the broken dependency!

  Call Stack (most recent call first):
    /opt/ros/hydro/share/ros/core/rosbuild/public.cmake:227 (rosbuild_invoke_rospack)
    CMakeLists.txt:12 (rosbuild_init)


  -- Configuring incomplete, errors occurred!
2015-11-28 16:23:21 -0500 marked best answer Very stumped on Rviz and QT Problem

Hi all,

I'm very stumped regarding our migrating of a plugin from electric up to groovy. But, the problem seems to not be within our code, but within the ROS code. Either that, or we're no longer including something correctly.

There are two errors: First, in our init.cpp, we attempt to include rviz/plugin/type_registry.h , and there's: Fatal Error: rviz/plugin/type_registry.h: No such file or directory does this file no longer exist? Has it been replaced by something?

Second, in /opt/ros/groovy/include/rviz/properties/property.h there's: fatal error: QObject: No such file or directory.

But I believe QT is installed. Are we missing a dependency?

2014-10-22 18:54:00 -0500 received badge  Famous Question (source)
2014-08-17 13:20:33 -0500 received badge  Famous Question (source)
2014-06-30 03:19:44 -0500 received badge  Notable Question (source)
2014-06-30 03:19:44 -0500 received badge  Popular Question (source)
2014-05-24 19:49:05 -0500 received badge  Famous Question (source)
2014-04-07 12:04:20 -0500 asked a question Creating an RViz Plugin with animations

Hi all,

First of all, Ubuntu 64 bit 12.04 Hydro.

I'm trying to make an RViz plugin with animations. To get started, I modified the code from the tutorial:

http://docs.ros.org/hydro/api/rviz_pl...

If I try to do some sort of "animation" though, by creating a marker, sleeping, updating the marker, sleeping, etc., this doesn't cause anything to render. I'm guessing that this is because I'm making the entire RViz system sleep, so it can't update.

In order to get around this, for each incoming message, I fire off a thread tahtthen is in charge of painting for this thread. Unfortunately, this has led to numerous graphical glitches - and after the first one, it fails to paint for subsequent loops.

So much is abstracted away from the user in these plugins (it's actually extremely frustrating!) that I really do not have a good grasp on how the painting occurs. And there is little to no documentation on these things.

I'm looking for an explanation as to how the painting actually occurs, and possibly a suggestion on how to do animations correctly?

2014-03-20 09:49:21 -0500 received badge  Notable Question (source)
2014-03-20 03:19:43 -0500 received badge  Famous Question (source)
2014-01-28 17:31:15 -0500 marked best answer moveit_setup_assistant won't load urdf after upgrade - possible bug?

Hi all,

Before I upgraded today, the moveit_setup_assistant had no problem loading this file, although it wasn't rendering any of the imported meshes (I was trying to figure that out):

https://github.com/bellenss/youbot-ros-pkg-kdl/blob/master/robots/youbot.urdf

After I did an upgrade (sudo apt-get upgrade) today, though, when I try to upload this file, I get the following error:

[rospack] Error: no package/stack given
[librospack]: error while executing command
[ INFO] [1374244419.478199916]: Loaded youbot robot model.
[ INFO] [1374244419.478328580]: Setting Param Server with Robot Description
[ INFO] [1374244419.486800403]: Robot semantic model successfully loaded.
[ INFO] [1374244419.486842500]: Setting Param Server with Robot Semantic Description
[ERROR] [1374244419.504058106]: Unknown joint type: 81
================================================================================REQUIRED process [moveit_setup_assistant-2] has died!
process has died [pid 26285, exit code -11, cmd /opt/ros/groovy/lib/moveit_setup_assistant/moveit_setup_assistant __name:=moveit_setup_assistant __log:=/home/aespielberg/.ros/log/2c075964-f080-11e2-a095-3ca9f4427744/moveit_setup_assistant-2.log].
log file: /home/aespielberg/.ros/log/2c075964-f080-11e2-a095-3ca9f4427744/moveit_setup_assistant-2*.log
Initiating shutdown!
================================================================================

All of the joint types listed are of the standard type. Is this a bug? Or does anyone know what the cause is?

2014-01-28 17:31:11 -0500 marked best answer roscd, rospack find work, rosmake fails?

Hey all,

I'm a little stumped on this one. Ubuntu 12.04, ROS groovy, building with rosbuild (porting legacy packages).

I have a package that we've developed that shows up 100% perfectly using a roscd or a rospack find. The problem is, when doing a roslaunch or a rosmake, I get the following errors:

[ rosmake ] rosmake starting...
[ rosmake ] No package or stack specified. And current directory 'track_obj' is not a package name or stack name. [ rosmake ] Packages requested are: []
[ rosmake ] Logging to directory /home/youbot/.ros/rosmake/rosmake_output-20130715-141430 [ rosmake ] Expanded args [] to: []
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

It doesn't matter if I put the package name there, or move to the directory and give it "." it always fails.

My $ROS_PACKAGE_PATH both includes a parent folder and now the actual package folder for good measure.

Why might rospack find work, but rosmake fail?

We're working on some object tracking stuff using OpenCV and so we have some code that works as a standalone C++ project, and also has a ROS wrapper. I'm not sure that part's relevant.

If there are any files I can provide to help diagnose this problem, let me know.

2014-01-28 17:30:59 -0500 marked best answer Difficulty using ikfast generator, "need 6 joints error" with Kuka Youbot

Hi,

I'm new to ikfast and I'm trying to understand it. I've been following the documentation here: http://moveit.ros.org/wiki/Kinematics/IKFast

I'm using a Kuka youbot urdf file which I converted to a .dae file.

When I do an --info links on my robot, I get the following:

name index parents

base_footprint 0
base_link 1 base_footprint
arm_link_0 2 base_link
arm_link_1 3 arm_link_0
arm_link_2 4 arm_link_1
arm_link_3 5 arm_link_2
arm_link_4 6 arm_link_3
arm_link_5 7 arm_link_4
gripper_palm_link 8 arm_link_5
gripper_finger_link_l 9 gripper_palm_link gripper_finger_link_r 10 gripper_palm_link base_laser_front_link 11 base_link
caster_link_bl 12 base_link
wheel_link_bl 13 caster_link_bl
caster_link_br 14 base_link
wheel_link_br 15 caster_link_br
caster_link_fl 16 base_link
wheel_link_fl 17 caster_link_fl
caster_link_fr 18 base_link
wheel_link_fr 19 caster_link_fr
plate_link 20 base_link

And when I look up the joints, I get: name index parents
andy@andy-VirtualBox:~/catkin_ws/collada_files2$ openrave0.8-robot.py youbot.dae --info joints

name joint_index dof_index parent_link child_link mimic

arm_joint_1 0 0 arm_link_0 arm_link_1
arm_joint_2 1 1 arm_link_1 arm_link_2
arm_joint_3 2 2 arm_link_2 arm_link_3
arm_joint_4 3 3 arm_link_3 arm_link_4
arm_joint_5 4 4 arm_link_4 arm_link_5
gripper_finger_joint_l 5 5 gripper_palm_link gripper_finger_link_l
gripper_finger_joint_r 6 6 gripper_palm_link gripper_finger_link_r
base_footprint_joint -1 -1 base_footprint base_link
arm_joint_0 -1 -1 base_link arm_link_0
gripper_palm_joint -1 -1 arm_link_5 gripper_palm_link
base_laser_front_hokuyo_urg04_laser_joint -1 -1 base_link base_laser_front_link
caster_joint_bl -1 -1 base_link caster_link_bl
wheel_joint_bl -1 -1 caster_link_bl wheel_link_bl
caster_joint_br -1 -1 base_link caster_link_br
wheel_joint_br -1 -1 caster_link_br wheel_link_br
caster_joint_fl -1 -1 base_link caster_link_fl
wheel_joint_fl -1 -1 caster_link_fl wheel_link_fl
caster_joint_fr -1 -1 base_link caster_link_fr
wheel_joint_fr -1 -1 caster_link_fr wheel_link_fr
plate_joint -1 -1 base_link

Now, I apologize for my newness to the ikfast package, so I'm trying to understand exactly what this means. I assume a -1 means no dof is provided by the joint (so, it's fixed or something), and that each number 0 through 6 provides the cumulative dof at that joint.

Therefore, my understanding is that the correct 6DOF command to generate the IKSolver would be:

python /usr/lib/python2.7/dist-packages/openravepy/_openravepy_0_8/ikfast.py --robot=youbot.dae --iktype=transform6d --baselink=3 --eelink=10 --savefile=output_ikfast61.cpp

But I get the following error:

/usr/lib/python2.7/dist-packages/openravepy/_openravepy_0_8/ikfast.py:1122: RuntimeWarning: invalid value encountered in divide axisangle /= angle INFO: moved translation [0, 0, 13/100] to right end INFO: moved translation [0, 0, 19/1000] to left end INFO: moved translation on intersecting axis [0, 0, 0] to left INFO: [[1, 0, 0, 3/125],[0, 1, 0, 0],[0, 0, 1, 23/200]] INFO: [[cos(j0), -sin(j0), 0, 0],[sin(j0), cos(j0), 0, 0],[0, 0, 1, 0]] INFO: [[1, 0, 0, 33/1000],[0, 0, -1, 0],[0, 1, 0, 0]] INFO: [[cos(j1), -sin(j1), 0, 0],[sin(j1), cos(j1), 0, 0],[0, 0, 1, 0]] INFO: [[1, 0, 0, 0],[0, -1, 0, 31/200],[0, 0, -1, 0]] INFO: [[cos(j2), -sin(j2), 0, 0],[sin(j2), cos(j2), 0, 0],[0, 0, 1, 0]] INFO: [[1, 0, 0, 0],[0, -1, 0, -27/200],[0, 0, -1, 0 ... (more)

2014-01-28 17:29:25 -0500 marked best answer Cannot find qt_gui in groovy (Ubuntu 64-bit VM)

Hi all,

I'm trying to do the tutorials, but I'm running into lots of trouble with using anything rqt related. For example, in the tutorial on the rqt_console (http://www.ros.org/wiki/ROS/Tutorials/UsingRqtconsoleRoslaunch), I try rosrun rqt_console rqt_console and get the output below. I noticed I"m having a permission denied error, but I'm not sure how to get around that. Does anybody have any suggestions?

Traceback (most recent call last):
  File "/opt/ros/groovy/bin/roswtf", line 35, in <module>
    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 136, in _roswtf_main
    static_plugins, online_plugins = roswtf.plugins.load_plugins()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/plugins.py", line 54, in load_plugins
    to_check = rospack.get_depends_on('roswtf', implicit=False)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 229, in get_depends_on
    m = self.get_manifest(r)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 172, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/manifest.py", line 376, in parse_manifest_file
    _static_rosdep_view = init_rospack_interface()
  File "/usr/lib/pymodules/python2.7/rosdep2/rospack.py", line 55, in init_rospack_interface
    lookup = _get_default_RosdepLookup(Options())
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 107, in _get_default_RosdepLookup
    verbose=options.verbose)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 522, in create_default
    sources = load_cached_sources_list(sources_cache_dir=sources_cache_dir, verbose=verbose)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 429, in load_cached_sources_list
    with open(cache_index, 'r') as f:
IOError: [Errno 13] Permission denied: '/home/my_username/.ros/rosdep/sources.cache/index'
my_username@ubuntu:~$ sudo roswtf
sudo: roswtf: command not found
my_username@ubuntu:~$ rosrun rqt_console rqt_console 
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
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rosdep2/rospack.py", line 55, in init_rospack_interface
    lookup = _get_default_RosdepLookup(Options())
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 107, in _get_default_RosdepLookup
    verbose=options.verbose)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 522, in create_default
    sources = load_cached_sources_list(sources_cache_dir=sources_cache_dir, verbose=verbose)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 429, in load_cached_sources_list
    with open(cache_index, 'r') as f:
IOError: [Errno 13] Permission denied: '/home/my_username/.ros/rosdep/sources.cache/index'
[rospack] Error: could not call python function 'rosdep2.rospack.init_rospack_interface'
[librospack]: error while executing command
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  rospack co
2014-01-28 17:21:36 -0500 marked best answer Kinect install problems

Hi,

I'm following the install instructions for kinect located here: http://www.ros.org/wiki/ni#Setup_and_...

But when I do, I get the following error at this step:

/opt/ros/cturtle/ros/core/roscpp$ rosinstall ~/ni /opt/ros/unstable 'http://www.ros.org/wiki/ni?action=AttachFile&do=get&target=ni.rosinstall'

rosinstall: command not found

I installed cturtle on linux 10.10 using the "base" installation, and ran the given command to set my environment. Most of ros functionality seems to be working.

Does anybody know what the problem might be?

Thank you for your time,

Andy

2014-01-27 21:54:05 -0500 marked best answer ar_pose no longer downloadable...new url?

Hi all,

I'm trying to clone the following git repository:

http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git

But the cloning is failing. Furthermore, when I try to access anything related tot he robotics.ccny.cuny.edu base url, I'm redirected through wayback machine (with no valid snapshots in June). It seems like this repository is dead. Does anyone know where the new one might be located, if there's one at all? Is there any other way to get this package?

2014-01-23 06:14:02 -0500 received badge  Popular Question (source)
2014-01-17 01:50:18 -0500 marked best answer Difficulty moving from electric to groovy - bullet issues

Hi,

I'm trying to upgrade a system from electric to groovy. Unfortunately, I'm getting stuck since the codebase uses btQuaternion.

The short version though is, I can't find the migration script mentioned here: http://ros.org/wiki/geometry/bullet_migration

My tf folder has no scripts with that name. All I have are: static_transform_publisher tf_change_notifier tf_echo tf_empty_listener tf_monitor

What happened to the conversion script? Was it removed?

2014-01-16 06:13:42 -0500 commented question PCL gpu include location?

Hi Mortonjt, I tried installing pcl1.7 for ROS but couldn't find it in there. It's not in the default install, I don't think, since when I just built pcl from source, I had to configure the CMakeLists. Is there any other way to get it from the ppa, or am I stuck building from source?

2014-01-15 06:57:48 -0500 asked a question PCL gpu include location?

Hi all,

I'm trying to figure out where the pcl gpu headers are put when installed via ros. I am running ros-groovy and have pcl 1.6 installed.

However, my pcl-1.6 folder only includes the following:

channel_properties.h  io                      point_types_conversion.h
cloud_properties.h    kdtree                  point_types.h
common                keypoints               range_image
compression           octree                  registration
console               pcl_base.h              ros
correspondence.h      pcl_config.h            sample_consensus
exceptions.h          pcl_exports.h           search
features              pcl_macros.h            segmentation
filters               pcl_tests.h             surface
for_each_type.h       point_cloud.h           TextureMesh.h
geometry              point_representation.h  tracking
impl                  point_traits.h          visualization

Where can I find the gpu folder? Is it not installed by default? If not, where do I get it from?

2013-12-22 16:37:42 -0500 received badge  Famous Question (source)
2013-12-10 00:46:11 -0500 received badge  Notable Question (source)
2013-12-10 00:46:11 -0500 received badge  Famous Question (source)
2013-12-01 08:36:41 -0500 marked best answer Difficulty using pcl tutorial in ros

Hi,

I am trying to use pcl in ros, on groovy (ubuntu 12.04 64 bit). I have followed the tutorial here for setting up a package, and have copy-pasted the code verbatim from here (Template Alignment).

Unfortunately, when I try to catkin_make this tutorial, I get a very hard to parse output, with references to tokens I'm not even using (maybe they're in the includes?):

Can someone explain to me how to interpret this output for future reference, and explain to me why it's not compiling?

Edit: I've added my CMakeLists.txt and package.xml files. Example2.cpp is what I'm trying to build as an executable. I've noticed there's a pcl-1.6 folder under ROS that it looks like I might need to include, but I don't know how to do this without it barking at me.

CMakeLists.txt:

cmake_minimum_required(VERSION 2.8.3)
project(my_pcl_tutorial)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
  pcl
  pcl_ros
  roscpp
  sensor_msgs
)

## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)


## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See <a href="http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html">http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html</a>
# catkin_python_setup()

#######################################
## Declare ROS messages and services ##
#######################################

## Generate messages in the 'msg' folder
# add_message_files(
#   FILES
#   Message1.msg
#   Message2.msg
# )

## Generate services in the 'srv' folder
# add_service_files(
#   FILES
#   Service1.srv
#   Service2.srv
# )

## Generate added messages and services with any dependencies listed here
# generate_messages(
#   DEPENDENCIES
#   sensor_msgs
# )

###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES my_pcl_tutorial
#  CATKIN_DEPENDS pcl pcl_ros roscpp sensor_msgs
#  DEPENDS system_lib
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
  ${catkin_INCLUDE_DIRS}
)

## Declare a cpp library
# add_library(my_pcl_tutorial
#   src/${PROJECT_NAME}/my_pcl_tutorial.cpp
# )

## Declare a cpp executable
# add_executable(my_pcl_tutorial_node src/my_pcl_tutorial_node.cpp)
add_executable(example src/example.cpp)
add_executable(example2 src/example2.cpp)
target_link_libraries(example ${catkin_LIBRARIES})

## Add cmake target dependencies of the executable/library
## as an example, message headers may need to be generated before nodes
# add_dependencies(my_pcl_tutorial_node my_pcl_tutorial_generate_messages_cpp)

## Specify libraries to link a library or executable target against
# target_link_libraries(my_pcl_tutorial_node
#   ${catkin_LIBRARIES}
# )

#############
## Install ##
#############

# all install targets should use catkin DESTINATION variables
# See <a href="http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html">http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html</a>

## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
#   scripts/my_python_script
#   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION ...
(more)
2013-12-01 08:36:35 -0500 commented answer Difficulty using pcl tutorial in ros

Wow, yeah, I really messed that one up, huh? Thanks!