**** BEGIN LOGGING AT Mon Aug 08 02:59:57 2022 Aug 08 12:23:02 hi im a new beaglebone black user. i want to run neopixel leds using the bb PRU. I've tried the LEDScape library but facing issues, probably because it was written for an older kernel with different PRU drivers (not sure). Is there any latest library written for new bb OSes that I should consider? any help will be appreciated thanks Aug 08 12:26:54 Cool project Aug 08 12:39:06 i got disconnected, posting again in case someone answered Aug 08 12:39:07 hi im a new beaglebone black user. i want to run neopixel leds using the bb PRU. I've tried the LEDScape library but facing issues, probably because it was written for an older kernel with different PRU drivers (not sure). Is there any latest library written for new bb OSes that I should consider? any help will be appreciated thanks Aug 08 12:55:14 pru cookbook Aug 08 12:55:37 i got disconnected, posting again in case someone answered Aug 08 12:55:45 hi im a new beaglebone black user. i want to run neopixel leds using the bb PRU. I've tried the LEDScape library but facing issues, probably because it was written for an older kernel with different PRU drivers (not sure). Is there any latest library written for new bb OSes that I should consider? any help will be appreciated thanks Aug 08 12:55:45 Stop. Aug 08 12:55:50 use the pru cookbook Aug 08 12:56:28 Not working Aug 08 12:56:41 Dang...well. I am out then. Aug 08 12:56:49 I bet someone knows. Try to stick around. Aug 08 13:06:16 gone again :P Aug 08 13:27:08 Angad: if it needs uio-pruss, that's still available, you can switch which driver is used by changing a line in /boot/uEnv.txt Aug 08 13:28:17 Angad: specifically the uboot_overlay_pru variable Aug 08 13:28:40 just comment out the existing one for RPROC and uncomment the one for UIO Aug 08 13:34:54 (and then reboot) Aug 08 17:22:15 Has anyone used sudo apt install motion to any success on the BBAI? Aug 08 17:22:33 I listened and learned. It is not a friendly application on the BBAI. Aug 08 17:22:43 opencv is bust too. Argh! Aug 08 17:35:12 python3-numpy is showing up as not installed, also. Aug 08 17:35:25 Weird days. Aug 08 20:02:06 people are probably trippin'. Aug 08 20:02:25 I found a way to install it but Debian builds are out for now. Aug 08 20:09:10 is debian upset now? Aug 08 20:09:56 excuse me, are the people at debian upset now? Aug 08 20:11:38 it has a bsd license and is put together on github. Is that not enough? Aug 08 20:13:18 set_: please post your actual issue/etc Aug 08 20:13:48 I can import it in python3 scripts but the system, my Debian Distro, is stating that I have no numpy installed. Aug 08 20:13:51 oh. Aug 08 20:14:22 How do I use numpy w/ other libs. if I cannot build them to suit my needs? Aug 08 20:15:39 too vague. Okay, no issue. Aug 08 20:19:43 https://packages.debian.org/bullseye/python3-numpy Aug 08 20:25:28 Yes sir. Aug 08 20:25:33 I understand. Aug 08 20:26:03 it was installed by whomever on my distro. I can remove it w/ apt or pip3 now. Aug 08 20:27:01 When I type python3, the python3 idle or whatever comes up on the terminal. Aug 08 20:27:18 I type import numpy as np. It works. Aug 08 20:28:09 When I type numpy --version, I get an output of Command 'numpy' not found, did you mean: command 'lumpy' from deb lumpy-sv. Aug 08 20:29:52 set_: ehh, numpy isn't a command Aug 08 20:29:57 Out of nowhere, I had nothing to blame but my congnitive understanding. Aug 08 20:30:25 Right. python3-numpy --version outputs command not found. Aug 08 20:30:45 which is again the expected result, since that isn't a command either Aug 08 20:31:01 What is the command then, sir. Aug 08 20:31:05 ? Aug 08 20:31:14 for what? numpy *isn't* a command, it's a python package Aug 08 20:31:44 import numpy as np was the command in my python script. Aug 08 20:32:17 and you said that worked fine, so what's your question? Aug 08 20:32:25 oh. Okay, I understand. Since the numpy package is a package and not a command, Debian has no reason to signify it as one. Aug 08 20:33:16 Understandable. I thought packages could get output from the terminal on Debian servers. Aug 08 20:33:24 I am new! Aug 08 20:33:27 again. Aug 08 20:34:24 how do I check my numpy versioning? Aug 08 20:34:49 On the BBAI, how do I check my numpy version on the Debian Distro? Aug 08 20:35:09 I mean...python3 -m pip freeze > requirements.txt Aug 08 20:35:31 Yea. That will work. I can check then in the cat requirements.txt output. Aug 08 20:36:21 1.19.5 Aug 08 20:36:23 Okay. Aug 08 20:36:28 I am breathing again. Aug 08 20:37:12 is RPi.GPIO installed by accident or was that me too? Aug 08 21:17:08 set_: /usr/share/numpy3/versions Aug 08 21:20:59 dpkg-query --list python3-numpy Aug 08 23:39:02 I see I missed something. Thank you guys for sharing. Aug 08 23:55:33 how can I run source that includes numpy when numpy as output from the file states, "ImportError: No module named numpy"? Aug 08 23:55:54 I am sorry. I do not get it. Should I attempt something else? Aug 09 00:01:28 Here: https://pastebin.com/2iQmpxUm Aug 09 00:02:04 That is when I try to compile examples to use since the issue w/ the "ImportError: No module named numpy". Aug 09 00:02:17 Heads up. Aug 09 00:28:59 It gets more interesting... Aug 09 00:35:08 If "common" is not part of the importing in the python3 script, the only thing to do is rearrange the tk in the script. Aug 09 00:35:18 Then, the demo.py runs as is...nice! Aug 09 00:36:00 @zmatt: Do you know how to see frames per second in real time on console? Aug 09 00:36:11 I told someone I would try. Aug 09 00:36:27 You know more, blah-blah-blah, and I will try w/ or w/out you. Aug 09 00:36:44 Send rations! Aug 09 00:40:17 I got you mothers and brothers. Aug 09 00:40:23 Ha. Aug 09 00:40:52 I got a vid. up and streaming already on the BBAI. Aug 09 00:41:02 Now, to find the frames per second. Aug 09 01:37:12 Phew. I give up... Aug 09 01:37:13 For now. Aug 09 01:37:30 I can set the fps but I cannot view it as output. Aug 09 01:37:33 Oh well, break time. Aug 09 02:19:07 tracker.py is up and running! Aug 09 02:19:19 Track 'em goons. Aug 09 02:29:20 gabors, going, going gone! Aug 09 02:46:02 it seems that opencv wants ubuntu 18.0.4 for building correctly. odd. **** ENDING LOGGING AT Tue Aug 09 02:59:56 2022