jesseweisberg / moveo_ros

ROS packages and Arduino scripts that can be used to control the BCN3D Moveo robotic arm in simulation and real-life.
MIT License
297 stars 126 forks source link

sketch upload, ArmJointState.h error #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

As mentioned, compiling error occurs.

Yet after several library resets and another shot on different machine i'm sure I do not understand the process. Please advise, not a ROS rockstar

jesseweisberg commented 6 years ago

Please give more information about your issue so I can try to help.

jesseweisberg commented 6 years ago

Perhaps this previous issue thread may shed some light on your current problem.

Jeroenh89 commented 6 years ago

Hi Jesse,

Iam currently havingthe same problem. Iam running Ubuntu 16.04 with Kinetic. My moveo_ros file is in the src directory. I have the Moveit package succesfully running and i can do some fancy plan and execute simulations.

I have the Arduino - ros lib unpacked in the libraries directory of arduino. I can do some simple arduino blinking with the example programs.

However, when compiling the moveo_moveit_arduino i get the same error. Cant locate the "moveo_moveit/Armjointstate.h."

I've deleted the ros_lib directory and used the " rosrun rosserial_arduino make_libraries.py . " command in the arduino - libraries folder. However, it does not seem to generate the armjointstate.h file in the arduino ros_lib.

Jeroenh89 commented 6 years ago

Hmm, the catkin_make file does generate the ArmJointState.h in the build folder. However, if i run the "rosrun rosserial_arduino make_libraries.py . " the file is not added to the ros_lib.

Jeroenh89 commented 6 years ago

found the problem! I was running the source setup.bash and the rosrun rosserial_arduino make libraries in two different terminals... #noobmistake

Now it seems to work!

ghost commented 6 years ago

Sweed Jeebus, that worked for me as well Thanks guys!

ghost commented 6 years ago

Might be worth noting that sketch should be loaded from the catkin folder

advait0810 commented 6 years ago

Hello. I've tried everything mentioned here and other places. My setup.bash files in kinetic and devel have been sourced. Everything in the same terminal as well. But it's not working.

advait0810 commented 6 years ago

@ghost , what do you meant exactly by "sketch should be loaded from the catkin folder"?

rootrootdoul commented 5 years ago

still not working