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

rosmake youbot_driver fail

asked 2014-10-24 11:13:41 -0500

Max gravatar image

updated 2014-10-24 12:05:02 -0500

ahendrix gravatar image

I installed the ROS fuerte in Raspberry Pi then i installed the 'youbot_driver' . When i try to build using "rosmake youbot_driver" it gives an error which is as follows

  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:178:13: error: ‘oro_atomic_dec’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In member function ‘void youbot::DataObjectLockFree<T>::Set(const DataType&) [with T = std::basic_string<char>, youbot::DataObjectLockFree<T>::DataType = std::basic_string<char>]’:
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMailboxMsg.hpp:174:42:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:201:13: error: ‘struct youbot::DataObjectLockFree<std::basic_string<char> >::DataBuf’ has no member named ‘counter’
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:201:13: error: ‘oro_atomic_read’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In constructor ‘youbot::DataObjectLockFree<T>::DataBuf::DataBuf() [with T = youbot::SlaveMessageOutput]’:
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:133:10:   instantiated from ‘youbot::DataObjectLockFree<T>::DataObjectLockFree(const T&, unsigned int) [with T = youbot::SlaveMessageOutput]’
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMsg.hpp:141:30:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:104:17: error: ‘oro_atomic_set’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In constructor ‘youbot::DataObjectLockFree<T>::DataBuf::DataBuf() [with T = youbot::SlaveMessageInput]’:
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:133:10:   instantiated from ‘youbot::DataObjectLockFree<T>::DataObjectLockFree(const T&, unsigned int) [with T = youbot::SlaveMessageInput]’
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMsg.hpp:141:30:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:104:17: error: ‘oro_atomic_set’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In constructor ‘youbot::DataObjectLockFree<T>::DataBuf::DataBuf() [with T = unsigned int]’:
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:133:10:   instantiated from ‘youbot::DataObjectLockFree<T>::DataObjectLockFree(const T&, unsigned int) [with T = unsigned int]’
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMsg.hpp:141:30:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:104:17: error: ‘oro_atomic_set’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In constructor ‘youbot::DataObjectLockFree<T>::DataBuf::DataBuf() [with T = youbot::mailboxOutputBuffer]’:
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:133:10:   instantiated from ‘youbot::DataObjectLockFree<T>::DataObjectLockFree(const T&, unsigned int) [with T = youbot::mailboxOutputBuffer]’
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMailboxMsg.hpp:146:39:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:104:17: error: ‘oro_atomic_set’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp: In constructor ‘youbot::DataObjectLockFree<T>::DataBuf::DataBuf() [with T = youbot::mailboxInputBuffer]’:
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:133:10:   instantiated from ‘youbot::DataObjectLockFree<T>::DataObjectLockFree(const T&, unsigned int) [with T = youbot::mailboxInputBuffer]’
  /home/pi/youbot/youbot_driver/youbot/YouBotSlaveMailboxMsg.hpp:146:39:   instantiated from here
  /home/pi/youbot/youbot_driver/generic/dataobjectlockfree/DataObjectLockFree.hpp:104:17: error: ‘oro_atomic_set’ was not declared in this scope
  /home/pi/youbot/youbot_driver/generic ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2014-10-29 09:12:42 -0500

lebowski gravatar image

for what reason do you want to install youbot_driver on your pi?

if you want to control your youbot via the pi, you just need the robot_description and some launchfiles like

  • youbot_oodl_driver.launch (.../youbot-ros-pkg/youbot_drivers/youbot_oodl/)
  • youbot_joint_state_publisher.launch (.../youbot-ros-pkg/youbot_drivers/youbot_oodl/)
  • etc (depends what you want)
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-24 11:13:41 -0500

Seen: 197 times

Last updated: Oct 24 '14