HI,
well compiling worked fine bevor. adding the new massage brics_actuator/JointPositions to the message.text produces this error.
So if there is no poison message, why did he find it bevor.
I tried again and I souced the project.
after sourcing the project itself. I get this message, that differs
Code: Select all
catkin build
------------------------------------------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/hydro
Workspace: /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws
Source Space: [exists] /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src
Build Space: [exists] /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build
Devel Space: [exists] /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/devel
Install Space: [missing] /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/install
DESTDIR: None
------------------------------------------------------------------------------------------------
Isolate Develspaces: False
Install Packages: False
Isolate Installs: False
------------------------------------------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
------------------------------------------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
------------------------------------------------------------------------------------------------
Workspace configuration appears valid.
------------------------------------------------------------------------------------------------
Found '7' packages in 0.0 seconds.
Starting ==> towerROSHanoi
Starting ==> vrep_common
Starting ==> vrep_joy
Finished <== towerROSHanoi [ 0.5 seconds ]
Starting ==> vrep_ros_interface
Finished <== vrep_joy [ 0.8 seconds ]
Starting ==> vrep_skeleton_msg_and_srv
Finished <== vrep_common [ 1.0 seconds ]
Starting ==> vrep_plugin
Finished <== vrep_skeleton_msg_and_srv [ 0.7 seconds ]
Starting ==> vrep_plugin_skeleton
[vrep_ros_interface] ==> '/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make --jobserver-fds=5,7 -j' in '/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface'
[ 0%] Built target tf2_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target roscpp_generate_messages_py
[ 0%] Built target roscpp_generate_messages_lisp
[ 0%] Built target roscpp_generate_messages_cpp
[ 0%] Built target tf_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_cpp
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target tf_generate_messages_py
[ 0%] Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target rosgraph_msgs_generate_messages_cpp
[ 0%] Built target tf2_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target tf_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target tf2_msgs_generate_messages_cpp
[ 0%] Built target actionlib_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_py
[ 0%] [ 0%] Built target geometry_msgs_generate_messages_cpp
Built target actionlib_msgs_generate_messages_cpp
[ 0%] [ 0%] Built target geometry_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
[ 0%] [ 0%] Built target actionlib_msgs_generate_messages_lisp
Built target actionlib_msgs_generate_messages_py
Scanning dependencies of target v_repExtRosInterface
[ 14%] Building CXX object CMakeFiles/v_repExtRosInterface.dir/src/vrep_ros_interface.cpp.o
[ 28%] Building CXX object CMakeFiles/v_repExtRosInterface.dir/src/stubs.cpp.o
In file included from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/include/vrep_ros_interface.h:108:0,
from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:1:
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.h:1:0: error: unterminated #ifndef
In file included from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/include/vrep_ros_interface.h:109:0,
from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:1:
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/generated/ros_srv_io.h:1:0: error: unterminated #ifndef
[ 42%] Building CXX object CMakeFiles/v_repExtRosInterface.dir/src/ros_msg_builtin_io.cpp.o
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp: In function void sendTransform(SScriptCallBack*, const char*, sendTransform_in*, sendTransform_out*):
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:318:57: error: read__geometry_msgs__TransformStamped was not declared in this scope
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp: In function void sendTransforms(SScriptCallBack*, const char*, sendTransforms_in*, sendTransforms_out*):
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:340:61: error: read__geometry_msgs__TransformStamped was not declared in this scope
make[2]: *** [CMakeFiles/v_repExtRosInterface.dir/src/vrep_ros_interface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/v_repExtRosInterface.dir/all] Error 2
make: *** [all] Error 2
[vrep_ros_interface] <== '/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make --jobserver-fds=5,7 -j' failed with return code '2'
Failed <== vrep_ros_interface [ 5.6 seconds ]
Finished <== vrep_plugin_skeleton [ 11.6 seconds ]
Finished <== vrep_plugin [ 33.5 seconds ]
[build] There were '1' errors:
Failed to build package 'vrep_ros_interface' because the following command:
# Command to reproduce:
cd /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface && /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make --jobserver-fds=5,7 -j; cd -
# Path to log:
cat /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/build_logs/vrep_ros_interface.log
Exited with return code: 2
[build] Runtime: 34.6 seconds
log
Code: Select all
[[36mvrep_ros_interface[0m] [1m[34m==>[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make cmake_check_build_system[0m' [30m[1min[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface[0m'[0m
[[36mvrep_ros_interface[0m] [32m<==[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make cmake_check_build_system[0m' finished with return code '[1m0[0m'[0m
[[36mvrep_ros_interface[0m] [1m[34m==>[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make --jobserver-fds=5,7 -j[0m' [30m[1min[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface[0m'[0m
[ 0%] Built target tf2_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target roscpp_generate_messages_py
[ 0%] Built target roscpp_generate_messages_lisp
[ 0%] Built target roscpp_generate_messages_cpp
[ 0%] Built target tf_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_cpp
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target tf_generate_messages_py
[ 0%] Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target rosgraph_msgs_generate_messages_cpp
[ 0%] Built target tf2_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target tf_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target tf2_msgs_generate_messages_cpp
[ 0%] Built target actionlib_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_py
[ 0%] [ 0%] Built target geometry_msgs_generate_messages_cpp
Built target actionlib_msgs_generate_messages_cpp
[ 0%] [ 0%] Built target geometry_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
[ 0%] [ 0%] Built target actionlib_msgs_generate_messages_lisp
Built target actionlib_msgs_generate_messages_py
[35m[1mScanning dependencies of target v_repExtRosInterface
[0m[ 14%] [32mBuilding CXX object CMakeFiles/v_repExtRosInterface.dir/src/vrep_ros_interface.cpp.o
[0m[ 28%] [32mBuilding CXX object CMakeFiles/v_repExtRosInterface.dir/src/stubs.cpp.o
[0mIn file included from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/include/vrep_ros_interface.h:108:0,
from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:1:
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.h:1:0: error: unterminated #ifndef
In file included from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/include/vrep_ros_interface.h:109:0,
from /home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:1:
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/generated/ros_srv_io.h:1:0: error: unterminated #ifndef
[ 42%] [32mBuilding CXX object CMakeFiles/v_repExtRosInterface.dir/src/ros_msg_builtin_io.cpp.o
[0m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp: In function void sendTransform(SScriptCallBack*, const char*, sendTransform_in*, sendTransform_out*):
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:318:57: error: read__geometry_msgs__TransformStamped was not declared in this scope
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp: In function void sendTransforms(SScriptCallBack*, const char*, sendTransforms_in*, sendTransforms_out*):
/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/src/v_repExtRosInterface/src/vrep_ros_interface.cpp:340:61: error: read__geometry_msgs__TransformStamped was not declared in this scope
make[2]: *** [CMakeFiles/v_repExtRosInterface.dir/src/vrep_ros_interface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/v_repExtRosInterface.dir/all] Error 2
make: *** [all] Error 2
[[36mvrep_ros_interface[0m] [1m[31m<==[0m '[1m/home/youbot/Simulation_Examples/towerOfHanoi_ROS/catkin_ws/build/vrep_ros_interface/build_env.sh /usr/bin/make --jobserver-fds=5,7 -j[0m' [31mfailed with return code[0m '[1m2[0m'[0m
But after catkin clean -a and recompilation. I get the poision message again
==== edit
fferri wrote:Elmo wrote:HI,
well compiling worked fine bevor. adding the new massage brics_actuator/JointPositions to the message.text produces this error.
So if there is no poison message, why did he find it bevor.
Poison is a field of the JointPositions message:
http://docs.ros.org/hydro/api/brics_act ... tions.html
If you open a console and execute
what does it say?
youbot@ubuntu:~/Simulation_Examples/towerOfHanoi_ROS/catkin_ws$ rosmsg show Poison
[brics_actuator/Poison]:
string originator
string description
float32 qos