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

How to add ROS_LİB in Arduino Libraries

asked 2017-09-14 14:10:32 -0600

Mekateng gravatar image

updated 2017-09-14 14:31:36 -0600

ahendrix gravatar image

Hi I want to add ros_lib in arduino libraries . Because ı have to run a arduino code and it includes ros.h . Please help me

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-09-14 14:39:28 -0600

jayess gravatar image

updated 2017-09-14 15:10:31 -0600

You can follow along with this tutorial: http://wiki.ros.org/rosserial_arduino... . Make sure to install your sketch into the <sketchbook>/libraries folder using

ros rosserial_arduino make_libraries.py <sketchbook>/libraries/

where <sketchbook> is the path to your sketchbook.

edit flag offensive delete link more

Comments

I did it @jayess but ı got such an error : `

make_libraries.py generates the Arduino rosserial library files. It requires the location of your Arduino sketchbook/libraries folder.

rosrun rosserial_arduino make_libraries.py <output_path>

`

Mekateng gravatar image Mekateng  ( 2017-09-14 14:42:06 -0600 )edit

The problem is solved . That would be very helpful . I can not thank you enough Mr. @jayess

Mekateng gravatar image Mekateng  ( 2017-09-14 15:37:55 -0600 )edit

@Mekateng: No problem, glad to help. Please mark this answer as correct.

jayess gravatar image jayess  ( 2017-09-14 15:42:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-09-14 14:10:32 -0600

Seen: 8,082 times

Last updated: Sep 14 '17