CrazyEddy has joined #beagle
mattb0ne has joined #beagle
<mattb0ne> anyone here use visual code
mattb0ne has quit [Ping timeout: 246 seconds]
<set_> GenTooMan: Are you around?
<set_> I finally got the tfmini code but I am receiving a new error. output: TypeError: 'NoneType' object is not subscriptable
<set_> Let me show you something...
mattb0ne has joined #beagle
<set_> So, somewhere, I am pretty sure I pinpointed the error, in the source is an error.
<set_> if reply[2] == 0x01: So, 0x01 is equal to None?
<set_> Blah.
<set_> Forget it. I will keep reviewing things.
thinkfat_ has joined #beagle
thinkfat has quit [Ping timeout: 252 seconds]
mattb0ne has quit [Ping timeout: 252 seconds]
<kveremitz> conventionally, 1 != 0
<zmatt> 0 also isn't None
<kveremitz> although I remember fondly misproving that when working on trigonometric identity reduction at college ..
<kveremitz> zmatt: or null :D
<kveremitz> or False or True LOL
<kveremitz> but in some languages they may be interpreted as such :D
CrazyEddy has quit [Remote host closed the connection]
cimpressi has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
samael has joined #beagle
LetoThe2nd has joined #beagle
Dudy has joined #beagle
rob_w has joined #beagle
charlie5 has joined #beagle
samael has quit [Ping timeout: 246 seconds]
samael has joined #beagle
bldr has quit [Ping timeout: 252 seconds]
bldr has joined #beagle
samael has quit [Ping timeout: 252 seconds]
samael has joined #beagle
bhagwat has joined #beagle
<bhagwat> hello all, any better way to do C coding on BBGW - beaglebone green wireless, instead of file operations.
<tbr> there are many many ways. It will be always somewhat dependent on how you work and deploy etc.
samael has quit [Ping timeout: 252 seconds]
<bhagwat> @tbr thank you for response. can you share some good links ? I have tried using file operations and using device tree..
florian has joined #beagle
samael has joined #beagle
<tbr> you are changing device tree?
<bhagwat> no, i am not changing device tree..
<tbr> so what are you doing?
<bhagwat> exploring ways to write C program, instead of file operations.. I am not used to Linux way of access I/Os
<bhagwat> looking out ways for standard BBGW coding in C language.
jduchniewicz31 has joined #beagle
<tbr> what do you mean by file operations?
<tbr> also do you mean bare metal programming or a linux userspace program?
samael has quit [Ping timeout: 252 seconds]
bhagwat has quit [Quit: Client closed]
samael has joined #beagle
<Dudy> Yes, I also just purchased BBGW, but many of examples are on BBB. I am interested in PRU but I am confused on PRU-GPIO it looks like not same with BBB, I am not sure but if anyone have knowledge on this it would help me also
_av500_ is now known as av500
av500 has quit [Quit: Konversation terminated!]
samael has quit [Ping timeout: 246 seconds]
paulbarker has joined #beagle
samael has joined #beagle
Shadyman has quit [Quit: Leaving.]
bhagwat has joined #beagle
<bhagwat> tbr i mean linux userspace program to access UART, GPIO, and I2C
<tbr> it's likely the easiest to just share the storage of the running device with your computer, e.g. through SMB/CIFS, NFS or SSHFS. Then you can edit the files in place. Run your build via e.g. SSH and execute it too.
<tbr> dudy: there should not be major differences except for the pins that are allocated to the wireless module. Also any recent image should automatically choose the right devicetree file
<bhagwat> tbr i am running program on BBGW via SSH. My question is are there any standard library like - set_gpio_direction(in/out) then set value instead of using /sys/class/gpio operations
<tbr> There are quite a few libraries. I'm not sure what the most recent and most efficient is. Maybe zmatt or someone else can chime in though.
bhagwat has quit [Quit: Client closed]
bhagwat has joined #beagle
bhagwat has quit [Quit: Client closed]
set_ has quit [Ping timeout: 258 seconds]
xet7 has joined #beagle
xet7 has quit [Remote host closed the connection]
xet7 has joined #beagle
<NishanthMenon> jkridner, on MPU MCU peripherals -> yes, they can to an extent be used across, but do keep in mind that MCU domain is designed to block out MPU domain peripherals. using across the domain is also going to be in-efficient from cycle performance wise (depends on operation).
alan_o has joined #beagle
bhagwat has joined #beagle
<bhagwat> @zmatt could you please guide us? is are there any standard library like - set_gpio_direction(in/out) then set value instead of using /sys/class/gpio operations
thinkfat_ has quit [Ping timeout: 246 seconds]
<alan_o> bhagwat: libgpiod
pbrobinson has quit []
pbrobinson has joined #beagle
lucascastro has joined #beagle
johanhenselmans has quit [Ping timeout: 240 seconds]
thinkfat has joined #beagle
Dudy has quit [Ping timeout: 246 seconds]
bhagwat has quit [Quit: Client closed]
rob_w has quit [Remote host closed the connection]
bhagwat has joined #beagle
thinkfat has quit [Ping timeout: 240 seconds]
<bhagwat> @alan_o with libgpiod getting compilation errors and it does not have UART.. so trying with "iobb" now..
TheMysticTurtle has joined #beagle
<TheMysticTurtle> hello!
<TheMysticTurtle> i have a hopefully quick question for you guys.
<TheMysticTurtle> i have a beaglebone AI. which i have set up and pinmuxed.
johanhenselmans has joined #beagle
<TheMysticTurtle> when i attempt to run the analogInOut.js out of the examples, i end up with this error
<TheMysticTurtle> Debugger listening on ws://127.0.0.1:15454/315ca3f4-fa29-4986-bd93-547c621dfa9b
<TheMysticTurtle> For help, see: https://nodejs.org/en/docs/inspector
<TheMysticTurtle> Debugger attached.
<TheMysticTurtle> Hit ^C to stop
<TheMysticTurtle> (node:2580) [INSPECTOR_ASYNC_STACK_TRACES_NOT_AVAILABLE] Warning: Warning: Async stack traces in debugger are not available on 32bit platforms. The feature is disabled.
<TheMysticTurtle> error: error updating PWM freq and value: undefined, Error: ENOENT: no such file or directory, open 'undefined/period'
<TheMysticTurtle> this is on pin 9.14 which i have set up properly i think (this is the first time i've ran it)
<TheMysticTurtle> P9.14 107 fast down 10 pwm 2 A pwm@48442200 (ehrpwm2)
<TheMysticTurtle> P9.16 108 fast down 10 pwm 2 B pwm@48442200 (ehrpwm2)
<TheMysticTurtle> when i just have it write the output from the analog in pin, i get the proper values and voltages from that sensor showing up.
otisolsen70 has joined #beagle
bhagwat has quit [Quit: Client closed]
jduchniewicz31 has quit [Quit: Client closed]
thinkfat has joined #beagle
thinkfat has quit [Client Quit]
thinkfat has joined #beagle
bhagwat has joined #beagle
thinkfat has quit [Read error: Connection reset by peer]
thinkfat has joined #beagle
thinkfat has quit [Ping timeout: 265 seconds]
thinkfat has joined #beagle
cimpressi has quit [Ping timeout: 252 seconds]
thinkfat has quit [Read error: Connection reset by peer]
thinkfat has joined #beagle
thinkfat has quit [Ping timeout: 272 seconds]
cimpressi has joined #beagle
thinkfat has joined #beagle
florian has quit [Quit: Ex-Chat]
johanhenselmans has quit [Ping timeout: 240 seconds]
thinkfat has quit [Ping timeout: 240 seconds]
bhagwat has quit [Quit: Client closed]
buzzmarshall has joined #beagle
bhagwat has joined #beagle
<TheMysticTurtle> is anyone free for a moment?
<zmatt> I'm not really awake yet, but maybe in a bit
<TheMysticTurtle> ah. cant start the morning without a proper dose of caffeine
mattb0ne has joined #beagle
samael has quit [Ping timeout: 252 seconds]
samael has joined #beagle
samael has quit [Ping timeout: 246 seconds]
samael has joined #beagle
bhagwat has quit [Quit: Client closed]
cimpressi has quit [Ping timeout: 252 seconds]
<zmatt> TheMysticTurtle: btw first of all, in the future please don't paste multi-line output into chat, it's a bit spammy. either trim it to the relevant part (in this case the actual error was only one line, the stuff above it about the debugger is irrelevant fluff) or share multi-line output using a paste service like pastebin.com (and then paste the url here)
<zmatt> TheMysticTurtle: I don't really have any experience with bonescript, it sounds like it maybe doesn't know what pin maps to what pwm on the beaglebone ai
<zmatt> I would generally not even bother using a library for controlling pwms... if the proper udev rule is in place to create convenient symlinks for them then configuring a pwm is like 3 lines of code in javascript and many other languages
<zmatt> that udev rule is /etc/udev/rules.d/81-pwm-noroot.rules ... unfortunately the current version of it has automatic exporting of pwms disabled, to fix that uncomment the two lines below "# automatically export pwm channels"
<zmatt> (see https://github.com/beagleboard/Latest-Images/issues/82 for the reason those lines were commented out)
<TheMysticTurtle> oh my
<zmatt> of course the fact that bonescript is failing is also clearly a bug
<TheMysticTurtle> sorry about the posting too much stuff there. I am more or less a total programming novice. my expertise lies in the industrial manufacturing realm.
<zmatt> in general, support for things on the bbai is still much shakier than other beaglebones
<TheMysticTurtle> so assume i have zero idea what you are talking about. more or less what i have done is followed a tutorial for setting up and pin muxing the BBAI. and i do have the pwm pins properly muxed. However, i think the example code used to convert analog in to pwm out isnt properly setting up the data the PWM controller is looking for. like it needs a
<TheMysticTurtle> duty cycle and frequency
<zmatt> which tutorial?
<TheMysticTurtle> process.stdout.write(inputPin + '-->' + outputPin + ': ' + (value*100).toFixed(1) + '% \r'); this is the line that confuses me. in the analongInOut.js example file.
<TheMysticTurtle> i get it is an equation. but i have no idea what -- or ': ' or '% /r' is
<zmatt> ah this still uses a custom dtb (based on an example from me), it should be much easier with the new overlay + cape-universal support but unfortunately it's been a while since a new image has been released for some reason (though I *think* this functionality should be part of the latest testing image? I should really update my bbai to that myself)
<zmatt> that's just formatting the output
<zmatt> like, that's literal text
<TheMysticTurtle> so its literally just outputting those numbers with that text in an equation? does it try to do anything weird with that text its adding or does the math still work out fine?
<zmatt> btw, this article hardcodes the path /sys/class/pwm/pwm-0:0 in various places... that's a really bad idea since the kernel will just assign those numbers in whatever order it encounters devices (hence if you enable more pwm outputs the numbering will change), it's better to use the symlinks in /dev/pwm/
<zmatt> TheMysticTurtle: so in javascript + works both for adding numbers and concatenating strings... 1+2 is 3, 1+'%' is '1%'
otisolsen70_ has joined #beagle
<TheMysticTurtle> interesting
<zmatt> yes, javascript has many "interesting" design choices
<TheMysticTurtle> is there a way to see the full blown file tree on the cloud9 IDE? the navigator on the left seems to leave several things out
<zmatt> dunno, I've never used cloud9
otisolsen70_ has quit [Remote host closed the connection]
<TheMysticTurtle> im not sure how to view the dymlinks in dev/pwm/. hmm
<TheMysticTurtle> there is so much information in regards to all of this it is proving to be difficult to find a decent starting point to comprehend the base concepts.
<zmatt> if you're uncomfortable with exploring using the commandline (via ssh) and want a graphical way to explore the filesystem, use an SFTP client
<TheMysticTurtle> More or less i am an R&D engineer. and i specialize in hardware design, jig/tool/fixture design. cnc programming. machining. metal fab and several other manufacturing processes. I have made a few custom automated machines for our testing facility. but i used matlab/simulink/stateflow with the rpi. Now they are wanting a touch screen HMI. more or
<TheMysticTurtle> less. and my next machine requires PID controlled pwm based off of an analog input from a differential pressure sensor
otisolsen70 has quit [Ping timeout: 272 seconds]
<zmatt> why are you using a beaglebone AI instead of a beaglebone black?
<mattb0ne> sounds cool
<TheMysticTurtle> because i also want to eventually build intelligent robotic minions.
<mattb0ne> yeah unless you are doing a neural network or something the AI just provides headaches
<TheMysticTurtle> i may have bit off more than i am able to chew purchasing this instead of a bbb
<zmatt> like, hopefully some day the bbai will be as easy to work with as the bbb... that day is not today
<TheMysticTurtle> However, i would very much like to delve into neural network/machine vision/machine learning. and the real time processors sounded interesting. you know, i was just so disappointed that the SPOT robot from boston dynamics ended up being 30 grand. and i can certainly build all of the required hardware and circuitry without a tremendous effort. But
<TheMysticTurtle> i have no idea how to go about the code part of it so i decided it was high time i learn after putting it off for the last 15 years
<zmatt> though I do wonder what the state of the latest testing image is... but I don't think I have a big enough sd card to test it
<TheMysticTurtle> I am fascinated by the LIDAR point mapping sensors. and would very much like to make machines that can scan their surroundings to create a point cloud. and then use pathfinding logic to avoid obstacles and route itself to its destination.
<TheMysticTurtle> that is far beyond the scope of this first project though..
<zmatt> TheMysticTurtle: like, if you're new to programming embedded systems, going straight into machine learning *might* be a bit much?
<zmatt> but yeah, that's definitely stuff for which the bbb is... less suited
<TheMysticTurtle> i didnt get where i am by being unambitious ;)
<zmatt> fair
<TheMysticTurtle> my mistake was not implementing a proper amount of research to determine that the BBAI was significantly different from the BBB in terms of its most basic functions. i thought it was like a BBB with the extra bells and whistles on it i could play with at my leisure lol
<zmatt> no unfortunately not, it's a completely different SoC
<zmatt> it's closer to a beagleboard-x15 crammed into the form-factor of a beaglebone
<TheMysticTurtle> i do not wish to burden you with the proposed task of mentoring someone so, noobish, for lack of a better term in this subject. But i would be more than willing to exchange tutoring if you have any other disciplines you are pursuing. If it involves making parts or components, or PCB's all the way up to three phase 480v wiring. I am likely either
<TheMysticTurtle> familiar with it, or have preformed it with good results at a professional capacity. :D
<zmatt> nah but thanks
<TheMysticTurtle> So maybe a good place to start would be with a regular BBB. and then once i have some semblance of how such systems work and what i am doing i would understand enough to delve into the BBAI realm?
<zmatt> yeah especially if you're also new to (embedded) linux
<zmatt> support for the BBB is just more mature, there are more resources for it (though I won't claim the state of documentation is great, and unfortunately a lot of resources are outdated/obsolete)
<mattb0ne> zmatt is a kind soul
<TheMysticTurtle> Or, are you currently seeking employment? I have been looking for a suitable programmer to add to our team. And talked with our various IT/cyber security/ app development personel. and none of them seem overly familiar with these concepts. .
<TheMysticTurtle> more or less. i can make machines using PLC's. ladder logic. and visually programmed state machines. But i am seeking to bridge the gap between these HMI button panels. and move into touch screen based GUI controls that tie into our system to take these test reports and recorded data and store them to be presented to clientele
<TheMysticTurtle> mattb0ne he does indeed seem to be a kind soul.
<zmatt> nope, I work as a software engineer (mainly low-level stuff) for a company that makes active speakers
<TheMysticTurtle> active speakers eh?
<TheMysticTurtle> my main electrical engineering mentor has specialized in studio/theater audio equipment, speaker design, and amplifier design for the last 30 years or so. I have managed to retain a fair portion of this information. If you guys would ever be interested in re-designing your speaker units amplifier/psu i do freelance work out of my personal R&D lab
<TheMysticTurtle> as well :) .
<zmatt> expensive ones ;) though I think we're on the lower-cost side in the market sector we're in... we were mentioned a few times in https://www.reddit.com/r/audiophile/comments/nldpon/if_price_wouldnt_matter_what_are_in_your_opinion/ alongside much much more expensive speakers
<TheMysticTurtle> the company i work for makes expensive windows and doors. Mostly the ones that adorn the side of sky scrapers and such. We even recently made some historically accurate, yet modernized replacement windows for the empire state building.
<zmatt> nice
<TheMysticTurtle> what is your speakers frequency response within a single phase? do you accomplish maintaining a proper sound stage through the use of multiple cones or have you narrowed down a specific cone with a wide frequency response in a single phase?
<TheMysticTurtle> not the polarity of the speaker. but the frequency range it can produce while the entire cone moves in and out at the same rate without any additional waves propagating through the cone.
<zmatt> so, I don't know all that much about speaker engineering myself and wasn't involved in that part... what do you mean by a "a single phase" ? keep in mind these are active speakers with embedded DSP, you don't directly drive the individual drivers yourself
<TheMysticTurtle> i have had some luck increasing this range on speakers by adding vibration dampening to the cone (As silly as that sounds) with a few small light weight pieces of foam tape applied in the shape of a T with the top of the T towards the center of the cone.
<TheMysticTurtle> so when they start out on the low end before they are in "phase" or they may even have multiple phases. you have the center and outer edges of the cone moving on the axis of the speaker's coil at different rates. this more or less makes a ripple or wave that propagates back and forth along the speaker cone, underminding its efforts to move the
<TheMysticTurtle> entire cone at the same rate of speed.
<TheMysticTurtle> then it will cross into a phase where it can play a range of frequencies and the cone will more or less maintain its proper shape and the whole thing moves at the same time. then it will cross back out of its phase and you'll get a wobbly cone trying to move in and out. which distorts the sound saves.
<TheMysticTurtle> when you have a few speakers. placed in L CNTR R and bass. and they can all play a decent frequency rage in the same phase. you end up with a "sound stage" where you can hear where all the instruments or vocalists. or effects in movies spatially around you as if it was in front of you
<zmatt> you seem to be talking about the frequency range of the various drivers
<zmatt> (phase is a strange word to use here, it has a rather specific meaning that doesn't seem relevant here)
<zmatt> or if not I don't know what you mean
<TheMysticTurtle> and once you have speakers move out of this phase range. it reduces that effect to each speaker having its own sound stage. where you hear the sounds coming from that speaker cone instead of being immersed in a seamless audio stage.
<TheMysticTurtle> hmm. i think it is not a very well pioneered subject in the world of audio.
<TheMysticTurtle> so typically the phase most people think of is getting your left and right. and positive negative leads hooked up correctly. so the cones of the different speakers are moving the same direction as they produce a note. but this is one step further down that path.
<zmatt> I definitely don't know what you mean, though it seems plausible enough that harmonic distortion from a driver could result in perceiving sound to come from the driver rather than from the virtual sound stage
<TheMysticTurtle> you know how the voice coil interacts with the magnet to move the cone in and out?
<zmatt> I know there are tons of details of what's going in a driver that can cause non-linearities
<TheMysticTurtle> ideally during this process the entire speaker cone moves in and out along that axis at the same rate. However, if you start trying to drive it too fast or too slow. the center of the cone will move in a direction before the outer edge is finished moving in the previous direction. so if you were to take a cross section of the cone viewing its edge
<TheMysticTurtle> as an angled line and view this phenomena. you would see that line wiggle. with a wave going down it. as the center of the cone was accelerated fast enough to cause that cone shape to warp
<TheMysticTurtle> anyways. way off subject lol
<zmatt> indeed
<TheMysticTurtle> i think cloud9 IDE is supposed to be akin to an SFTP client. it gives me a navigation tree with various folders and files to look at. but it doesnt show anything close to all the ones ive had to access/reference in the console
<zmatt> no the cloud9 IDE is an IDE, its file browser could very well be restricted to its own directory
<zmatt> using an SFTP client will definitely allow you to access files on the entire system
TheMysticTurtle has quit [Quit: Client closed]
TheMysticTurtle has joined #beagle
<TheMysticTurtle> the latest image of debian would be on BB's website right? i did just download and install AM5729 Debian 10.3 2020-04-06 8GB SD IoT TIDL from them. onto an SD card it is running off of currently
<TheMysticTurtle> i think i should find a proper SFTP next then. it would help me make a lot more sense of this
<zmatt> or get more comfortable using the linux commandline (via SSH)
<zmatt> (which will take more time, but will definitely be useful in the long term)
<zmatt> and yes the latest official release images are at https://beagleboard.org/latest-images
<zmatt> the latest testing images are at https://elinux.org/Beagleboard:Latest-images-testing
<zmatt> (and yes it seems the release schedule has been stuck for almost a year, I don't know why)
<TheMysticTurtle> is there an SFTP you'd recommend that will let you browse both ways and make correlations between them? i am a visual/kinesthetic learner.
<zmatt> not sure what you mean, you can just log in via SSH while also having an SFTP client open
<zmatt> (I don't have any recommendations on graphical SFTP clients, I don't have experience with any)
TheMysticTurtle has quit [Quit: Client closed]
TheMysticTurtle has joined #beagle
<TheMysticTurtle> I'll keep playing with this. I think i'll go ahead and order a regular BBB to play with as well. I do appreciate your time and patience in regards to my boundless ignorance on this subject lol
TheMysticTurtle has quit [Quit: Client closed]
mattb0ne has quit [Ping timeout: 246 seconds]
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
samael has quit [Ping timeout: 246 seconds]
set_ has joined #beagle
congratulated has joined #beagle
<set_> GenTooMan: !
<set_> i am exclamating you b/c of my prior conviction of solitude and the BBBW along w/ TFmini LiDar.
<GenTooMan> ?
<set_> GenTooMan: Did you not see my outlandish report?
* GenTooMan is just saying huh.
<set_> Oh.
<set_> Okay.
<set_> Hey!
<set_> What about THud or kapat!
<GenTooMan> so which outland swamp did you land in?
<set_> H.
<set_> Oops.
<set_> So, I was mowing today in 'da swamps of ole LA. Besides that, I am working on a LiDar.
<set_> Would you like to see some source or some bogus ideas that I have accumulated via online and the datasheet?
<set_> If you could only be bored enough!
<set_> It is near impossible to mow in the swamps, i.e. by the way.
<set_> Everything damn thing sinks.
<set_> Well, partially.
<set_> Bog me, swamp me, blah.
<set_> I still stink like frog barf.
<GenTooMan> you could look at ToF sensors from ST.
<set_> Aw.
<GenTooMan> I'm not sure of their distribution or target area size however.
<set_> Okay. I have this TFmini LiDAR sensor now. Are you aware of it being a sensor?
<set_> benewake produced it and left it in the dust many years ago. Obviously, they went big or went home. And! They nailed it w/ LiDAR.
<set_> So, I was thinking...
<set_> "Why not recoup the ole idea and start anew?"
<set_> Like frangrance from the toad-ta-strophy today.
<set_> Anyway...
<set_> Anyway, the reason I am in the swamp is this: "Eels attach me in the lagoons and coves."
<set_> attack. Sorry.
<set_> I hate barracudas too!
<set_> Process in time. I will stay patient.
<set_> Sorry.
<set_> https://pastebin.com/tYFxdfpW is the odd source that used to work. I cannot get it to do squat these days.
<set_> I tried config-pin, I look in the .dts files, and poof. I think something has changed.
<set_> It may be the 115200 baudrate. Hmm.
<GenTooMan> LiDAR is the same as a ToF sensor FYI (ToF Time Of Flight) St micro makes a few, if you go to page 3 of your sensors manual (file:///tmp/mozilla_cyberman0/TF-MINI-LIDAR-USER-MANUAL.pdf) you will see what I was talking about in target size.
<set_> I always use 9600 b/c of a good base use factor.
<set_> Oh.
<set_> Okay.
<set_> TFmini is small!
<set_> I got one!
<GenTooMan> The manual says it updates at 100Hz with a resolution of 1 cm.
<set_> Oh.
<set_> Let me check my datasheet again.
<set_> Dang it. Yep.
<GenTooMan> that gives you a ratio of 700:1 if for example it can measure 7 meters with 1cm accuracy.
<set_> Oh. Is that accuracy?
<GenTooMan> hmm dang I gave the wrong URL I hate Firefox.
<set_> Ha.
<set_> SparkFun has the same datasheet.
<set_> Benewake!
<GenTooMan> http://en.benewake.com/ <-- says "ToF" LiDAR sensor :D
<set_> Okay, okay.
<set_> So, are you saying I should get another ToF LiDAR sensor or stick w/ this one?
<GenTooMan> Well I'm saying understand what it is. That is more important than having one. It's possible to use it for example 3d mapping the area around your robot.
<set_> I mean, it can handle 5v input, 3.3v UART connections (supposedly), and used to work. I guess I will use what you are saying and try something more.
<set_> Really?
<set_> I just thought it read light?
<set_> Shadows and light expectancy...etc.
<set_> reflection/expectancy/sort of the same...
<set_> So, it is sort of like that ole OpenCV source. You shade your blue ball w/ grayscale, knock out the light, and then convert it to black and white.
<set_> But...you are right.
<set_> I should learn more about the product and its history first.
<set_> I just read this plain-Jane datasheets expecting to see the 'light' and I get only so far.
<set_> More books...argh.
<set_> Well, on another note, I have been trying to finish a couple books. I got some Python books on numpy, pandas, and matplotlib which cries out read me but has so much source in it.
<set_> Then, the fellow discusses the source only. It is nifty, ToF for balls and things.
<set_> You know...projectile balls shot off at a specific velocity.
<set_> Like canons.
<set_> Poof.
<GenTooMan> It like measures distance.
<GenTooMan> benewake gives a detailed description of what it can do as well. IE target size per unit distance it can detect.
<set_> Right. I see and I saw.
<set_> Via light!
<GenTooMan> so for example if you have a spherical head that can angle the sensor precisely and measure distance you can get a map of the area around the sensor. It would likely be slow but 100hz you can do 100 samples per second so you could. map in 100 seconds a angular grid of 100x100 then use the distances returned to create a "map" of the area around it.
<GenTooMan> just an example of the type of things you could experiment with.
<set_> Nice.
<set_> I am just trying to get it to work first, steadily, and then return data from the BBBW.
<set_> It worked once upon a time. But...
<set_> I see what you were saying earlier.
<set_> Things, at mostly every time, can do more than just reflection and sending.
<set_> I mean...
<set_> I knew of ToF and LiDAR being used for mapping but I always thought this exact model was for specific use.
<set_> e.g. returning concise depth.
<GenTooMan> Well if all you are doing is finding the distance to a wall I guess that's fine.
<set_> Ha.
<set_> That was the idea at first. Well, my hand.
<set_> Just to get boundaries and working order.
<set_> If I ever map w/ it, you will be the first to know.
LetoThe2nd has quit [Quit: Connection closed for inactivity]
<GenTooMan> Just an FYI to help you gain perspective this is ST's line up https://www.st.com/en/imaging-and-photonics-solutions/time-of-flight-sensors.html#products
<GenTooMan> they are VERY small
<set_> Wozzers.
<set_> Yep.
<set_> I found an Open Source API for this sort of thing. "SHould I try it?"
<GenTooMan> set_, first you probably should get your sensor back to working. did you verify all connections too it?
<set_> Yes.
<set_> GenTooMan:!
<set_> Did you see that lackadasical source?
<set_> I mean...the source uses pyserial from pip3. I used to have to use python but python3 is what is used now. So, it runs, no errors from output, but there is nothing on output. Nothing. No errors, nothing.
<set_> Topography was my first love, injury, and lack of resourcefuls at the most.
<GenTooMan> well you wanted the universal yard mans magic a self propelled mawn lower.
russ has quit [Remote host closed the connection]
<set_> Right. But...forgive me. The fellow died.
<set_> I had to move on w/out retribution.
<set_> In that source, I am not sure exactly what the 'hex' does in it. Is it just a way to read actual hex data?
<set_> i.e. 0x01 or whatever?
<set_> I think in this source it is 0x59.
<set_> I need an idea to run on I guess but not really... It is of no interest to me what actually happens, i.e. as long as it happens (Stephan King 1999).
<set_> Just kidding.
russ has joined #beagle
<set_> GenTooMan: I will plug in the BBBW but this hex business needs to be known to me. I guess I will go and look it up.
<set_> So, I need to tell Python3 exactly what hex is being used to account for Y?
<set_> GenTooMan: I made it to 6.1 on the datasheet.
<set_> Oh.
<set_> How do you turn hexadecimal output data into readable data?
<set_> Ga-ga-Google...to the rescue!
jgnoss has joined #beagle
<jgnoss> is there any news to use SGX with buster on a beaglebone black or do I need to use stretch to get it work?