2018-02-28 20:27:00 -0500 | marked best answer | record kinect bag file, reconstruct disparity topic Hi, I have followed following tutorial [0] to record Kinect data efficiently. It reconstructs the /camera/depth_registered/points topic properly but I also need the topic /camera/depth_registered/disparity. Is it possible to reconstruct this topic from the raw topics, or do I have to record it explicitly? Cheers, Oier [0] http://www.ros.org/wiki/openni_launch/Tutorials/BagRecordingPlayback |
2017-05-16 19:38:22 -0500 | marked best answer | Existing motion planner for double Ackermann kynematics? Hi, I have a robot with double ackermann kynematics/steering, this means that the unlike in a conventional car, you can also steer the rear wheels and make use of crab like steering. Is there any open source path planner for these kind of robots? Can for example OMPL be used for this? Cheers, Oier |
2015-08-31 21:15:11 -0500 | marked best answer | Ubuntu 12.10 update-manager wants to remove Groovy Hello,
I am using Ubuntu 12.10 and just installed ros-groovy-desktop-full. When I run Ubuntus update-manager it says it has to do an partial upgrade and wants to remove ros-groovy-desktop-full (and upgrade some ros-groovy packages). Any idea what is going on? Is it just my computers problem? I don't dare to upgrade in fear of removing the whole ROS installation...
Cheers,
Oier |
2014-09-21 20:32:59 -0500 | received badge | ● Famous Question
(source)
|
2014-09-21 20:32:29 -0500 | received badge | ● Famous Question
(source)
|
2014-06-11 05:59:37 -0500 | received badge | ● Notable Question
(source)
|
2014-05-27 02:54:12 -0500 | received badge | ● Enthusiast
|
2014-05-14 02:51:59 -0500 | received badge | ● Famous Question
(source)
|
2014-05-04 23:28:15 -0500 | received badge | ● Popular Question
(source)
|
2014-05-02 06:38:57 -0500 | asked a question | Stageros dies when launching sbpl_lattice_planner I am trying to get sbpl_lattice_planner to work on groovy. I downloaded and compiled it from https://github.com/ros-planning/navig... and I also downloaded and compiled sbpl from https://github.com/sbpl/sbpl . As sbpl is no longer a ros package I created a simple manifest on it so that the launch files from sbpl_lattice_planner can find it with rospack ( http://answers.ros.org/question/15904... ). I also replaced nav_view with rviz in the move_base_sbpl_fake_localization_2.5cm.launch launch file, as nav_view is deprecated. Finally I had to replace the word "laser' for 'range' in the world file, because Groovy has Stage 4, which no longer provides the laser device simulation. After all this fiddling, when I launch roslaunch sbpl_lattice_planner move_base_sbpl_fake_localization_2.5cm.launch, stage crashes immediately. Besides rviz doesn't receive any tf information. Rviz says "Waiting on transform from /base_link to /map to become available before running costmap, tf error: ", is this because stage isn't running/crashed? Running stage with gdb shows following error 307 /tmp/buildd/ros-groovy-stage-1.6.7/debian/ros-groovy-stage/opt/ros/groovy/stacks/stage/src/stageros.cpp: No such file or directory
Does anybody know how to solve this? $ roslaunch sbpl_lattice_planner move_base_sbpl_fake_localization_2.5cm.launch
... logging to /home/meeso/.ros/log/d59f5598-d212-11e3-a07d-5404a6f18a13/roslaunch-speed-16339.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://speed:60710/
SUMMARY
========
PARAMETERS
* /move_base_node/SBPLLatticePlanner/allocated_time
* /move_base_node/SBPLLatticePlanner/environment_type
* /move_base_node/SBPLLatticePlanner/forward_search
* /move_base_node/SBPLLatticePlanner/initial_epsilon
* /move_base_node/SBPLLatticePlanner/planner_type
* /move_base_node/SBPLLatticePlanner/primitive_filename
* /move_base_node/TrajectoryPlannerROS/acc_lim_th
* /move_base_node/TrajectoryPlannerROS/acc_lim_x
* /move_base_node/TrajectoryPlannerROS/acc_lim_y
* /move_base_node/TrajectoryPlannerROS/dwa
* /move_base_node/TrajectoryPlannerROS/goal_distance_bias
* /move_base_node/TrajectoryPlannerROS/heading_lookahead
* /move_base_node/TrajectoryPlannerROS/heading_scoring
* /move_base_node/TrajectoryPlannerROS/heading_scoring_timestep
* /move_base_node/TrajectoryPlannerROS/holonomic_robot
* /move_base_node/TrajectoryPlannerROS/max_rotational_vel
* /move_base_node/TrajectoryPlannerROS/max_vel_x
* /move_base_node/TrajectoryPlannerROS/min_in_place_rotational_vel
* /move_base_node/TrajectoryPlannerROS/min_vel_x
* /move_base_node/TrajectoryPlannerROS/occdist_scale
* /move_base_node/TrajectoryPlannerROS/oscillation_reset_dist
* /move_base_node/TrajectoryPlannerROS/path_distance_bias
* /move_base_node/TrajectoryPlannerROS/sim_granularity
* /move_base_node/TrajectoryPlannerROS/sim_time
* /move_base_node/TrajectoryPlannerROS/simple_attractor
* /move_base_node/TrajectoryPlannerROS/transform_tolerance
* /move_base_node/TrajectoryPlannerROS/vtheta_samples
* /move_base_node/TrajectoryPlannerROS/vx_samples
* /move_base_node/TrajectoryPlannerROS/xy_goal_tolerance
* /move_base_node/TrajectoryPlannerROS/yaw_goal_tolerance
* /move_base_node/base_global_planner
* /move_base_node/controller_frequency
* /move_base_node/controller_patience
* /move_base_node/footprint_padding
* /move_base_node/global_costmap/base_scan/clearing
* /move_base_node/global_costmap/base_scan/data_type
* /move_base_node/global_costmap/base_scan/expected_update_rate
* /move_base_node/global_costmap/base_scan/marking
* /move_base_node/global_costmap/base_scan/max_obstacle_height
* /move_base_node/global_costmap/base_scan/min_obstacle_height
* /move_base_node/global_costmap/base_scan/observation_persistence
* /move_base_node/global_costmap/cost_scaling_factor
* /move_base_node/global_costmap/footprint
* /move_base_node/global_costmap/footprint_padding
* /move_base_node/global_costmap/global_frame
* /move_base_node/global_costmap/inflation_radius
* /move_base_node/global_costmap/lethal_cost_threshold
* /move_base_node/global_costmap/map_type
* /move_base_node/global_costmap/mark_threshold
* /move_base_node/global_costmap/max_obstacle_height
* /move_base_node/global_costmap/observation_sources
* /move_base_node/global_costmap/obstacle_range
* /move_base_node/global_costmap/origin_z
* /move_base_node/global_costmap/publish_frequency
* /move_base_node/global_costmap/raytrace_range
* /move_base_node/global_costmap/robot_base_frame
* /move_base_node/global_costmap/rolling_window
* /move_base_node/global_costmap/static_map
* /move_base_node/global_costmap/transform_tolerance
* /move_base_node/global_costmap/unknown_threshold
* /move_base_node/global_costmap/update_frequency
* /move_base_node/global_costmap/z_resolution
* /move_base_node/global_costmap/z_voxels
* /move_base_node/local_costmap/base_scan/clearing
* /move_base_node/local_costmap/base_scan/data_type
* /move_base_node/local_costmap/base_scan/expected_update_rate
* /move_base_node/local_costmap/base_scan/marking
* /move_base_node/local_costmap/base_scan/max_obstacle_height
* /move_base_node/local_costmap/base_scan/min_obstacle_height
* /move_base_node/local_costmap/base_scan/observation_persistence
* /move_base_node/local_costmap/cost_scaling_factor
* /move_base_node/local_costmap/footprint
* /move_base_node/local_costmap/footprint_padding
* /move_base_node/local_costmap/global_frame
* /move_base_node/local_costmap/height
* /move_base_node/local_costmap/inflation_radius
* /move_base_node/local_costmap/lethal_cost_threshold
* /move_base_node/local_costmap/map_type
* /move_base_node/local_costmap/mark_threshold
* /move_base_node/local_costmap/max_obstacle_height
* /move_base_node/local_costmap/observation_sources
* /move_base_node/local_costmap/obstacle_range ... (more) |
2014-05-01 07:55:42 -0500 | received badge | ● Notable Question
(source)
|
2014-04-30 12:24:18 -0500 | received badge | ● Popular Question
(source)
|
2014-04-30 01:58:01 -0500 | asked a question | sbpl_lattice_planner can't locate sbpl during execution Hi, I am trying to get sbpl_lattice_planner working on groovy. I installed ros-groovy-sbpl package, though roscd seems not to be able to find sbpl, and downloaded sbpl_lattice_planner from navigation-experimental github and rosmaked it without problems. When running the commands suggested in the wiki, "roslaunch sbpl_lattice_planner move_base_sbpl_fake_localization_2.5cm.launch" I get following error: Traceback (most recent call last):
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py", line 279, in main
p.start()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 257, in start
self._start_infrastructure()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 206, in _start_infrastructure
self._load_config()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 121, in _load_config
self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, verbose=self.verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/config.py", line 428, in load_config_default
loader.load(f, config, verbose=verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 698, in load
self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 670, in _load_launch
self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 634, in _recurse_load
val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 575, in _include_tag
default_machine, is_core, verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 605, in _recurse_load
n = self._node_tag(tag, context.child(''), ros_config, default_machine, verbose=verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 373, in _node_tag
self._param_tag(t, param_ns, ros_config, force_local=True, verbose=verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 232, in _param_tag
vals = self.opt_attrs(tag, context, ('value', 'textfile', 'binfile', 'command'))
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 178, in opt_attrs
return [self.resolve_args(tag_value(tag,a), context) for a in attrs]
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 159, in resolve_args
return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args
resolved = _resolve_args(resolved, context, resolve_anon, commands)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args
resolved = commands[command](resolved, a, args, context)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find
return _find_executable(resolve_without_path, a, [args[0], path], context)
File "/opt/ros ... (more) |
2014-04-20 06:54:58 -0500 | marked best answer | Drawing poses in a coordinate system in rviz Hi, I am developing in a visual SLAM context and would like to draw the resulting camera poses for each keyframe in rviz as coordinate systems(i.e. three arrows), to see how well the localization works. Since I am inexperienced in this issue, could anyone give me an approximate description of how this can be done? Is there a tutorial or a ROS package which already does something similar? And is it necessary to use Tf for this? Cheers, Oier |
2014-04-20 06:54:25 -0500 | marked best answer | How to execute a ros callback just once I want to subscribe to openni's "camera/rgb/camera_info" topic to get the camera matrix. Since the matrix doesn't change, I would like to execute the callback just once. How could I achieve this? Is the only way to unsubscribe? Or is it possible to use a ros service for this? Regards, Oier |
2014-04-20 06:54:09 -0500 | marked best answer | catkin_make fails Hi, I get an ImportError: "from catkin_pkg.package import parse_package" failed: No module named workspaces Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
The same package compiles on another computer. The suggestions from [0] didn't work for me, any ideas? PYTHONPATH: /opt/ros/groovy/lib/python2.7/dist-packages
$ dpkg -L python-catkin-pkg
/.
/usr
/usr/bin
/usr/bin/catkin_create_pkg
/usr/share
/usr/share/python-support
/usr/share/python-support/python-catkin-pkg.public
/usr/share/pyshared
/usr/share/pyshared/catkin_pkg
/usr/share/pyshared/catkin_pkg/package.py
/usr/share/pyshared/catkin_pkg/packages.py
/usr/share/pyshared/catkin_pkg/package_templates.py
/usr/share/pyshared/catkin_pkg/__init__.py
/usr/share/pyshared/catkin_pkg/topological_order.py
/usr/share/pyshared/catkin_pkg-0.1.4.egg-info
/usr/share/doc
/usr/share/doc/python-catkin-pkg
/usr/share/doc/python-catkin-pkg/changelog.Debian.gz
$ python -c 'import catkin_pkg; print(catkin_pkg.__file__)'
/usr/lib/pymodules/python2.7/catkin_pkg/__init__.pyc
Many thanks! [0] http://answers.ros.org/question/56873/problem-with-catkin_make/ |
2014-04-20 06:53:34 -0500 | marked best answer | How to find_package of a external ros-wrapped library (g2o) Hi, I have written a ros-wrapper for g2o [0] and wish to do a find_package(G2O REQUIRED) and include_directories(${G2O_INCLUDE_DIRS}) in my packages CMakeLists.txt The library includes a FindG2O.cmake file which I also copied to my projects CMakeModules folder(not sure where the file should be), but still the find_package does't work. So, how are you supposed to find_package of external libraries you have written a ros-wrapper for? I am using Ubuntu 12.04 and Fuerte. Another question would be, if the external library you wrapped in ROS, doesn't have a Find.cmake file, do you have to write one yourself in order to use find_package? Cheers, Oier [0] https://github.com/RainerKuemmerle/g2o |
2014-04-20 06:53:32 -0500 | marked best answer | Opencv2 include problems Hello, I am using fuerte an Ubuntu 12.04 and have an
include <opencv2/core/core.hpp> which can't be resolved (fatal error: opencv2/core/core.hpp: No such file or directory
).
Iin the manifest I have <depend package="opencv2"/> and the file is at /opt/ros/fuerte/include/opencv2/core.
Running rospack export --lang=cpp --attrib=cflags opencv2 shows following output [rospack] Warning: ignoring duplicate cpp tag in export block
-I/opt/ros/fuerte/include/opencv -I/opt/ros/fuerte/include
Any idea why it doesn't finde the file? |
2014-04-20 06:53:29 -0500 | marked best answer | Rosdep: Adding dependencies that have to be compiled Hello, I have to integrate some external dependencies into my ROS packet, that are not available as debs but only source code on github. I thought that you have to declare in your manifest.xml <rosdep name="someNameWhichIsNotOnThebase.yamlList"/>, then create a rosdep.yaml file and put something like someNameWhichIsNotOnThebase.yamlList:
ubuntu:
mkdir -p ~/ros/ros-deps
cd ~/ros/ros-deps
wget --no-check-certificate https://github.com/project/foo/tarball/master
tar xpvf master
cd master
mkdir build
cd build
cmake ..
make -j4
sudo make install
(And I am not sure maybe search in CMakeLists.txt for this lib?)
But since it doesn't work, I would like to know how you are supposed to do this.
I would be very grateful for your help. Regards, Oier |
2014-04-20 06:52:49 -0500 | marked best answer | openni doesn't find kinect Hi, I am running Ubuntu 12.10 and ROS Groovy. lsusb shows the kinect: Bus 002 Device 019: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 002 Device 018: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 002 Device 020: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
But when I run roslaunch openni_launch openni.launch, it doesn't find the kinect. [ INFO] [1357079636.178559036]: No devices connected.... waiting for devices to be connected
[ INFO] [1357079639.179093142]: No devices connected.... waiting for devices to be connected
A week ago, after installing the updated openni package, everything worked and now I get the same "no devices connected" message even though I tried connecting it in different usb ports etc. Is this a bug or is my camera somehow broken? Regards, Oier |
2014-04-20 06:52:48 -0500 | marked best answer | groovy openni 1.5.4 upgrade error Hi,
after reading Tullys post on ros-users, I just upgraded to openni 1.5.4 on my Ubuntu 12.10 machine via upgrade manager.
I got the following errors during the upgrade process: "The upgrade will continue but the 'ps-engine' package may not be in a working state.Please consider submitting a bug report about it.
subprocess installed pre-removal script returned error exit status 127
Could not install 'nite-dev' Please consider submitting a bug report about it.
subprocess installed pre-removal script returned error exit status 127
Could not install the upgrades. The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a)."
So ps-engine is now a broken package, but I think that it is safe to remove it because now it is obsolete/deprecated, right? Besides, I runned openni_launch and image_view and the Kinect seems to be working.
Regarding nite-dev, I don't know if it is necessary but the problem seems that there is no quantal version of the package available. Cheers,
Oier |
2014-04-20 06:52:40 -0500 | marked best answer | [groovy beta 2] Question regarding catkin, location of binaries and roslaunch Hello,
I am migrating code and I have a question regarding catkin. With rosmake the binaries where created in the /mypackage/bin folder, now catkins (using catkin_make) creates them in /mypackage/build/devel/lib/package. The, probably foolish, question is how to execute these binaries. When I try "rosrun mypackage" and autocompletion with tab, the new binaries are not shown. Besides, I used a launch file, which also doesn't work because it looks like the binaries are expected in mypackage/bin. Am I missing something?
Cheers,
Oier |
2014-04-20 06:52:33 -0500 | marked best answer | Linking problems with catkin Hello,
I am trying to migrate code to groovy and have some linking errors with rosconsole, rosserviceserver etc. I think that it is related with target_link_libraries. Could someone help me out with CMakeLists.txt please? This is the content of CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3)
project(bertsobot)
find_package(catkin REQUIRED COMPONENTS roscpp std_msgs)
find_package(catkin REQUIRED genmsg)
add_service_files(
DIRECTORY srv
FILES
depth_server.srv
mean_depth_server.srv
)
generate_messages()
catkin_package(DEPENDS roscpp std_msgs opencv2 sensor_msgs cv_bridge image_transport genmsg
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME})
include_directories(include ${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})
set(CMAKE_VERBOSE_MAKEFILE TRUE)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
add_executable(marisorgin src/main.cpp)
add_executable(depth_server src/depth_server.cpp)
add_executable(mean_depth_server src/mean_depth_server.cpp)
target_link_libraries(marisorgin ${catkin_LIBRARIES})
target_link_libraries(depth_server ${catkin_LIBRARIES})
target_link_libraries(mean_depth_server ${catkin_LIBRARIES})
and this are some of the errors: ...
Linking CXX executable devel/lib/bertsobot/mean_depth_server
/usr/bin/cmake -E cmake_link_script CMakeFiles/mean_depth_server.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/mean_depth_server.dir/src/mean_depth_server.cpp.o -o devel/lib/bertsobot/mean_depth_server -rdynamic
CMakeFiles/mean_depth_server.dir/src/mean_depth_server.cpp.o: In function `get_mean_depth(bertsobot::mean_depth_serverRequest_<std::allocator<void> >&, bertsobot::mean_depth_serverResponse_<std::allocator<void> >&)':
mean_depth_server.cpp:(.text+0x9e): undefined reference to `cvInitLineIterator'
mean_depth_server.cpp:(.text+0x150): undefined reference to `cvGet2D'
mean_depth_server.cpp:(.text+0x287): undefined reference to `ros::console::g_initialized'
mean_depth_server.cpp:(.text+0x297): undefined reference to `ros::console::initialize()'
mean_depth_server.cpp:(.text+0x2e0): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x31b): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x325): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
mean_depth_server.cpp:(.text+0x3c9): undefined reference to `ros::console::print(ros::console::FilterBase*, log4cxx::Logger*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
mean_depth_server.cpp:(.text+0x3d0): undefined reference to `ros::console::g_initialized'
mean_depth_server.cpp:(.text+0x3e0): undefined reference to `ros::console::initialize()'
mean_depth_server.cpp:(.text+0x429): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x464): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x46e): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
mean_depth_server.cpp:(.text+0x4d0): undefined reference to `ros::console::print(ros::console::FilterBase*, log4cxx::Logger*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
CMakeFiles/mean_depth_server.dir/src/mean_depth_server.cpp.o: In function `imageDepth_callback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)':
mean_depth_server.cpp:(.text+0x59e): undefined reference to `cv_bridge::toCvCopy(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, std::string const&)'
mean_depth_server.cpp:(.text+0x646): undefined reference to `ros::console::g_initialized'
mean_depth_server.cpp:(.text+0x656): undefined reference to `ros::console::initialize()'
mean_depth_server.cpp:(.text+0x69f): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x6da): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
mean_depth_server.cpp:(.text+0x6e4): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation ... (more) |
2014-04-09 23:51:00 -0500 | received badge | ● Famous Question
(source)
|
2014-04-08 23:35:46 -0500 | commented answer | Existing motion planner for double Ackermann kynematics? thanks @Stefan Kohlbrecher! What made you choose sbpl_lattice_planner over a sampling based method like RRT with motion primitives? |
2014-04-08 23:35:46 -0500 | received badge | ● Commentator
|
2014-04-08 04:59:00 -0500 | marked best answer | How to use CUDA with rosbuild Hi, I am trying to integrate CUDA in my ros package (which is not catkinized) and have some problems. I believe, that I have to use cuda_add_library and cuda_add_executable in my CMakeLists.txt and after that target_link_libraries. If I do that, for some reason I get linking errors because the libraries have not been linked, it says it doesn't know about ros::spin for instance. If instead, I use rosbuild_add_library and rosbuild_add_executable, there is some CUDA related linking issue. I append the important bits of the CMakeLists file. If I compile without CUDA support, everything works. I would be grateful for any help. if(SUPPORT_CUDA)
find_package(CUDA QUIET REQUIRED)
include_directories(${CUDA_TOOLKIT_ROOT_DIR}/samples/common/inc)
add_definitions(-DCUDA_BUILD -DBT_USE_DOUBLE_PRECISION)
list(APPEND SOURCES bar.cu)
else()
MESSAGE(STATUS "cuda not found")
endif()
if(SUPPORT_CUDA)
cuda_add_library(${PROJECT_NAME} SHARED ${SOURCES})
cuda_add_executable(main ${PROJECT_SOURCE_DIR}/src/main.cpp)
else()
rosbuild_add_library(${PROJECT_NAME} SHARED ${SOURCES})
rosbuild_add_executable(main ${PROJECT_SOURCE_DIR}/src/main.cpp)
ENDIF()
target_link_libraries(${PROJECT_NAME} ${EXTERNAL_LIBS})
target_link_libraries(main ${PROJECT_NAME})
|
2014-04-08 02:41:18 -0500 | received badge | ● Notable Question
(source)
|