2021-03-04 13:46:49 -0500 | received badge | ● Self-Learner
(source)
|
2021-03-04 13:46:49 -0500 | received badge | ● Teacher
(source)
|
2017-10-23 18:46:41 -0500 | received badge | ● Famous Question
(source)
|
2016-12-14 09:44:48 -0500 | received badge | ● Notable Question
(source)
|
2016-11-23 03:20:35 -0500 | received badge | ● Enthusiast
|
2016-11-19 08:59:33 -0500 | commented answer | When I try to do a client of a service of ROS, Matlab and ROS give me an error! I recompiled using make. Thanks a lot :) |
2016-11-15 01:05:29 -0500 | received badge | ● Popular Question
(source)
|
2016-10-18 15:50:50 -0500 | answered a question | md5sum issue when calling a service from another computer Maybe the answer given by lucasw would have worked. I solved the problem by typing 'make' in the command line in the directory catkin_ws/build/<package_name> |
2016-10-18 11:00:28 -0500 | asked a question | md5sum issue when calling a service from another computer I am running ROS on two computers. The master and it is the one requesting the service. The other is the one to which my robot is connected, and the one providing the service I wish to use (move the robot to a point). When I try to request the service, the following error shows: unable to connect to service: remote error reported: client wants service /enhance/MoveRobotToPoint to have md5sum 78ad5397dff8517113a4ce521add09a7, but it has 3b74f5e1707ea77798238c7e929349b7. Dropping connection.
Then, I noticed that the .srv files in the machines were different. By running the command rossrv md5 MoveRobotToPoint
I noticed that the md5sum was indeed 78ad5397dff8517113a4ce521add09a7 on the ROS Master and 3b74f5e1707ea77798238c7e929349b7 on the server.
So, I changed the files so they were the same (and then built the workspace again, sourced devel/setup.bash and restarted the computer). The error still occurs! However, with the above command, I get for both machines 78ad5397dff8517113a4ce521add09a7 . So, I am pretty sure the md5sum is correct. Could it be that somehow the service still "thinks" that the .srv file is the old one? How can I force him to update? I even deleted the hidden ~/MoveRobotToPoint.srv backup file. Thank you in advance. |
2016-10-18 10:34:52 -0500 | commented answer | When I try to do a client of a service of ROS, Matlab and ROS give me an error! After changing, still does not work. I am not interfacing MATLAB and ROS, I am using ROS across two different machines. It's weird, because if I run the command rossrv md5 <my.srv>, the output is exactly the same in both the computers. But when I try to use the server, the error still appears |
2016-10-18 08:14:30 -0500 | commented answer | When I try to do a client of a service of ROS, Matlab and ROS give me an error! How do you update the md5sum? I am having the same problem. |
2016-09-16 10:19:40 -0500 | asked a question | Undefined reference when building workspace Hello, I have already checked several questions regarding this issue, but I cannot find the solution to my problem. When I enter the command catkin_make , it starts building my workspace but gets stuck and outputs the error: `[ 95%] Building CXX object gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/camera_synchronizer.dir/src/camera_synchronizer.cpp.o`
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o: In function `UR10Controller::moveForwardOrBackward(bool)':
UR10Controller.cpp:(.text+0xbd5): undefined reference to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const'
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o: In function `UR10Controller::moveToPoint(workspaceCoordinates, bool)':
UR10Controller.cpp:(.text+0x11ec): undefined reference to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const'
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o: In function `UR10Controller::moveToIdlePosNonRestricted()':
UR10Controller.cpp:(.text+0x1750): undefined reference to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const'
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o: In function `UR10Controller::moveRobotToCleanBrush()':
UR10Controller.cpp:(.text+0x1e72): undefined reference to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const'
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o: In function `UR10Controller::moveRobotToColour(int)':
UR10Controller.cpp:(.text+0x2560): undefined reference to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const'
CMakeFiles/UR10EyePainting.dir/src/UR10Controller.cpp.o:UR10Controller.cpp:(.text+0x2a47): more undefined references to `trajectory_processing::IterativeParabolicTimeParameterization::computeTimeStamps(robot_trajectory::RobotTrajectory&, double) const' follow
collect2: error: ld returned 1 exit status
make[2]: *** [/home/sd2314/catkin_ws/devel/lib/ur10_eye_painting/UR10EyePainting] Error 1
make[1]: *** [universal_robot/ur10_eye_painting/CMakeFiles/UR10EyePainting.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable /home/sd2314/catkin_ws/devel/lib/gazebo_plugins/camera_synchronizer
[ 95%] Built target camera_synchronizer
Linking CXX shared library /home/sd2314/catkin_ws/devel/lib/libgazebo_ros_camera_utils.so
[ 95%] Built target gazebo_ros_camera_utils
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
I already confirmed that in the CMakeLists.txt I have the libraries linked, as you can see below: cmake_minimum_required(VERSION 2.8.3)
project(ur10_eye_control)
find_package(catkin REQUIRED COMPONENTS
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
pluginlib
cmake_modules
)
find_package(Boost REQUIRED system filesystem date_time thread)
find_package(Eigen REQUIRED)
include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS})
catkin_package(
INCLUDE_DIRS include
# LIBRARIES ur10_eye_control
CATKIN_DEPENDS
moveit_core
moveit_ros_planning_interface
interactive_markers
# DEPENDS system_lib
)
include_directories(include
src)
add_executable(UR10EyeControl src/UR10EyeControl.cpp
src/DataFlowController.cpp
src/UR10Controller.cpp
src/EyeDataServer.cpp
src/Subject.cpp
src/DataAnalysis.cpp
include/Observer.h
include/DataAnalysis.h
include/EyeDataServer.h
include/Subject.h
include/ErrorCodes.h
include/DataTypes.h
include/UR10Controller.h
include/UR10Control.h
include/DataFlowController.h)
target_link_libraries(UR10EyeControl ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS UR10EyeControl DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
Maybe the library linking is not well done? I have been banging my head on the walls with this for quite some time now. |