Arbotix ros of arduino code verification problem

asked 2014-05-01 22:25:58 -0500

Yantian_Zha gravatar image

Hi all, I want to upload my arbotix_ros firmware to board, and I use Arduino 1.0.5, ROS groovy, and mac os. I did everything in "http://wiki.ros.org/arbotix_firmware?distro=hydro"(I use groovy). I firstly copy three directories in package arbotix-master() to directory Arduino in Document(I use mac os). Then I copy directories in arbotix-0015/arbotix/ to Document/Arduino/ArbotiX Sketches, which replaced original files and directories. Finally I copy file and directories in robocontroller-0010 to Document/Arduino/ArbotiX Sketches/libraries/. After doing this I replace files in ArbotiX Sketches/ros with my own files in arbotix_firmware package(arbotix driver for ROS). But when I open the ros.ino and verify it(I chosen the board arbotix), I just got one error "ros.cpp: In function 'void setup()': ros:94: error: 'class Motors2' has no member named 'init'". I cannot understand why this error can happen. And I found that it's after importing files from robocontroller package that caused this problem. If I don't import the robocontroller thing, verification was right. If anyone know how to solve this please help me, thanks!

edit retag flag offensive close merge delete