Adding Custom Messages(Generating Message Header File)
I'm following this tutorial: http://wiki.ros.org/rosserial_arduino...
And the last part(rosrun rosserial_client make_library.py Arduino/libraries Num for me) didn't work although I followed the steps in this tutorial's 2.1 Creating a msg part: http://wiki.ros.org/ROS/Tutorials/Cre...
I should have been created Num.msg file and I can see it when I search "Num.msg" in my home directory,it is in my worksapce's src folder's package I work on.
But when I tried to run this
$rosrun rosserial_client make_library.py Arduino/libraries Num
Required statement didn't occur.(This command will create the headers, and locate them in Arduino/libraries/ros_lib/Num/.)
It didn't gave me any error but in my Arduino/libraries/ros_lib/ folder,Num didn't created.Why is that?
Your first link indicates the command should be
rosrun rosserial_client make_library.py path_to_libraries your_message_package
. I'm guessing thatNum
is not the right package name. Should it bebeginner_tutorials
, like in your second link? If that's not the issue, please post yourCMakeLists.txt
andpackage.xml
.rosrun rosserial_client make_library,py ~/Arduino/libraries open_manipulator_msgs Doesn't do anything either for me.