learning_ros_noetic's People
Forkers
frank-qcd-qk rojas70 renpengxin mellongroup axn337 matmill5 mfkenson connorleung zhangxianzhang lightraing cwru-eecs-275 arslan-z chenertao zhijunlian lianzhijun880917learning_ros_noetic's Issues
undefined reference to `ExampleRosClass::ExampleRosClass(ros::NodeHandle*)'
Hello sir,
I am studying the section "using_a_ros_library", when I compile my package it gives me this error:
CMakeFiles/ros_class_test_node.dir/src/example_ros_class_test_main.cpp.o: In function `main':
example_ros_class_test_main.cpp:(.text+0x256): undefined reference to `ExampleRosClass::ExampleRosClass(ros::NodeHandle*)'
collect2: error: ld returned 1 exit status
using_a_ros_library/CMakeFiles/ros_class_test_node.dir/build.make:112: recipe for target '/home/ibrrahim/catkin_workspaces/learning_ros_ws/devel/lib/using_a_ros_library/ros_class_test_node' failed
make[2]: *** [/home/ibrrahim/catkin_workspaces/learning_ros_ws/devel/lib/using_a_ros_library/ros_class_test_node] Error 1
CMakeFiles/Makefile2:3035: recipe for target 'using_a_ros_library/CMakeFiles/ros_class_test_node.dir/all' failed
make[1]: *** [using_a_ros_library/CMakeFiles/ros_class_test_node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
My CMakeLists.txt file contents are:
cmake_minimum_required(VERSION 3.0.2)
project(using_a_ros_library)
find_package(catkin REQUIRED COMPONENTS
creating_a_ros_library
roscpp
std_msgs
std_srvs
)
catkin_package(
# INCLUDE_DIRS include
LIBRARIES example_ros_library
CATKIN_DEPENDS creating_a_ros_library roscpp std_msgs std_srvs
#DEPENDS system_lib
)
###########
## Build ##
###########
include_directories(
#include
${catkin_INCLUDE_DIRS}
${creating_a_ros_library}
)
add_executable(ros_class_test_node src/example_ros_class_test_main.cpp)
target_link_libraries(ros_class_test_node ${catkin_LIBRARIES})
Please note that I am not using catkin simple package. Any advice will be highly appreciated.
Thank you
baxter_sim_kinematics pointer conversion and operator= errors...
When doing catkin_make on ../learning_ros_external_packages_noetic/baxter_simulator/baxter_sim_kinematics
We get a couple of errors involving: pointer conversion error and no operator= definition
Scanning dependencies of target baxter_sim_kinematics
[ 70%] Built target gazebo_ros_tricycle_drive
Scanning dependencies of target robotiq_s_model_articulated_msgs_gencpp
[ 70%] Building CXX object books/wsnewman/learning_ros_external_pkgs_noetic/baxter_simulator/baxter_sim_kinematics/CMakeFiles/baxter_sim_kinematics.dir/src/arm_kinematics.cpp.o
[ 70%] Built target robotiq_s_model_articulated_msgs_gencpp
Scanning dependencies of target ros_library_external_test_main
[ 70%] Building CXX object books/wsnewman/learning_ros_noetic/Part_1/using_a_ros_library/CMakeFiles/ros_library_external_test_main.dir/src/example_ros_class_test_main.cpp.o
[ 70%] Built target turtlesim_generate_messages_eus
[ 70%] Linking CXX executable /media/vmrguser/sdd/ros/noetic/ros_ws/devel/lib/using_a_ros_library/ros_library_external_test_main
[ 70%] Built target ros_library_external_test_main
/media/vmrguser/sdd/ros/noetic/ros_ws/src/books/wsnewman/learning_ros_external_pkgs_noetic/baxter_simulator/baxter_sim_kinematics/src/arm_kinematics.cpp: In member function ‘bool arm_kinematics::Kinematics::readJoints(urdf::Model&)’:
/media/vmrguser/sdd/ros/noetic/ros_ws/src/books/wsnewman/learning_ros_external_pkgs_noetic/baxter_simulator/baxter_sim_kinematics/src/arm_kinematics.cpp:267:65: error: conversion from ‘urdf::LinkConstSharedPtr’ {aka ‘std::shared_ptr<const urdf::Link>’} to non-scalar type ‘boost::shared_ptr<const urdf::Link>’ requested
267 | boost::shared_ptr<const urdf::Link> link = robot_model.getLink(tip_name);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/media/vmrguser/sdd/ros/noetic/ros_ws/src/books/wsnewman/learning_ros_external_pkgs_noetic/baxter_simulator/baxter_sim_kinematics/src/arm_kinematics.cpp:276:60: error: no match for ‘operator=’ (operand types are ‘boost::shared_ptr<const urdf::Joint>’ and ‘urdf::JointConstSharedPtr’ {aka ‘std::shared_ptr<const urdf::Joint>’})
276 | joint = robot_model.getJoint(link->parent_joint->name);
| ^
In file included from /usr/include/boost/shared_ptr.hpp:17,
from /opt/ros/noetic/include/ros/forwards.h:37,
from /opt/ros/noetic/include/ros/common.h:37,
from /opt/ros/noetic/include/ros/ros.h:43,
from /media/vmrguser/sdd/ros/noetic/ros_ws/src/books/wsnewman/learning_ros_external_pkgs_noetic/baxter_simulator/baxter_sim_kinematics/src/arm_kinematics.cpp:35:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = const urdf::Joint]’
error: unknown switch `r'
Cannot clone learning_ros_external_packages_noetic package. If I clone without the -r argument then I need to authenticate in order to clone.
Is there any other command for cloning instead of git clone -r https://github.com/wsnewman/learning_ros_external_packages_noetic.git
?
stdr_simulator
Hi, I know stdr_simulator is an external dependency but I was wondering if you had managed to solve the errors that I opened on this issue:
stdr-simulator-ros-pkg/stdr_simulator#208
Please let me know
Mobile manipulation example
I tried to run Mobile manipulation example by following part 6/coordinator
roslaunch baxter_variations baxter_on_mobot.launch AND roslaunch coordinator command_bundler.launch
there are many warning message, and it did not work.
ROS: noetic
rviz_plugin_selected_points
Hi,
I know that this plugin had been broken in noetic. I was wondering if anyone might have fixed it.
Currently in trying to run it, one gets the following error message:
PluginlibFactory: The plugin for class 'rviz_plugin_selected_points_topic/PublishSelectedPoints' failed to load. Error: According to the loaded plugin descriptions the class rviz_plugin_selected_points_topic/PublishSelectedPoints with base class type rviz::Tool does not exist. Declared types are rviz/FocusCamera rviz/Interact rviz/Measure rviz/MoveCamera rviz/PublishPoint rviz/Select rviz/SetGoal rviz/SetInitialPose rviz_plugin_tutorials/PlantFlag
pcl_utilities dependencies with vtk not quite right
Getting a number of errors here as follows:
-- +++ processing catkin package: 'pcl_utils'
-- ==> add_subdirectory(books/wsnewman/learning_ros_noetic/Part_3/pcl_utils)
-- Eigen found (include: /usr/include/eigen3, version: 3.3.7)
-- Found Boost: /usr/include (found suitable version "1.71.0", minimum required is "1.55.0") found components: system filesystem date_time iostreams regex
-- The imported target "vtkParseOGLExt" references the file
"/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "pvtk" references the file
"/usr/bin/pvtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
Already installed vtk7 as sudo apt-get install vtk7
but not enough.
libprotobuf not found for object_grabber/coordinator
When compiling Part5/object_grabber, the following error shows up in relation to catkin_simple and the object_grabber package:
CMake Error at /media/vmrguser/sdd/ros/noetic/ros_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:135 (target_link_libraries):
Error evaluating generator expression:
$<TARGET_PROPERTY:ignition-common3::ignition-common3,INTERFACE_INCLUDE_DIRECTORIES>
Target "ignition-common3::ignition-common3" not found.
Call Stack (most recent call first):
books/wsnewman/learning_ros_noetic/Part_5/object_grabber/CMakeLists.txt:38 (cs_add_executable)
CMake Error:
Error evaluating generator expression:
$<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>
Target "protobuf::libprotobuf" not found.
CMake Error:
Error evaluating generator expression:
$<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>
Target "protobuf::libprotobuf" not found.
CMake Error:
Error evaluating generator expression:
$<TARGET_PROPERTY:ignition-common3::ignition-common3,INTERFACE_INCLUDE_DIRECTORIES>
Target "ignition-common3::ignition-common3" not found.
CMake Error:
Error evaluating generator expression:
$<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>
Target "protobuf::libprotobuf" not found.
....
....
Iginition-common3 is installed as sudo apt-get install ignition-common3
and can be found at /usr/lib/x86_64-linux-gnu
.
Any clues how to fix?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.