ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Humanoid Robot Control and Interaction

asked 2011-10-11 03:27:41 -0600

chang gravatar image

updated 2011-10-11 09:01:31 -0600

tfoote gravatar image

hi all, I am trying to run Halit Bener SUAY's Nao demo. I have found that in step 3: "roslaunch openni_camera openni_kinect.launch", the file "openni_kinect.launch" doesn't exist, but "openni_node.launch". Then I went through to step 6. When running "rosmake nao_openni", I got the errors:

/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121: error: ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘__getMD5Sum’

and

/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:138: error: ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘__getDataType’

Hope someone can help me with this. Thank you very much.

edit retag flag offensive close merge delete

Comments

Is that the complete error output from running make (as it's a little short)? Could it be that you're mixing a diamondback and electric ROS system somehow?
AHornung gravatar image AHornung  ( 2011-10-11 21:58:46 -0600 )edit
Problem solved in this way:
chang gravatar image chang  ( 2011-10-16 21:24:47 -0600 )edit
both errors stemmed from the file teleop_nao_ni.cpp. 2 lines were commented out: teleop_nao_ni.cpp:872: //obj.m_speechPub.publish(naosay.data); teleop_nao_ni.cpp:976: //teleopNao.m_speechPub.p
chang gravatar image chang  ( 2011-10-16 21:26:13 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2011-10-16 21:31:34 -0600

chang gravatar image

In order to get rid of the compilation errors, I adjusted the C++ code a bit: both errors stemmed from the file nao_openni/src/teleop_nao_ni.cpp. I commented out these 2 lines:

teleop_nao_ni.cpp:872: //obj.m_speechPub.publish(naosay.data); teleop_nao_ni.cpp:976: //teleopNao.m_speechPub.publish(naosay.data);

after which I was able to run the command "rosmake nao_openni" without errors. I assume that my changes in the source file will not have any effect on the behaviour of the nao, except that the nao will a little more silent.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-10-11 03:27:41 -0600

Seen: 306 times

Last updated: Oct 16 '11