Simple LED Blink, Pi3 & KINETIC

asked 2017-12-22 18:06:51 -0600

rellyrell gravatar image

Hello,

I am new to ROS and want to understand how to do something as simple as programming an LED to blink. I am using a Raspberry Pi 3 with ubuntu mate and kinetic installed. I have experience in coding and have coded the blinking LED in raspbian fairly easily, but I am clueless where to start in ROS. I'm not sure how to access the GPIO or where to start with the program. Any help will be greatly appreciated. Thanks!

edit retag flag offensive close merge delete

Comments

You can start with reading some documentation about ros ( like this ) So you will understand the basics of messages, topics, services, nodes, how to run ros nodes, etc.

MaximeRector gravatar image MaximeRector  ( 2017-12-23 02:06:42 -0600 )edit

What language are you using? c++? python?

MaximeRector gravatar image MaximeRector  ( 2017-12-23 02:12:35 -0600 )edit

If you're using Python, this might help: https://github.com/mattmongeon/rpi_ex...

clyde gravatar image clyde  ( 2017-12-23 12:38:12 -0600 )edit

Clyde that link was exactly what I was looking for I really appreciate it. And MaximeRector thanks for the advise as well it helped out a lot

rellyrell gravatar image rellyrell  ( 2018-01-04 14:08:27 -0600 )edit