**** BEGIN LOGGING AT Sun Oct 30 02:59:57 2022 Oct 30 16:00:56 boinkers. Programming the BBB is not all straight up and down. There are misconceptions and allegations on my part being made. Luckily, docs! I saw the docs. pages for beagleboard.org. Nice. There are tons of informative ideas on it. Oct 30 16:01:45 That simpPRU stuff is interesting. Too bad I did not figure out the behind-the-scenes set up. Oct 30 16:01:58 Anyway, keep it up! Good on ya'. Oct 30 16:05:14 I recently found the __new__ function in Python3. I may be able to use it w/ dictionaries and lists. I am not sure yet. Oct 30 16:58:00 Hello, I'm having trouble setting up my BBB. It won't connect to my PC network and I can't access the linux system. I'm using the USB cable. I'm using a Mac (Big Sur 11.3) and I can't install the drivers. Oct 30 16:59:51 are you the same one as three days ago? Oct 30 17:00:07 Yes Oct 30 17:00:31 I already mentioned there are no drivers to install. have you tried reflashing the BBB yet? Oct 30 17:01:35 But does the Mac need a driver to access the BBB? Oct 30 17:02:10 I downloaded the image you sent me and uploaded it to the SD card using etcher then inserted it into the BBB. Oct 30 17:02:41 But it still says the network is not connected Oct 30 17:03:35 did the beaglebone appear to reflash itself? it should show a back-and-forth pattern across the four leds for a while and then turn itself off once reflashing is done Oct 30 17:03:56 Yes it did that Oct 30 17:04:06 The BBB just turned off Oct 30 17:04:34 ok, don't forget to remove the sd card again so that it doesn't end up reflashing itself yet again on next boot Oct 30 17:05:53 if this doesn't resolve the issue then I don't know what's going on with your mac or why it would refuse to connect to the beaglebone Oct 30 17:06:08 ok, the BBBi  is still off Oct 30 17:06:18 Should I reset and try again? Oct 30 17:06:20 turn it back on, obviously (press power button) Oct 30 17:06:25 after removing the sd card Oct 30 17:07:31 ok, how long should it take? Oct 30 17:08:23 to boot? not sure, a minute or two I think? it's possible the first boot after reflashing takes slightly longer Oct 30 17:09:52 ok, I'm connected now Oct 30 17:10:20 there ya go, you should be able to reach the beaglebone using the hostname beaglebone.local Oct 30 17:10:39 Through my PC's terminal? Oct 30 17:10:53 via ssh yes, ssh debian@beaglebone.local Oct 30 17:10:58 (password "temppwd") Oct 30 17:12:44 awesome that worked. Oct 30 17:15:01 there ya go Oct 30 17:15:28 Thank you Oct 30 17:27:21 So beagle bone doesn't come with python packages like pip or panda? Oct 30 17:27:39 python3 and pip3 should be installed by default Oct 30 17:27:42 I don't know what panda is Oct 30 17:30:28 if you want to install packages (using apt or pip) then the easiest way is to connect the beaglebone via ethernet (to your home network, or if your computer has internet via wifi you can enable internet sharing to your computer's ethernet port (assuming it has one) and connect the beaglebone to that) Oct 30 17:30:51 It's for formatting data Oct 30 17:30:54 (in theory it's also possible to share internet to the beaglebone via usb but in practice this tends to be tricky and risks losing your only connection to the beaglebone) Oct 30 17:31:17 oh you mean pandas Oct 30 17:32:16 ok, so I would need an ethernet cable from the beaglebone to my PC? Oct 30 17:33:09 you need some way of providing internet access to the beaglebone if you want it to be able to install packages from the internet Oct 30 17:35:12 if you don't have an existing ethernet network (e.g. an ethernet port on your internet modem/router) to which you can connect the beaglebone, or if making such a connection is inconvenient, then ... like I said, you can use internet sharing on your PC to share its internet connection (via wifi) to ethernet, and connect the beaglebone to your PC's ethernet port Oct 30 17:41:20 No, I have the ports on my router. Oct 30 17:42:16 What hardware would I need then? Just an ethernet cable or adapter? Oct 30 17:42:31 just an ethernet cable Oct 30 19:54:29 I've connected the ethernet and I have my IP address. Can I download packages using pip now? Oct 30 21:37:04 .. why would you come here to ask that instead of just... Try It And See Oct 30 22:02:57 B/c...permissions are a big thing in specific peoples' lives. Oct 30 22:03:09 For instance, "I was a bit that way." Oct 30 22:03:10 ? Oct 30 22:03:25 I always acted like I needed permission to do things. Oct 30 22:03:33 acted = felt Oct 30 22:04:23 I mean, you do seem to be particularly skilled at making a mess of a system, but that still doesn't mean you need anyone's permission for anything... it's your system to make a mess of :P Oct 30 22:04:47 Right-o! And one, me-me-me, can always flash again! Oct 30 22:05:10 Oh. he left anyway. Oct 30 22:05:14 yeah Oct 30 22:05:17 I just saw that he left. Oct 30 22:05:29 or she. He/she/whomever. Oct 30 22:05:40 Pronouns keep getting more complicated. Oct 30 22:05:55 @zmatt: I am still working on the ServoCape. Oct 30 22:06:20 There was a nice gentleman that assisted me w/ a stream idea to handle python3 and the ServoCape. Oct 30 22:06:42 When I say streams, I think he is using streams. I am not sure yet. There is fd. Oct 30 22:06:48 For pathlib. Oct 30 22:07:10 But...pathlib just handles GPIO on the am335x so far. Oct 30 22:07:23 I am stuck now! Stuck. Oct 30 22:09:08 I got into lists, sets, tuples, and dictionaries. None of which work in this set of classes. Oct 30 22:10:02 So, I wrote my own classes and I am trying to make the motors move at the same time instead of 0.18 seconds apart. Oct 30 22:10:50 0.18 seconds is 0.02 more seconds than what is required from the PCA9685 chip. Oct 30 22:18:23 My "last" resort is to handle classes w/ the __new__ function to get strings and integers working together. Oct 30 22:23:31 I am using https://pastebin.com/HK7BJMQX so far just for strings and integers. I am close but no cigar. Oct 30 22:24:51 it is from the python3 docs but w/ a mixture. This mixture of source is bogus. I keep getting backlogged w/ new output errors. Oct 30 22:25:19 wtf Oct 30 22:25:56 I can't even begin to comprehend what any of this is supposed to mean or do Oct 30 22:26:32 none of this makes even the slightest bit of sense Oct 30 22:26:58 I know. Oct 30 22:27:10 This is my life. $*%&%$. I understand. Oct 30 22:27:39 I am trying to make sense out of the class and function. I have something else. Please hold. Oct 30 22:28:47 anything to do with a custom __new__ method is advanced python and almost certainly not something you should be attempting (since you don't even know basic python) Oct 30 22:29:02 Here is the update. https://pastebin.com/XDMaU6Cd Oct 30 22:29:25 I also can't begin to imagine why you're feeling a need to subclass int and/or str, or what any of this has to do with the servo cape Oct 30 22:29:56 You are right. I have a function called add_servo(). Oct 30 22:29:58 yeah this is just complete nonsense Oct 30 22:30:35 gobbledegook Oct 30 22:30:39 Once i get this source to work, I put in the add_servo() function to handle specifics of that function instead of using what Python thought was neat. Oct 30 22:30:42 Fine. Oct 30 22:30:54 Tomorrow is Halloween. Oct 30 22:31:25 I will take time out to not tell you about it. Oct 30 22:31:31 Sheesh. Oct 30 22:32:53 the attribute "get" is not part of the set "object." Oct 30 22:32:59 So, this is the issue so far. Oct 30 22:39:25 yeah that sounds like the sort of error that really isn't saying anything other than "you wrote nonsense" Oct 30 22:39:43 I know so far that it is nonsense. Oct 30 22:39:56 This does not mean I am learning while trying to test. Oct 30 22:40:17 I am learning while trying to test. It is not easy. It is like walking and chewing gum. Oct 30 22:42:21 I noticed that nano is getting smarter. Oct 30 22:42:36 error notices and other ideas. Oct 30 22:46:30 @zmatt: This is almost directly from the docs. pages online for python.org: https://pastebin.com/Xv0YhGiU . Oct 30 22:46:56 The only thing I changed is an import that I will need to use later once I get this source to work. Oct 30 22:48:04 The last two lines are for the interpreter. Oct 30 22:48:27 But their example(s) are not 100% of what I really need. Oct 30 22:52:48 Anyway, no issue. I just wanted to chat about it. Oct 30 22:53:24 @zmatt: And in the process of chatting about it, I also wanted to update you against your permission! Googly-OOgly! Oct 30 23:27:52 @zmatt: Please look here. Oct 30 23:28:02 Dang it, here: https://pastebin.com/jCDt5hh4 Oct 30 23:28:21 That is the final source that is derived from the two libs. that are not packaged. Oct 30 23:29:05 The issue is this idea really. I cannot make the servos move at the same time w/out an error in the server. Oct 30 23:29:39 It has to be by 0.18 seconds in b/t, not 0.18 specifically, each servo movement. Oct 30 23:29:46 Also... Oct 30 23:30:10 beaglebone.local causes the source to spit junk to the terminal. Literally, unreadable garbage dumps. Oct 30 23:30:41 So, I use 192.168.7.2:5000 instead of beaglebone.local:5000 and then it works? Oct 30 23:35:53 Anyway... Oct 30 23:36:11 How is one to handle promoting working motors w/out break delays in time? Oct 30 23:36:25 I cannot figure it out. Oct 30 23:42:05 Off to test another script of, and I quote, "nonsense." Oct 30 23:51:32 @zmatt: Here are the motor moving like pro water aquatics talent...but yet, they are not moving in formation yet. Oct 30 23:51:40 Here: https://vimeo.com/765528593 Oct 31 00:09:08 Is there a simultaneous function? Ha. Oct 31 00:13:59 It will be 10:00 soon. I will calm down. Sheesh. Oct 31 00:31:35 I guess the issue now is hiding the assignment of functions in other functions. Oct 31 00:31:42 Argh! Oct 31 00:40:39 So, maybe the motors all do not want to move in formation simultaneously. Does anyone think this could be the truth about the PCA9685 on the ServoCape and the attachment to the BBB? Oct 31 00:46:58 very unlikely Oct 31 00:47:06 it's probably just you Oct 31 00:47:11 I just found a .swp file. Oct 31 00:47:21 I thought nano was smarter. I got dumber! Oct 31 00:47:26 ? Oct 31 00:47:43 anyway, afk again Oct 31 00:47:46 It was my file.py but called file.py.swp and... Oct 31 00:47:48 Dang it Oct 31 01:33:40 a .swp file is normally a temporary file created by a text editor while you're editing a file Oct 31 01:35:18 when you close the editor the .swp file will be removed, but if you e.g. have a crash or you power cycle the board while a text editor was still over, the .swp file is left behind Oct 31 01:36:13 this allows unsaved changes to be recovered in case of a crash, but if you don't care you can safely remove the .swp file Oct 31 01:40:32 Right. Oct 31 01:40:53 My board is crashing due to my poor coding experiences. Oct 31 01:41:35 It works but I am altering the source to handle multiple servo movements consecutively on many servos. Oct 31 01:41:57 So, since my coding is backwards, I am getting stuck! Oct 31 01:42:58 I put the handling of assignment in the public domain and left private domains to call what was in the public domain but incorrectly so far. Oct 31 01:44:44 I am very excited that my BBB still works after so many premature shutdowns. Oct 31 01:46:31 cold servos and a premature crash that is unwarranted is not fun! Oct 31 01:46:47 ...Off to read more... **** ENDING LOGGING AT Mon Oct 31 02:59:56 2022