cyphy_rosfalcon package installation problems [closed]
After a lot of frustration and research we found this cyphy repo which contains a cyphy_rosfalcon package. We want to use that to interface with a Novint Falcon device. However when we run make it fails.
The error:
In file included from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include/ros/serialization.h:37:0,
from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:34,
from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:32,
from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:45,
from /home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:1:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:255:104: instantiated from ‘const char* ros::message_traits::md5sum(const M&) [with M = int]’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:112:7: instantiated from ‘void ros::Publisher::publish(const M&) const [with M = int]’
/home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:55:43: instantiated from here
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:126:34: error: request for member ‘__getMD5Sum’ in ‘m’, which is of non-class type ‘const int’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:264:106: instantiated from ‘const char* ros::message_traits::datatype(const M&) [with M = int]’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:112:7: instantiated from ‘void ros::Publisher::publish(const M&) const [with M = int]’
/home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:55:43: instantiated from here
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:143:36: error: request for member ‘__getDataType’ in ‘m’, which is of non-class type ‘const int’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:127:3: warning: control reaches end of non-void function [-Wreturn-type]
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:144:3: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [CMakeFiles/falcon_control.dir/src/falcon_control.o] Error 1
make[3]: Leaving directory `/home/george/ros/cyphy/rosfalcon/build'
make[2]: *** [CMakeFiles/falcon_control.dir/all] Error 2
make[2]: Leaving directory `/home/george/ros/cyphy/rosfalcon/build'
make[1]: *** [all] Error 2
make[1]: Leaving ...
Has anyone found the answer to this? I'm running into the same problem.
I am running the same problem too currently!
The problem is that in most of the files there are commands like
falcon_atpos_pub.publish(atpos);
which won't work. Tryinstead.