**** BEGIN LOGGING AT Mon Feb 01 02:59:57 2021 Feb 01 03:12:43 :broccolis. Feb 01 03:13:33 Hello GenTooMan! Feb 01 03:13:55 It is late but I am glad you arrived. Feb 01 03:14:06 Did you see my ramblings? Feb 01 03:15:58 What does the source say you should do to turn of your output? Do you have a function to enable the output as well? Feb 01 03:16:19 The output isn't active initially is it? Feb 01 03:18:09 No. Feb 01 03:18:13 I initial it. Feb 01 03:18:35 The initial is 0 initially. Feb 01 03:19:05 many functions...did you see the paste? Feb 01 03:20:11 So, my values all have to be different. I cannot have a double of any number. Feb 01 03:22:31 Here: https://stackoverflow.com/questions/65986693/why-does-the-numerical-value-0-in-my-source-not-allow-me-to-have-a-server-on-a-w Feb 01 03:22:37 This is what I started. Feb 01 03:22:49 Oops. Feb 01 03:23:50 is there a PWM.stop() call? :D Feb 01 03:25:05 No. Not that I saw. Feb 01 03:25:20 I use 0 to stop. Feb 01 03:25:39 Should I make a PWM.stop() function? Feb 01 03:26:58 hmm so if you start it with a 0 it doesn't work. Is the number a float or an integer? IE can you set it to -0.00001 for example or 0.00001 Feb 01 03:27:17 Hmm. Good question. Let me check. Feb 01 03:27:36 further if you start it with 0 it won't do anything right? Feb 01 03:27:47 Well, even the 0.0001 would be on. and yes, 0 does nothing. Feb 01 03:28:07 so you start it disabled (in summary). Feb 01 03:28:14 Right. As usual. Feb 01 03:28:54 So, first turn off just in case and then deploy w/ it on and switching. Feb 01 03:29:12 So do this to stop it. Set it close to 0 then set it to zero. Feb 01 03:29:56 I have this all on a server. The server dies if the numerical value 0 is in multiples. Feb 01 03:30:36 as in more than once or more than once in a sequence. Feb 01 03:30:43 So, one motor of the four can take the value 0, the other three motors have the values, 1, 2, 3. Feb 01 03:30:45 Oh. Feb 01 03:30:59 I guess a sequence. Feb 01 03:31:14 so if you set it close to zero then set it zero it should just stop. Feb 01 03:31:27 But... Feb 01 03:31:38 You could also try it, then again I don't know or care about the the consequences likely :D Feb 01 03:31:45 Aw! Feb 01 03:31:53 :sleeps on it (thud). Feb 01 03:31:59 No! Feb 01 03:39:22 In any case have you tried setting it close to zero then setting it zero and see if it has a mental break down. Feb 01 03:40:22 I am setting up the function of stop now. Feb 01 03:40:34 But no. I have not tried that...yet. Feb 01 03:45:08 * GenTooMan envisions stop working to well and it ends up turning off the server ... Feb 01 03:57:08 AssertionError: View function mapping is overwriting an existing endpoint function: 0 Feb 01 03:57:20 That is the error when I apply PWM.stop(0). Feb 01 04:00:46 * GenTooMan ponders, "So you wrote the PWM.stop function right? Feb 01 04:01:01 Sort of, I retracted it already b/c of errors. Feb 01 04:01:09 So, now, no. Feb 01 04:02:17 So remove the zero parameter and try just PWM.stop() Feb 01 04:02:38 I did. Ooph. Feb 01 04:02:53 I need to put a pin in that field where the zero was located. Feb 01 04:02:54 Oops. Feb 01 04:04:12 Ah Feb 01 04:04:54 Anyway. I put a bunch of PWM.stop functions in my other functions. Pray for rain1 Feb 01 04:06:59 keyword cannot be an expression. How else can I make my pin equal to 0? Feb 01 04:09:36 set_ you are stopping PWM on a PIN follow? so you have to give it something to stop. Feb 01 04:09:56 Like what? Feb 01 04:10:12 This...oh. Feb 01 04:10:13 GPIO? Feb 01 04:10:14 like the pin you are stopping from being PWM on. Feb 01 04:10:56 Give me a minute. I think I got it. Feb 01 04:11:15 My one bb in my brain is hitting all of its one cylinder. Feb 01 04:11:16 ! Feb 01 04:14:59 "You must start the PWM channel first" Feb 01 04:14:59 Ha. Feb 01 04:16:02 Hmmm so if you pass the PWM value greater than zero somewhere then you stop it? Feb 01 04:16:14 No. Feb 01 04:16:32 If I pass 45, I get 45% duty_cycle. Feb 01 04:18:52 Man...I am beat. I have been on this for six hours. Are there any other hints you may want to share w/out holding my darling hand? Feb 01 04:18:55 Ha. Feb 01 04:19:32 yes you can stop a channel if it's enabled that's all it's saying is you have to start it before stopping it. So not a big deal. Feb 01 04:20:11 Right. I did. I got sysfs entry issues. Feb 01 04:22:01 Well write down what you learned before it leaks out your ears in any case. Feb 01 04:22:38 I learned that I am determined and not knowing anything about how many steps one would take to get to the center of the lollipop. Crunch! Feb 01 04:25:06 Okay. I figured it out. Feb 01 04:25:09 But... Feb 01 04:25:42 Now...my movement buttons online via the server do nothing except throw faults and server errors. But I can stop the four motors. Feb 01 04:25:43 Ha. Feb 01 04:26:52 I can probably just turn them off via a GPIO pin. Feb 01 04:29:30 That might work in the end but then you are using a precious GPIO pin. Feb 01 04:29:56 The GPIO on this Cape handles the Direction On/Off. Feb 01 04:30:15 So, if one GPIO is on, it moves. Feb 01 04:30:25 If it is off, it does not. I am guessing here. I can test it. Feb 01 04:38:00 Well, the GPIO pins work and cancel out my server. Feb 01 04:38:02 Sheesh. Feb 01 04:41:51 Okay. Everything works except for motor four. Feb 01 04:41:53 Blah. Feb 01 04:43:15 Thank you GenTooMan, you sent me on the right path of trying to understand. Feb 01 04:44:02 That's OK my brain is limping along with minor feverishness I guess. When you are bored https://embeddedemulation.blogspot.com/2021/01/yet-another-board.html Feb 01 04:44:13 Okay! Feb 01 04:44:34 don't forget sleeping and breaks are important to learning. Feb 01 04:45:46 Right. Feb 01 04:45:52 Feverishness? Feb 01 04:46:02 Are you not hungry? Feb 01 04:50:21 no ... not really. :D Feb 01 04:54:03 Eat! Feb 01 04:54:22 One goes up, comes down (usually). Feb 01 04:54:58 For instance, I almost got to fly my little drone today. The dang winds kicked in and the BBBlue stayed cold. Boo! Feb 01 04:55:40 Last time, that thing was like a torpedo of doom. Luckily, my large tree took on the impact. Feb 01 04:56:07 I even made some landing gear. Neat! Feb 01 04:59:49 Nothing like a bolt and a nut to handle landing gear. Feb 01 05:00:07 I think the carbon fiber will break before my landing gear. Feb 01 05:00:08 Ha. Feb 01 05:01:01 Speaking of...I better update the board. Who knows what goodies are in store? Feb 01 05:03:35 * GenTooMan goes to bed "try sleeping at times. :D" Feb 01 05:04:49 Right behind you, matey. snorrrrrrrrrrrr! Feb 01 12:54:39 HI respected community members Feb 01 12:55:59 i am a beginner in open source and i wanted to know which beagleboard version is recommended for gsoc . Feb 01 13:21:52 aman: most beaglebones are very similar except for the BeagleBone Blue and BeagleBone AI ... by default I'd pick the BeagleBone Black, or alternatively the BeagleBone Black Wireless which is equivalent except for having wifi instead of ethernet Feb 01 13:22:07 note also there's a separate #beagle-gsoc channel Feb 01 13:22:47 thank you Feb 01 13:24:57 sancloud also have some BeagleBone Enhanced units on sale because they have the wrong pcb color: https://www.sancloud.co.uk/store/sancloud-beaglebone-enhanced-bbe-nowifi .. these are very similar to the BeagleBone Black, except they have gigabit ethernet, 1GB ram, and an extra usb host port Feb 01 13:25:26 why is the pcb colour important? Feb 01 13:25:42 for most people, it's not Feb 01 13:26:20 if they were smart, they'd market them as rare collectibles Feb 01 13:26:20 but I think the red pcb color is normally reserved for the industrial versions Feb 01 13:26:23 like misprinted stamps Feb 01 13:27:32 sir how to do open source contribution for beagle , anyone would recommend any begineer project in python ,opencv. Feb 01 13:27:57 I don't understand why people would pick the beaglebone as platform to do opencv stuff Feb 01 13:28:18 I don't understand why people do most things they do Feb 01 13:29:27 it was there at the project idealist in the beagle page . Feb 01 13:30:41 also, apparently every accepted student gets hardware anyway? according to https://elinux.org/BeagleBoard/GSoC/Ideas anyway Feb 01 13:31:22 can you be more specific what you mean? the only mention of OpenCV I see on that page is for the really old beagleboard which (unlike the beaglebone) did have useful video abilities Feb 01 13:32:27 and i was learning that so i asked for in that. Feb 01 13:33:27 well no you asked which is "recommended for gsoc" without stating any specific purpose, which is extremely vague Feb 01 13:34:02 anyway, like I said there's a separate channel for gsoc, #beagle-gsoc .. I suggest directing further questions there Feb 01 14:24:00 aman: do not send private messages. Feb 01 14:24:36 again, for gsoc-related questions please go to #beagle-gsoc which is the channel dedicated for that purpose Feb 01 15:56:16 ugh Feb 01 18:48:39 do any beagles have 2 NIC's? Feb 01 18:49:07 I don't think so, unless wifi counts Feb 01 18:49:31 correction, the x15 does Feb 01 19:42:40 yeah, the beagleboard-x15 has two ethernet interfaces (which can be configured to be separate interfaces or they can be connected via an internal switch) Feb 01 20:12:00 looks like a nice board Feb 01 20:12:11 i'm pretty excited about the BeagleV Feb 01 20:12:15 though Feb 01 20:13:01 beagle has loads of good boards, i wonder why the BBB is the one that many people know of only (only the BBB)? Feb 01 20:13:34 it's cheap Feb 01 20:14:25 and easy to connect stuff, unlike the bbx15 with its obscure expansion connectors Feb 01 22:35:09 GenTooMan: Thank you for yesterday and directing me to use PWM.stop(). I found that the old GPIO.output(pin, GPIO.LOW) works on this MotorCape. Feb 01 22:35:23 Anyway, good try and you headed me in the correct direction. Feb 01 22:35:55 It has to be one or the other on this Cape. Feb 01 23:03:31 I am reading about user-space in the Debian-Handbook. Are any other people reading this text? Feb 01 23:13:35 log! Feb 01 23:13:50 exp! Feb 01 23:19:33 exp? Feb 01 23:19:58 I am reading the log files. Feb 01 23:20:11 https://www.mathworks.com/help/matlab/ref/exp.html Feb 01 23:20:15 Interesting bunch of ideas in them files, there. Feb 01 23:20:22 Oh. Off to look. Feb 01 23:20:40 exp(log(x)) = x Feb 01 23:21:14 Aw. Feb 01 23:23:03 I was in /var/log/ Feb 01 23:23:15 I was reading kern.log and syslog. Feb 01 23:23:34 math is good too! Feb 01 23:55:20 if you disable hdmi do all those pins get released to be generic GPIO Feb 01 23:57:12 I believe that is so although I don't think all of them are available on the connectors. Feb 01 23:57:55 i have given up on having the LCD panel drive this application Feb 01 23:57:59 sniff sniff Feb 01 23:58:09 I fought hard Feb 02 00:04:43 why would python allow a module called serial Feb 02 00:04:48 and a module called pyserial Feb 02 00:04:53 like that should be illegal Feb 02 00:06:13 Dang! Feb 02 00:06:24 Of all the people that would have given in, not you! Feb 02 00:06:32 Get back on the horse! Feb 02 00:18:53 Hee-Haw back up on that horse and make that LCD beg for forgiveness! Feb 02 00:20:20 Here: https://deepaklorkhatri.me/GSoC2020_BeagleBoard.org/ <<< I thought this was it? DOes this not work any longer? Feb 02 00:23:06 I thought it was just a overlay that needs to be applied to the /boot/uEnv.txt file under uboot_overlays? Feb 02 00:23:43 not that simple Feb 02 00:23:51 but that is not the reason i am switching Feb 02 00:23:58 Oh. Feb 02 00:48:43 I should be able to access the pru uart throguh gpio Feb 02 00:56:25 where is zmatt when you need him Feb 02 01:06:48 He got lost in another crowd. Feb 02 01:06:50 Busy. Feb 02 01:07:04 mattb0000ne: What are you trying to configure? Feb 02 01:07:49 using the py-uio Feb 02 01:07:49 pru uart via GPIO. I do not think that is configurable. Feb 02 01:07:52 Oh. Feb 02 01:07:54 Okay. Feb 02 01:07:59 was wondering if I could get to the pru UART normally Feb 02 01:08:04 it appears I cannot Feb 02 01:08:12 so /dev/ttyS0 Feb 02 01:08:23 but I can access with the pru code Feb 02 01:08:56 You can use PRU UART, just type config-pin whatever for that pin. Feb 02 01:09:04 Let me look it up. Feb 02 01:10:13 i got it already Feb 02 01:10:15 but thanks Feb 02 01:10:22 or I have something workable for right now Feb 02 01:10:33 i was getting frustrated since my loop back test were not workign Feb 02 01:12:39 Oh. Feb 02 01:12:41 Okay. Feb 02 01:12:43 No issue. Feb 02 01:12:47 Have fun! Feb 02 01:13:27 Scooby-Doo! **** ENDING LOGGING AT Tue Feb 02 02:59:57 2021