Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 85 articles
Browse latest View live

how to install move_group_interface from source

$
0
0
Hi... I tried to install moveit / kinetic. I follow Source Install Tutorial from http://moveit.ros.org/install/source/ , but include file and llibrary not installed on my system on my program .cpp "#include --> give error : unresolved inclusion. if I copy the header file to correct location, on build time i got: undefined reference to `moveit::planning_interface::MoveGroupInterface::MoveGroupInterface Looks like the move_group_interface not installed. Same thing happen with planning_scene_interface (on moveit_ros too). But other package on moveit_core is OK. Please help how to install moveit from source. Thanks. **Update:** This is my CMakeLists.txt cmake_minimum_required(VERSION 2.8.3) project(robin_001) find_package(catkin REQUIRED COMPONENTS cmake_modules cv_bridge image_transport roscpp sensor_msgs std_msgs ) include_directories( ${catkin_INCLUDE_DIRS} ) ${catkin_EXPORTED_TARGETS}) add_definitions( -std=c++11 ) include_directories( $ENV{OPENNI2_INCLUDE} /usr/local/include #for realsense ) link_directories( $ENV{OPENNI2_REDIST} /usr/local/lib #for realsense ) link_libraries( -lOpenNI2 -lrealsense ) find_package(Eigen REQUIRED) include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS}) add_executable(Robin001 src/ArmControl.cpp src/ArmPosition.cpp src/Calibration.cpp src/Cam2World.cpp src/ColorTracking.cpp src/MarkPointDetector.cpp src/RobinArm.cpp src/SenseStream.cpp ) target_link_libraries(Robin001 ${catkin_LIBRARIES}) add_executable(RobinMoveit src/robin_moveit.cpp ) target_link_libraries(RobinMoveit ${catkin_LIBRARIES})

Moveit-catkin build

$
0
0
Why does source installation of moveit package needs to be built with catkin build command instead of catkin_make? What is the advantage of doing so.

libfcl-0.5-dev cant resolve depends

