cyphy_rosfalcon package installation problems [closed]

asked 2011-11-14 07:59:57 -0600

giorgosera gravatar image

updated 2012-02-27 13:28:14 -0600

kwc gravatar image

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 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-07-23 05:48:50

Comments

Has anyone found the answer to this? I'm running into the same problem.

rsquare gravatar image rsquare  ( 2013-06-25 08:12:48 -0600 )edit

I am running the same problem too currently!

Lili Meng gravatar image Lili Meng  ( 2014-11-16 17:47:28 -0600 )edit

The problem is that in most of the files there are commands like falcon_atpos_pub.publish(atpos); which won't work. Try

std_msgs::Bool status_msg;
status_msg.data=atpos;
falcon_atpos_pub.publish(status_msg);

instead.

Teri gravatar image Teri  ( 2015-01-19 08:57:18 -0600 )edit