Programming Beaglebone Blue

310 views
Skip to first unread message

Venkatachalam Srinivasan

unread,
Oct 24, 2017, 5:46:43 AM10/24/17
to BeagleBoard
Hello All,

Good morning !!! I am starting to work with Beaglebone blue. Based on the example programs, I have modified the existing 'c' code to control a servo motor. I like to know how the python implementation can be made for the same program. There are some special functions like "rc_send_esc_pulse_normalized_all" which is written and used for c program. I dont know how exactly to extend this function for python.

Thank you,
Venkatachalam Srinivasan

CJA

unread,
Oct 25, 2017, 5:34:31 PM10/25/17
to BeagleBoard
 A suggestion here for python is to checkout the git Repo at - https://github.com/mcdeoliveira/rcpy

Mark A. Yoder

unread,
Oct 26, 2017, 10:56:17 AM10/26/17
to BeagleBoard
If you have a recent image you'll find the rcpy source already on the Bone.  Look in /opt/source/rcpy/examples.

--Mark

Igor Shakirow

unread,
May 10, 2018, 1:45:26 PM5/10/18
to BeagleBoard
???? 
root@beaglebone:/opt/source/rcpy/examples# python rcpy_test_servos.py
Traceback (most recent call last):
File "rcpy_test_servos.py", line 8, in <module>
import rcpy
ImportError: No module named 'rcpy'
root@beaglebone:/opt/source/rcpy/examples#

четверг, 26 октября 2017 г., 17:56:17 UTC+3 пользователь Mark A. Yoder написал
Если у вас есть недавнее изображение, вы найдете источник rcpy уже на кости. Заглянуть внутрь/ opt / source/rcpy / примеры.

--Марк

во вторник, 24 октября 2017 года 5:46:43 утра UTC-4, Венкатачалам Сринивасан писал
Привет всем,

Доброе утро !!! Я начинаю работать с Beaglebone blue. На основе примеров программ я изменил существующий код' c ' для управления серводвигателем. Мне нравится знать, как реализация python может быть сделана для той же программы. Есть некоторые специальные функции, такие как "rc_send_esc_pulse_normalized_всех", который написан и используется для C программу. Я не знаю, как именно расширить эту функцию для python.

Спасибо,
Венкатачалам Сринивасан
Reply all
Reply to author
Forward
0 new messages