$
0
0
Building moveit from source on a debian jessie install on a hP Xeon Proliant server. rosdep Unable to locate package libfcl-0.5-dev Couldn't find any package by regex 'libfcl-0.5.dev' my last issue was because my `sources.list` was messed, up and I did a `apt-get update` and solve it, if this has any bearing.... Thanks for all the assistance. --- Edit: rosdep install --from-paths . --ignore-src --rosdistro indigo executing command [sudo -H apt-get install libfcl-0.5-dev] Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libfcl-0.5-dev E: Couldn't find any package by regex 'libfcl-0.5-dev' ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install libfcl-0.5-dev] failed Indigo Branch I think the stray period was my fingers....sorry for the confusion..... How do I verify amd64 or i386? If I remember correctly, i386. --- Edit: Here is: $ uname -a Linux hpdeb 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1 (2016-12-30) i686 GNU/Linux and: $ file /sbin/init /sbin/init: symbolic link to /lib/systemd/systemd perviosly I was running on a virtual machine and I switched to actual hardware to overcome some of the challenges with moveit and the virtMach. The system I have available for this is an HP Proliant DL360 Gen 3 with 1 Xeon 2.4GHz processor( which I believe is 2 cores and 2Gb ram only, Ubuntu 16 lts , I could not solve the video issues to this latemodel, so I shifted to Debian. I was not sure of how well this setup would work with Kinetic so I tried to play it safe, down on the earlier versions of code base, I would love to be able to run kinetic and moveit, Just am unaware if my hardware with support it. Since it looks like I have to reinstall everything, please give me your suggestions. Downloading the AMD64 version of Debian now.... AWE CRAP.......(?) $ lscpu Architecture: i686 CPU op-mode(s): 32-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 2 Core(s) per socket: 1 Socket(s): 1 Vendor ID: GenuineIntel CPU family: 15 Model: 2 Model name: Intel(R) Xeon(TM) CPU 2.40GHz Stepping: 9 CPU MHz: 2399.360 BogoMIPS: 4798.91 just verified... 32 bit only....crappp.

How to edit/compile ROS source code

$
0
0
Good afternoon, I am trying to encrypt ros logs for a project, I currently have jade installed and running on an ubuntu OS. I believe the files I need to edit are in the ros_comm packages (rosconsole and rosout cpp files) that I found on the ROS Core Stack Github page.My biggest hurdle right now that I am facing is that I am having difficulty setting up my environment that would let me compile the source code. If you know of any tutorials or information that would give me an idea of how to edit and compile sections of the source code it would be greatly appreciated. Thank you for your time, Tyler

Having trouble recompiling ROS Source / What to do when you have two versions of ROS installed?

$
0
0
Good morning, I have successfully installed ROS Indigo from source following the instructions at: http://wiki.ros.org/indigo/Installation/Source Everything works great as far as I can tell, the installation succeed without errors. I am trying to verify that I am running off of the source install rather than the installation I had on my computer previously(regular indigo v. source indigo). I attempted to test this by editing a std:cout in rosout.cpp so that I would see a change at the beginning of a log after I recompiled. It did not change though. This is how I recompiled after making the changes to rosout.cpp: ./src/catkin/bin/catkin_make_isolated --pkg rosout --force-cmake Then I ran: roscore rosrun turtlesim turtlesim_node rosrun turtlesim turtle_teleop_key to regenerate some log files. The log files did not change though which leads me to believe that I didn't compile the source code correctly, or I a not running my turtlesim example off of the source installation. Some Info: dev@dev-VirtualBox:/opt$ printenv | grep ROS ROS_ROOT=/opt/ros/indigo/share/ros ROS_PACKAGE_PATH=/opt/ros/indigo/share:/opt/ros/indigo/stacks ROS_MASTER_URI=http://localhost:11311 ROSLISP_PACKAGE_DIRECTORIES= ROS_DISTRO=indigo ROS_ETC_DIR=/opt/ros/indigo/etc/ros I am not sure how to confirm / solve those issues. Does anyone know if I should be adding something to my bashrc? Thanks!

How to source binary packages from different places?

$
0
0
Dear ROS Enthusiasts, I have a problem sourcing binary packages from multiple install directories. These are the source commands I want to work with: 1. source /opt/ros/kinetic/setup.bash 2. source /opt/ros/other/setup.bash 3. source /home/my_user/install_dir/setup.bash 4. source /home/my_user/catkin_ws/devel/setup.bash In /opt/ros/other I have the usb_cam package installed, which is still not available for kinetic. In /home/my_user/install_dir I have installed a binary version of a package, I programed myself. For some reasons, I don't want to provide the source of this package. The nodes of the package in the catkin workspace require the output of the binary package in /home/my_user/install_dir published in certain topics. As long as I don't source my binary package in /home/my_user/install_dir, everything works well. Means, the source commands 1, 2, and 4 don't interfere each other and work well in combination. I have access to packets of the ROS installation and the usb_cam packet in my catkin workspace at the same time. Unfortunately, the source commands 3 and 4 interfere with each other. Only the last of these two source commands is effective. As a result, I can't call all nodes in a single launch file and even worse I don't have access to the data types of my binary package in my catkin workspace. Since source commands 1, 2, and 4 are working well together, sourcing binary packages from multiple places is possible. Since source command 3 does not source a workspace, I should not have an effect based on cascading workspaces, right? However, I don't see any differences between the usb_cam package and my binary package, which may result in the different behavior of source commands 2 and 3. Thank you very much for your help.

try to build source moveit with source installed ompl

$
0
0
I am trying to introduce one new planner to my ompl. This is the reason that I need to install source ompl. I successfully built source ompl but failed when I tried to build moveit. Here is my reuslt of catkin build. Anybody has the similar problem? /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp: In member function ‘ompl::base::StateStoragePtr ompl_interface::ConstraintsLibrary::constructConstraintApproximation(const ModelBasedPlanningContextPtr&, const Constraints&, const Constraints&, const ompl_interface::ConstraintApproximationConstructionOptions&, ompl_interface::ConstraintApproximationConstructionResults&)’: /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:439:116: error: no matching function for call to ‘ompl::base::StateStorageWithMetadata, std::map>>>::StateStorageWithMetadata(const ModelBasedStateSpacePtr&)’ ConstraintApproximationStateStorage* cass = new ConstraintApproximationStateStorage(pcontext->getOMPLStateSpace()); ^ In file included from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:48:0, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/planning_context_manager.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/constraints_library.h:41, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:37: /opt/ros/indigo/include/ompl/base/StateStorage.h:221:13: note: candidate: ompl::base::StateStorageWithMetadata::StateStorageWithMetadata(const StateSpacePtr&) [with M = std::pair, std::map>>; ompl::base::StateSpacePtr = std::shared_ptr] StateStorageWithMetadata(const StateSpacePtr &space) : StateStorage(space) ^ /opt/ros/indigo/include/ompl/base/StateStorage.h:221:13: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘const StateSpacePtr& {aka const std::shared_ptr&}’ /opt/ros/indigo/include/ompl/base/StateStorage.h:214:15: note: candidate: ompl::base::StateStorageWithMetadata, std::map>>>::StateStorageWithMetadata(const ompl::base::StateStorageWithMetadata, std::map>>>&) class StateStorageWithMetadata : public StateStorage ^ /opt/ros/indigo/include/ompl/base/StateStorage.h:214:15: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘const ompl::base::StateStorageWithMetadata, std::map>>>&’ /opt/ros/indigo/include/ompl/base/StateStorage.h:214:15: note: candidate: ompl::base::StateStorageWithMetadata, std::map>>>::StateStorageWithMetadata(ompl::base::StateStorageWithMetadata, std::map>>>&&) /opt/ros/indigo/include/ompl/base/StateStorage.h:214:15: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘ompl::base::StateStorageWithMetadata, std::map>>>&&’ /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:471:63: error: no matching function for call to ‘ompl::base::ScopedState<>::ScopedState(const ModelBasedStateSpacePtr&)’ ompl::base::ScopedState<> temp(pcontext->getOMPLStateSpace()); ^ In file included from /opt/ros/indigo/include/ompl/base/ProblemDefinition.h:48:0, from /opt/ros/indigo/include/ompl/base/Planner.h:41, from /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:45, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/planning_context_manager.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/constraints_library.h:41, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:37: /opt/ros/indigo/include/ompl/base/ScopedState.h:124:13: note: candidate: ompl::base::ScopedState::ScopedState(ompl::base::StateSpacePtr, const ompl::base::State*) [with T = ompl::base::StateSpace; ompl::base::StateSpacePtr = std::shared_ptr] ScopedState(StateSpacePtr space, const State *state) : space_(std::move(space)) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:124:13: note: candidate expects 2 arguments, 1 provided /opt/ros/indigo/include/ompl/base/ScopedState.h:105:13: note: candidate: template ompl::base::ScopedState::ScopedState(const ompl::base::ScopedState&) ScopedState(const ScopedState&other) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:105:13: note: template argument deduction/substitution failed: /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:471:63: note: ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ is not derived from ‘const ompl::base::ScopedState’ ompl::base::ScopedState<> temp(pcontext->getOMPLStateSpace()); ^ In file included from /opt/ros/indigo/include/ompl/base/ProblemDefinition.h:48:0, from /opt/ros/indigo/include/ompl/base/Planner.h:41, from /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:45, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/planning_context_manager.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/constraints_library.h:41, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/constraints_library.cpp:37: /opt/ros/indigo/include/ompl/base/ScopedState.h:96:13: note: candidate: ompl::base::ScopedState::ScopedState(const ompl::base::ScopedState&) [with T = ompl::base::StateSpace] ScopedState(const ScopedState&other) : space_(other.getSpace()) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:96:13: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘const ompl::base::ScopedState<>&’ /opt/ros/indigo/include/ompl/base/ScopedState.h:84:22: note: candidate: ompl::base::ScopedState::ScopedState(ompl::base::StateSpacePtr) [with T = ompl::base::StateSpace; ompl::base::StateSpacePtr = std::shared_ptr] explicit ScopedState(StateSpacePtr space) : space_(std::move(space)) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:84:22: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘ompl::base::StateSpacePtr {aka std::shared_ptr}’ /opt/ros/indigo/include/ompl/base/ScopedState.h:71:22: note: candidate: ompl::base::ScopedState::ScopedState(const SpaceInformationPtr&) [with T = ompl::base::StateSpace; ompl::base::SpaceInformationPtr = std::shared_ptr] explicit ScopedState(const SpaceInformationPtr &si) : space_(si->getStateSpace()) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:71:22: note: no known conversion for argument 1 from ‘const ModelBasedStateSpacePtr {aka const boost::shared_ptr}’ to ‘const SpaceInformationPtr& {aka const std::shared_ptr&}’ /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp: In member function ‘virtual void ompl_interface::ModelBasedPlanningContext::configure()’: /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp:199:64: error: no matching function for call to ‘ompl::base::ScopedState<>::ScopedState(ompl_interface::ModelBasedStateSpacePtr&)’ ompl::base::ScopedState<> ompl_start_state(spec_.state_space_); ^ In file included from /opt/ros/indigo/include/ompl/base/ProblemDefinition.h:48:0, from /opt/ros/indigo/include/ompl/base/Planner.h:41, from /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:45, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp:37: /opt/ros/indigo/include/ompl/base/ScopedState.h:124:13: note: candidate: ompl::base::ScopedState::ScopedState(ompl::base::StateSpacePtr, const ompl::base::State*) [with T = ompl::base::StateSpace; ompl::base::StateSpacePtr = std::shared_ptr] ScopedState(StateSpacePtr space, const State *state) : space_(std::move(space)) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:124:13: note: candidate expects 2 arguments, 1 provided /opt/ros/indigo/include/ompl/base/ScopedState.h:105:13: note: candidate: template ompl::base::ScopedState::ScopedState(const ompl::base::ScopedState&) ScopedState(const ScopedState&other) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:105:13: note: template argument deduction/substitution failed: /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp:199:64: note: ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ is not derived from ‘const ompl::base::ScopedState’ ompl::base::ScopedState<> ompl_start_state(spec_.state_space_); ^ In file included from /opt/ros/indigo/include/ompl/base/ProblemDefinition.h:48:0, from /opt/ros/indigo/include/ompl/base/Planner.h:41, from /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:45, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp:37: /opt/ros/indigo/include/ompl/base/ScopedState.h:96:13: note: candidate: ompl::base::ScopedState::ScopedState(const ompl::base::ScopedState&) [with T = ompl::base::StateSpace] ScopedState(const ScopedState&other) : space_(other.getSpace()) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:96:13: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘const ompl::base::ScopedState<>&’ /opt/ros/indigo/include/ompl/base/ScopedState.h:84:22: note: candidate: ompl::base::ScopedState::ScopedState(ompl::base::StateSpacePtr) [with T = ompl::base::StateSpace; ompl::base::StateSpacePtr = std::shared_ptr] explicit ScopedState(StateSpacePtr space) : space_(std::move(space)) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:84:22: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘ompl::base::StateSpacePtr {aka std::shared_ptr}’ /opt/ros/indigo/include/ompl/base/ScopedState.h:71:22: note: candidate: ompl::base::ScopedState::ScopedState(const SpaceInformationPtr&) [with T = ompl::base::StateSpace; ompl::base::SpaceInformationPtr = std::shared_ptr] explicit ScopedState(const SpaceInformationPtr &si) : space_(si->getStateSpace()) ^ /opt/ros/indigo/include/ompl/base/ScopedState.h:71:22: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘const SpaceInformationPtr& {aka const std::shared_ptr&}’ /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/planning_context_manager.cpp: In member function ‘ompl_interface::ModelBasedPlanningContextPtr ompl_interface::PlanningContextManager::getPlanningContext(const planning_interface::PlannerConfigurationSettings&, const StateSpaceFactoryTypeSelector&, const MotionPlanRequest&) const’: /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/planning_context_manager.cpp:239:101: error: no matching function for call to ‘ompl::geometric::SimpleSetup::SimpleSetup(ompl_interface::ModelBasedStateSpacePtr&)’ context_spec.ompl_simple_setup_.reset(new ompl::geometric::SimpleSetup(context_spec.state_space_)); ^ In file included from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/model_based_planning_context.h:45:0, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/planning_context_manager.h:40, from /home/ruinian/ws_moveit/src/moveit/moveit_planners/ompl/ompl_interface/src/planning_context_manager.cpp:37: /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:70:22: note: candidate: ompl::geometric::SimpleSetup::SimpleSetup(const StateSpacePtr&) explicit SimpleSetup(const base::StateSpacePtr &space); ^ /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:70:22: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘const StateSpacePtr& {aka const std::shared_ptr&}’ /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:67:22: note: candidate: ompl::geometric::SimpleSetup::SimpleSetup(const SpaceInformationPtr&) explicit SimpleSetup(const base::SpaceInformationPtr &si); ^ /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:67:22: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘const SpaceInformationPtr& {aka const std::shared_ptr&}’ /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:63:15: note: candidate: ompl::geometric::SimpleSetup::SimpleSetup(const ompl::geometric::SimpleSetup&) class SimpleSetup ^ /opt/ros/indigo/include/ompl/geometric/SimpleSetup.h:63:15: note: no known conversion for argument 1 from ‘ompl_interface::ModelBasedStateSpacePtr {aka boost::shared_ptr}’ to ‘const ompl::geometric::SimpleSetup&’ make[2]: *** [ompl_interface/CMakeFiles/moveit_ompl_interface.dir/src/constraints_library.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [ompl_interface/CMakeFiles/moveit_ompl_interface.dir/src/model_based_planning_context.cpp.o] Error 1 make[2]: *** [ompl_interface/CMakeFiles/moveit_ompl_interface.dir/src/planning_context_manager.cpp.o] Error 1 make[1]: *** [ompl_interface/CMakeFiles/moveit_ompl_interface.dir/all] Error 2 make: *** [all] Error 2

source won't change the package path

$
0
0
Hi, I'm trying to run the pcl tutorial, since i need it for an university project. Unfortunately when I try to run the exaple arnold@arnold-UX31E:~/catkin_ws$ rosrun my_pcl_tutorial example input:=/camera/depth/points I get the error back: > [rosrun] Couldn't find executable named example below /home/arnold/catkin_ws/src/my_pcl_tutorial The executable crated with `catkin_make` is in the build folder, not in src (this seams to be correct). But `rosrun` trys to run it from the src folder. A little research came to the conclusion that it isn't sourced right. When I run `arnold@arnold-UX31E:~/catkin_ws$ source devel/setup.sh` I get no response (no error or approval) and nothing changes. I already deleted the workspace 3 times and just followed the instructions from this Tutorials. http://wiki.ros.org/catkin/Tutorials/create_a_workspace and http://wiki.ros.org/pcl/Tutorials Running Ros Indigo under Ubuntu 14.04 LTS

New terminal 'can't create temp file' no such file or directory?

$
0
0
I'm not sure if this is actually a problem or not, but when I create a new terminal I am warned that /opt/ros/lunar/etc/catkin/profile.d/10.ros.sh:12: can't create temp file for here document: no such file or directory /opt/ros/lunar/etc/catkin/profile.d/99.roslisp.sh:4: can't create temp file for here document: no such file or directory /etc/zsh/zshrc:439: can't create temp file for here document : no such file or directory These are all to do with file creation, and I assume it's a permissions error I created an empty catkin_ws and did a `catkin_make` but it doesn't seem to have done anything. I'm running `Debian Stretch (9.0)`, `ROS Lunar`, `zsh` (I source the `setup.bash` in my .bashrc and the equivalent `setup.zsh` my zshrc.pre) When I installed I followed the instructions to do `sudo rosdep init` then `rosdep update` without the sudo. Opening up a new bash shell I get no errors and the environment variable`ROS_PACKAGE_PATH` is populated, whereas using zsh the variable exists but has no value. Any suggestions? I feel like I need to change the ownership of something...

Where are the cturtle package sources now?

$
0
0
Hi, I need to re-compile the *cturtle* sources to provide a *rosnode* for an old machine. I am using *UBUNTU 10-04*. For my target hardware I want to use a statically linked binary, so I need to recompile. The following command fails: `rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no" ERROR in config: Unable to download URL [http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no]: HTTP Error 404: Not Found` I learned that `gen_rosinstall` is out of production. Question: Is there another way to get the sources for *cturtle*, maybe a mirror of the old installation somewhere? I looked for it but was unable to find it yet. Thanks Uwe

Ubuntu Xenial 16.04 Source Install

$
0
0
I am doing a clean install of ROS Kinetic on Ubuntu 16.04 Running the following command from the installation page: > ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release CMakes some packages correctly, but as soon as Boost gets involved I get compilation errors. ==> Processing catkin package: 'class_loader' ==> Building with env: '/home/dh/install_isolated/env.sh' ==> cmake /home/dh/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/dh/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/dh/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/dh/build_isolated/class_loader' CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): Imported targets not available for Boost version Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:4 (find_package) CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): Imported targets not available for Boost version Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:4 (find_package) CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message): Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:4 (find_package) -- Using CATKIN_DEVEL_PREFIX: /home/dh/devel_isolated/class_loader -- Using CMAKE_PREFIX_PATH: /home/dh/install_isolated -- This workspace overlays: /home/dh/install_isolated -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/dh/build_isolated/class_loader/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- nosetests not found, Python tests can not be run (try installing package 'python-nose') -- catkin 0.7.6 CMake Error at CMakeLists.txt:11 (find_package): By not providing "Findconsole_bridge.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "console_bridge", but CMake did not find one. Could not find a package configuration file provided by "console_bridge" with any of the following names: console_bridgeConfig.cmake console_bridge-config.cmake Add the installation prefix of "console_bridge" to CMAKE_PREFIX_PATH or set "console_bridge_DIR" to a directory containing one of the above files. If "console_bridge" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/dh/build_isolated/class_loader/CMakeFiles/CMakeOutput.log". See also "/home/dh/build_isolated/class_loader/CMakeFiles/CMakeError.log". <== Failed to process package 'class_loader': Command '['/home/dh/install_isolated/env.sh', 'cmake', '/home/dh/src/class_loader', '-DCATKIN_DEVEL_PREFIX=/home/dh/devel_isolated/class_loader', '-DCMAKE_INSTALL_PREFIX=/home/dh/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1 Reproduce this error by running: ==> cd /home/dh/build_isolated/class_loader && /home/dh/install_isolated/env.sh cmake /home/dh/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/dh/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/dh/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' Command failed, exiting. One would think this would be easy to fix since I am installing on a clean system. However, I don't have any clue what is happening and how to resolve this error.

Errors occur when installing moveit from source

$
0
0
Hello, I downloaded the source of moveit according to[link text](http://moveit.ros.org/install/source/) (my ros version is indigo). When i used `catkin build` to compile the codes, some errors occurred ![image description](http://) . And i have installed the one of three dependencies, OMPL, and compiling is completed. Do you have any idea about the errors and should i install the rest 2 dependencies? Errors << moveit_ros_warehouse:make /home/aicrobo/depend/logs/moveit_ros_warehouse/build.make.005.log /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `std::string mongo::integerToHex(int)' /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::~LogstreamBuilder()' /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::LogstreamBuilder(mongo::logger::LogDomain*, std::string const&, mongo::logger::LogSeverity)' /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::globalLogManager()' /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::makeStream()' /home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::invariantFailed(char const*, char const*, unsigned int)' collect2: error: ld returned 1 exit status make[2]: *** [/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/moveit_ros_warehouse/moveit_init_demo_warehouse] Error 1 make[1]: *** [warehouse/CMakeFiles/moveit_init_demo_warehouse.dir/all] Error 2 make: *** [all] Error 2

undefined reference to log4cxx

$
0
0
Hi , I'm compiling ROS source of indigo, with `clang3.9 , libc++ and c++11`. I compile perfectly until I get to the `rosout`package. I get this errors: /home/ubuntu/ros_catkin_ws/install_isolated/lib/librosconsole_log4cxx.so: undefined reference to `log4cxx::spi::LocationInfo::getMethodName() const' /home/ubuntu/ros_catkin_ws/install_isolated/lib/librosconsole_log4cxx.so: undefined reference to `log4cxx::Logger::getLogger(std::__1::basic_string, std::__1::allocator> const&)' /home/ubuntu/ros_catkin_ws/install_isolated/lib/librosconsole_log4cxx.so: undefined reference to `log4cxx::File::File(std::__1::basic_string, std::__1::allocator> const&)' /home/ubuntu/ros_catkin_ws/install_isolated/lib/librosconsole_log4cxx.so: undefined reference to `log4cxx::Logger::forcedLog(log4cxx::helpers::ObjectPtrT const&, std::__1::basic_string, std::__1::allocator> const&, log4cxx::spi::LocationInfo const&) const' /home/ubuntu/ros_catkin_ws/install_isolated/lib/librosconsole_log4cxx.so: undefined reference to `log4cxx::AppenderSkeleton::setOption(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&)' clang: error: linker command failed with exit code 1 (use -v to see invocation) I have checked that the library is installed and the simbols are inside. The thing is the library `log4cxx`seems to be compiled for stdlibc++. Does anyone have any clue on how to fix this? Is there any susbstitute for log4cxx compatible with libc++? Thanks a lot in advance

How do i get ros_lib and roscpp source files?

$
0
0
Hi, i want to implement roscpp to my C++ project to communicate to ROS via TCP. (microcontroller programmed in C++) Here is a little background: Some time ago i used rosserial_client on my C++ project. To get rosserial_client source files (.h and .cpp) to my project what i did before was doing this in terminal on ROS indigo : rosrun rosserial_client make_libraries And it got me a nice folder named "ros_lib" containing everything i needed to port rosserial_client to my project. Worked out fine. (.h and .cpp files) But now i want to use roscpp in my project, to use tcp communication with tcp sockets (i think i need to use transport.h). And i cannot figure out how to get roscpp and roscpp dependencies source files (.h and .cpp) to a single folder with everything working. I tried to get roscpp from Github then doing a catkin_make on it, but could'nt find something useable after all. How do i get ros_lib and roscpp source files (in a single folder, with everything working) to port to my C++ project? Thank you!

pr2 cannot install pr2_robot

$
0
0
While debugging audio drivers on the pr2 robot the package `pr2_robot` was unintentionally uninstalled. I cannot seem to install `ros-indigo-pr2-robot` again. `pr2_robot` is also a dependency for `pr2-core` which needs to be reinstalled. I followed the instructions here. http://www.clearpathrobotics.com/assets/guides/pr2/UpdatingSourcesList.html and here http://www.clearpathrobotics.com/assets/guides/pr2/InstallingPR2Trusty.html The problem being the prior Clearpath server is no longer available as far as I can tell http://clearpathrobotics.com/pr2-packages/ubuntu ec2-52-37-150-147.us-west-2.compute.amazonaws.com/ I emailed Clearpath for a replacement location and they replied with this url http://52.35.195.135/ http://ec2-52-35-195-135.us-west-2.compute.amazonaws.com/ I tired to get the key via this command sudo wget http://ec2-52-35-195-135.us-west-2.compute.amazonaws.com/ubuntu/pr2packages.gpg | sudo apt-key add and then updated my source list to look like this deb http://ec2-52-35-195-135.us-west-2.compute.amazonaws.com/ubuntu trusty pr2 deb http://ec2-52-35-195-135.us-west-2.compute.amazonaws.com/ubuntu trusty main This includes many of the pr2 debs but does not include the install for ros-indigo-pr2-robot. I still get this result sudo apt-get update sudo apt-get install ros-indigo-pr2-robot Reading package lists... Done Building dependency tree Reading state information... Done Package ros-indigo-pr2-robot is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'ros-indigo-pr2-robot' has no installation candidate Is there anther location I am missing that needs to be added to my source lists or a way to manually install `ros-indigo-pr2-robot` so that `pr2-core` can be installed? Please let me know any additional information that may help. Thanks for any assistance.

How to source ROS Kinetic in Ubuntu Core via ssh?

$
0
0
Hi everyone, I am having a small issue sourcing ROS kinectic in my Raspberry PI 3(OS: Ubuntu Core). Every time I want to use ROS i have to use the command `source /opt/ros/kinetic/setup.bash` and then I can use ROS commands like `roscore`. But I want to source ROS kinectic in the bash file. I have tried `sudo nano ~/.bashrc` but doesnt source ROS automatically. Is there another way to source it in the bash file? Thank you

Can I remove the source of ROS after installing

$
0
0
I've installed the ROS1 from source and I got four directories: `build_isolated`, `devel_isolated`, `install_isolated` and `src`. I'm developing a project based on ROS1 so I think I only need the lib files of ROS so I removed the `build_isolated` and `devel_isolated` ( https://answers.ros.org/question/287969/can-i-remove-build-and-devel-folders/). I'm thinking if I can remove the `src` directory, which contains all of source codes of ROS1? I found some third-party packages in `src`, such as `opencv3` etc, I'm not sure if I can remove the `src` or not.

Building ROS Navigation from source on Kinetic results in hang

$
0
0
I've been having issues with building ROS navigation from source on Kinetic, with catkin_make simply hanging at 100% until I hit control-c. I've installed all dependencies through rosdep, cloned the latest source code from the kinetic-devel branch, and tried to use the verbose flag (showed no new helpful info), and the release flag. Below is the output when I hit control-c. I've tried removing the navigation stack and installing the compiled version thorough apt-get which works, but I want to edit and debug the source which leaves this as the only option. Any help or advice would be greatly appreciated. ^Cmake[2]: *** Deleting file '/home/aswerdlow/catkin_ws/devel/lib/costmap_2d/costmap_2d_markers' make[2]: *** wait: No child processes. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: *** wait: No child processes. Stop. make[2]: *** Deleting file '/home/aswerdlow/catkin_ws/devel/lib/costmap_2d/costmap_2d_cloud' make[2]: *** wait: No child processes. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: *** wait: No child processes. Stop. Traceback (most recent call last): File "/opt/ros/kinetic/bin/catkin_make", line 296, in sys.exit(main()) File "/opt/ros/kinetic/bin/catkin_make", line 240, in main run_command(cmd, make_path) File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 239, in run_command CMakeFiles/Makefile2:13132: recipe for target 'f1tenth/navigation/costmap_2d/CMakeFiles/costmap_2d_markers.dir/all' failed make[1]: *** [f1tenth/navigation/costmap_2d/CMakeFiles/costmap_2d_markers.dir/all] Error 2 make[1]: *** wait: No child processes. Stop. make[1]: *** Waiting for unfinished jobs.... make[1]: *** wait: No child processes. Stop. Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 proc.wait() File "/usr/lib/python2.7/subprocess.py", line 1392, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call return func(*args) KeyboardInterrupt

Unable to build catkin workspace; python-rosdep, no module terminal_color

$
0
0
Hi guys, I'm running into an error when installing ROS (melodic) on Ubuntu (18.04). As I have absolutely no experience with UNIX, I don't really know what's going on or how to fix it. I'm following these instructions: [melodic installation from source](http://wiki.ros.org/melodic/Installation/Source "Installing from source") Everything worked up to point *2.1.1 Resolving Dependencies*. Doing this step (again), I get the info: ~/ros_catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro melodic -y executing command [sudo -H apt-get install -y python-rosdep] Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python-rosdep2' instead of 'python-rosdep' python-rosdep2 is already the newest version (0.11.8-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ERROR: the following rosdeps failed to install apt: Failed to detect successful installation of [python-rosdep] Then I proceed with the installation tutorial trying to build the catkin workspace: ~/ros_catkin_ws$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release Traceback (most recent call last): File "./src/catkin/bin/catkin_make_isolated", line 12, in from catkin.builder import build_workspace_isolated File "./src/catkin/bin/../python/catkin/builder.py", line 66, in from catkin_pkg.terminal_color import ansi, disable_ANSI_colors, fmt, sanitize ImportError: No module named terminal_color This is my Ubuntu release: ~/ros_catkin_ws$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 If you need any additional info, please ask and tell me how to get them. While searching for my issue, I came accross [this ROS Answer](https://answers.ros.org/question/294146/importerror-when-running-catkin_make_isolated/ "ImportError when running catkin_make_isolated"), but I don't see how this should help me fix the problem. Thanks, André

roslaunch doesn't register with catkin_make but does with catkin_make install?

$
0
0
Hi, When I make my workspace with catkin_make and then source my workspace with source devel/setup.bash roslaunch can't recognise any of my packages with the tab function but if i type out the full command such as roslaunch xsens_driver xsens_driver.launch however when I run catkin_make install and then source install/setup.bash my packages are there for me. Why is this occurring because it never use to occur and now when I try to follow someone else package it causes problems? Thanks in advance for any help on this issue :) This problem has caused me to develop a hatred for launch files.
Viewing all 85 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>