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

Revision history [back]

Hi there!

I had the same problem but i use Ubuntu 20.04 and noetic. so I started the whole process from scratch and used these dependencies to generate the package:

catkin_create_pkg biscee_servo_control std_msgs message_generation message_runtime rospy roscpp rosserial_arduino rosserial_msgs

and

cd ~/catkin_ws
catkin_make
. ~/catkin_ws/devel/setup.bash

after that i followed these tutorials: http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv#Common_step_for_msg_and_srv (maybe the same as you did)

and now I had the package name in my include folder.

After that you can use

rosrun rosserial_client make_libraries path_to_libraries

I hope it helps you!

I am now struggling how to use the generated header in arduino.ide!?