buzzmarshall has joined #beagle
<set_> "From scratch" and better examples are on the way!
vagrantc has quit [Quit: leaving]
<set_> Ha.
mattb0ne has quit [Quit: Leaving]
mattb0ne has joined #beagle
<set_> Hey! What are you guys doing?
<set_> They have x11 forwardin' on WSL2 now for apps. I am going to give it a whirl.
<set_> For testing and then to port that to the BBB!
<set_> That is all...for now.
<set_> For instance, that SGX is something I can try finally now that the info. came out on my side of things.
starblue2 has joined #beagle
starblue1 has quit [Ping timeout: 265 seconds]
Guest71 has joined #beagle
<set_> I know I am being set_ here but how did anyone, whomever is in charge of librobotcontrol, know to get info. on algebraic expressions for computations on the BBBlue and librobotcontrol?
<set_> Sorry...
<set_> That came out awkward as usual. How did you know to look and where did you look for these expressions?
<mattb0ne> may have better luck reaching out to contributors
<mattb0ne> or posting on stackoverflow
<set_> Okay.
<set_> Thank you for answering.
<mattb0ne> I have a feeling you will have your questions pulled because they are incomplete thoughts
<set_> Got it.
<mattb0ne> what are you doing
<mattb0ne> i have read your chats for months and I have no clue what you are trying to accomplish
<set_> Well...
<mattb0ne> what happen to the drone
<set_> I was attempting to fly the BBBlue w/ ArduPilot for a good time. This good time turned into a failure. I moved on emotionally and physically/mentally.
<set_> So,
<set_> That is out.
<set_> Now! I am attempting other things.
<set_> I got librobotcontrol to work previously. So...
<set_> I am going to type up something in and w/in the librobotcontrol source for execution.
<mattb0ne> I think that is a mistake
<mattb0ne> you stick with it until you understand and triumph
<mattb0ne> then you move on
<mattb0ne> imho you will get more help if people know you are not just going to cut and run
<mattb0ne> why should they invest in your probelm if you are not
<mattb0ne> just my two cents
xet7 has quit [Ping timeout: 265 seconds]
<set_> Oh.
<set_> Yea...I get it.
<set_> Stick w/ it until the end. That is an okay evaluation.
<mattb0ne> just advice
<set_> I am just not going to do it any longer. The process of ArduPilot and the BBBlue has ceased on my end and many other persons' ends too.
<set_> The actual developer that ported it to the am335x and BBBlue has stopped development.
<set_> he has not discussed anything w/ me ever. So, I do not owe him anything. I just thought it was a nice project.
<set_> For instance...they picked up the stm-32 development from what I understand for arm Ardupilot ideas.
<set_> It is by far the same but that is what they want to do now.
thinkfat_ has joined #beagle
thinkfat has quit [Ping timeout: 268 seconds]
<mattb0ne> anyone use the csv module in python i am trying to write data to a file and I just see Chinese/Japanese symbols
starblue3 has joined #beagle
Guest71 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
starblue2 has quit [Ping timeout: 250 seconds]
<mattb0ne> arrrggggg!
<mattb0ne> ok nm
<mattb0ne> pro tip
<mattb0ne> utf-8 looks like chinese symbols to utf-16
outrageous_ has joined #beagle
outrageous has quit [Ping timeout: 265 seconds]
<zmatt> uhh why are you using utf-16 ?
<zmatt> (or why does whatever you're using think it's utf-16 ?)
<mattb0ne> libre office defaulted to that for some reason
<mattb0ne> didnt notice
<zmatt> that sounds really bizarre if true
<mattb0ne> or maybe I might of changed it and it doesnt autodetect at all
<mattb0ne> made the file with csv
<mattb0ne> anyways works
<mattb0ne> since you are here
<mattb0ne> ok let me look at the pastebin first lol
<mattb0ne> so looking at code I see the time being reported to the tenth of a second
<zmatt> what code?
<mattb0ne> the string format for that to show it as 0.0 would be what and how could I get it to show to hundredth of a second
<mattb0ne> this is your timestamp code you gave me
<zmatt> I gave all sorts of code
<zmatt> nothing is being printed/formatted in what you pasted
<zmatt> (the timestamp itself has 5ns precision)
<mattb0ne> i need to divide by the right number and let the string format do the rest
<mattb0ne> the goal is hh:mm:ss:ms
<zmatt> 08f is a really strange format specifier
<mattb0ne> yeah it is wrong
<mattb0ne> i am trying to find a good tutorial on format spec
<mattb0ne> right now I do some division to get hwere I need to go
<mattb0ne> not ideal
<mattb0ne> division and modding
<zmatt> 08f means the same as 8f (the 0 prefix makes no sense for floating-point format specifiers)
<zmatt> which requests the total size of the field to be 8 characters
<mattb0ne> time=0.00248582
<mattb0ne> so what is messing me up is it should be like 24858.2 right ?
<mattb0ne> i guess that based on how fast is scrolling
<zmatt> actually no, hmm, I'm not sure what 8f does
<zmatt> if you want 1 decimal, use .1f
<zmatt> oh it seems the 0 prefix does work for floats, but when using 8f it just doesn't show because it's already 8 wide
<zmatt> *at least 8 wide
<zmatt> it looks like the default precision is 6 decimals, so 8f acts like 8.6f
<zmatt> (total width at least 8 chars, 6 decimals)
<mattb0ne> ok
<zmatt> also I assume you want .nnn for miliseconds and not :nn like your earlier stated "goal" seemed to imply :P
<mattb0ne> you are correct
<zmatt> hmm, for that formatting with microsecond resolution there's a nice standard function
<zmatt> not so much for milisecond resolution
<zmatt> https://pastebin.com/8kCFcKVR both versions
<zmatt> (obviously if you choose to use the latter, put the import somewhere at the top of your file)
<mattb0ne> sweeet
<mattb0ne> so I like option 1
<mattb0ne> but it is frozen
<mattb0ne> 00:00:00:000
<mattb0ne> the entrie time
<mattb0ne> entire
<zmatt> then you probably broke the updating of timestamp_cycle for some reason? I don't know why, since there's no reason to have touched that code at all
<mattb0ne> hod on
<zmatt> why are you putting the timestamp formatting inside the loop?
<zmatt> I don't see a reason why that would be a proble, but it definitely is completely redundant
<mattb0ne> still frozen
<zmatt> also, you should probably check if ridx == widx before the message processing loop and just return if that's the case
<zmatt> otherwise your code at the bottom has nothing to print
<zmatt> that also removes the need to initialize the position/force/timestamp variables before the loop (since the loop will then be gauranteed to have at least one iteration)
<zmatt> anyway, I see no obvious reason for the timestamp updating to be broken... are you sure you're receiving messages at all?
<mattb0ne> other stuff changes
<mattb0ne> the individual variables work
<mattb0ne> just the timestamp
<mattb0ne> actually only timestamp_cycles works
<mattb0ne> all the other variables are frozen
<zmatt> I have no clue what could be causing what you're describing, it doesn't make actual sense
<zmatt> like, all the other vars are calculated form timestamp_cycles
<zmatt> *from
<mattb0ne> i know
<mattb0ne> i broke somethign
<mattb0ne> i will stare at it tomorrow
<zmatt> btw I presume you're discarding all but the last message of each batch just because you're printing data to the terminal for testing purposes and there's no point in trying to update that faster? I seem to recall the reason for sending all measurements to python is because your intention is to eventually plot the data as a graph
<zmatt> my version still doesn't work?
<mattb0ne> testing now
<mattb0ne> still froze
<mattb0ne> i will troubleshoot tomorrow
Posterdati has quit [Ping timeout: 265 seconds]
<zmatt> there really isn't any way for the timestamp to be frozen unless timestamp_cycles is frozen... it's just some numbers calculated from it
<zmatt> (and the calculation works here)
<mattb0ne> that is what is weird timestamp_cycles works
<mattb0ne> and is active
<mattb0ne> just everything else
<mattb0ne> my brain is dead
<mattb0ne> i will pick it up tomorrow
Posterdati has joined #beagle
mattb0ne has quit [Ping timeout: 246 seconds]
<set_> Oh...csv.
<set_> Too late...no!
<set_> It is past 10:00, sorry.
mattb0ne has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
mattb0ne has quit [Ping timeout: 250 seconds]
leah_ has quit [Quit: Konversation terminated!]
charlie5 has quit [Ping timeout: 252 seconds]
rob_w has joined #beagle
charlie5 has joined #beagle
samael has joined #beagle
LetoThe2nd has joined #beagle
Shadyman has quit [Remote host closed the connection]
rob_w has quit [Quit: Leaving]
xet7 has joined #beagle
xet7 has quit [Remote host closed the connection]
xet7 has joined #beagle
rob_w has joined #beagle
set_ has quit [Quit: I thought I saw a puddy-cat...]
LetoThe2nd has quit [Quit: Connection closed for inactivity]
otisolsen70 has joined #beagle
mattb0ne has joined #beagle
charlie5 has quit [Quit: Leaving.]
charlie5 has joined #beagle
buzzmarshall has joined #beagle
Guest71 has joined #beagle
GenTooMan has quit [Ping timeout: 240 seconds]
GenTooMan has joined #beagle
otisolsen70 has quit [Quit: Leaving]
Guest71 has quit [Remote host closed the connection]
rcn-ee has quit [Remote host closed the connection]
_whitelogger has joined #beagle
mattb0ne has quit [Ping timeout: 252 seconds]
akaWolf has quit [Ping timeout: 265 seconds]
akaWolf has joined #beagle
johanhenselmans has quit [Quit: johanhenselmans]
johanhenselmans has joined #beagle
Shadyman has joined #beagle
samael has quit [Ping timeout: 246 seconds]
lucascastro has quit [Ping timeout: 258 seconds]
Guest5311 has joined #beagle
<Guest5311> I would need PCB specification (UL no) for BBBWL-SC-562
Guest5311 has quit [Client Quit]
<zmatt> I think the distributor has final responsibility over ensuring certifications? not sure
<zmatt> if the information you're looking for is not in https://github.com/beagleboard/beaglebone-black-wireless/tree/master/regulatory then I suggest you contact a distributor
<zmatt> oh he left
Konsgn has joined #beagle
Konsgn has quit [Client Quit]
Konsgn has joined #beagle
Konsgn has quit [Client Quit]
Konsgn has joined #beagle
Konsgn has quit [Client Quit]
v0n has quit [Ping timeout: 272 seconds]
Konsgn has joined #beagle
alan_o has quit [Ping timeout: 240 seconds]
alan_o has joined #beagle
alan_o has quit [Remote host closed the connection]
alan_o has joined #beagle
lucascastro has joined #beagle
vagrantc has joined #beagle
lucascastro has quit [Ping timeout: 256 seconds]
lucascastro has joined #beagle
lucascastro has quit [Client Quit]
xet7 has quit [Remote host closed the connection]
xet7 has joined #beagle
set_ has joined #beagle
av500 has quit [Read error: Connection reset by peer]
av500 has joined #beagle
mattb0ne has joined #beagle
Konsgn has quit [Quit: Leaving]
rob_w has quit [Read error: Connection reset by peer]
zjason has quit [Read error: Connection reset by peer]
zjason has joined #beagle
<mattb0ne> is // not defined in python or something
<zmatt> python3 -c 'print( 123 // 10 )'
<zmatt> prints 12 for me
<zmatt> (// is floored division)
<mattb0ne> i am playing with that time stamp thing
<mattb0ne> ok it changed but it looks like the the timestamp cycles is too slow
<zmatt> 'too slow' ?
<mattb0ne> so it is not frozen but takes forever to increment
<mattb0ne> like even the millisecond
<zmatt> uhh
<mattb0ne> i am checking my C code to make sure I did not mess up something
<zmatt> pastebin it
<mattb0ne> which
<zmatt> C
<mattb0ne> ok
<zmatt> or both
<mattb0ne> it takes like 2 min for the ms to tick once
<zmatt> yeah you mixed different things
<mattb0ne> oh
<zmatt> notice how in your code there's a function called timestamp_cycles()
<zmatt> guess what, that returns the timestamp in cycles
<mattb0ne> ok
<zmatt> you can get rid of timestamp() on the pru side
<mattb0ne> ok
<mattb0ne> and put cycles
<zmatt> timestamp() was an example on how to make a timestamp that has larger range but lower resolution
<mattb0ne> just to make sure this is the one that will wrap in 21 days
<zmatt> I gave you versions with comments
<mattb0ne> right need to dig I need a zmatt snippets folder
<mattb0ne> doesnt really matter I call it offten
<zmatt> https://pastebin.com/PBXzCFAD this is those two functions with comments
<zmatt> timestamp_cycles() doesn't itself care how often you call it, but when using cycle-timestamps python will need to process a timestamp (i.e. update its local timestamp_cycles) at least once every 21 seconds
<zmatt> but like you said, that's not really much of a constraint to worry about since you intend to process data continuously
<zmatt> timestamp() might be useful if PRU itself has a need to do computations with time intervals that span more than 21 seconds
<zmatt> otherwise just stick to timestamp_cycles()
<mattb0ne> now it works
<mattb0ne> WOOT!!!
russell-1 has quit [Changing host]
russell-1 has joined #beagle
russell-1 is now known as russell--
russ has quit [Quit: Leaving]
vagrantc has quit [*.net *.split]
alan_o has quit [*.net *.split]
johanhenselmans has quit [*.net *.split]
akaWolf has quit [*.net *.split]
charlie5 has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
zjason has quit [*.net *.split]
set_ has quit [*.net *.split]
russell-- has quit [*.net *.split]
MrAureliusR has quit [*.net *.split]
bradfa has quit [*.net *.split]
drewfustini has quit [*.net *.split]
outrageous_ has quit [*.net *.split]
av500 has quit [*.net *.split]
xet7 has quit [*.net *.split]
calculus has quit [*.net *.split]
ft has quit [*.net *.split]
waldo323__ has quit [*.net *.split]
Shadyman has quit [*.net *.split]
buzzmarshall has quit [*.net *.split]
dinuxbg has quit [*.net *.split]
moto-timo has quit [*.net *.split]
mturquette has quit [*.net *.split]
ds2 has quit [*.net *.split]
signal11 has quit [*.net *.split]
Daulity has quit [*.net *.split]
noahm has quit [*.net *.split]
Patater has quit [*.net *.split]
sicelo has quit [*.net *.split]
mvaittin has quit [*.net *.split]
vitorio has quit [*.net *.split]
frostsnow has quit [*.net *.split]
samnob has quit [*.net *.split]
Duality has quit [*.net *.split]
agraf has quit [*.net *.split]
dlan has quit [*.net *.split]
CygniX has quit [*.net *.split]
mru has quit [*.net *.split]
jkridner[m] has quit [*.net *.split]
shoragan[m] has quit [*.net *.split]
philenotfound has quit [*.net *.split]
jkridner has quit [*.net *.split]
tbr has quit [*.net *.split]
bldr has quit [*.net *.split]
denix has quit [*.net *.split]
ogra has quit [*.net *.split]
kona_ has quit [*.net *.split]
ketas has quit [*.net *.split]
shoragan has quit [*.net *.split]
dbohdan has quit [*.net *.split]
crazymax has quit [*.net *.split]
vigneshr has quit [*.net *.split]
pbrobinson has quit [*.net *.split]
ajcc has quit [*.net *.split]
zmatt has quit [*.net *.split]
mawk has quit [*.net *.split]
djinni_ has quit [*.net *.split]
insurgent has quit [*.net *.split]
veremitz has quit [*.net *.split]
mgsb has quit [*.net *.split]
NishanthMenon has quit [*.net *.split]
x56 has quit [*.net *.split]
insurgent has joined #beagle
dinuxbg has joined #beagle
buzzmarshall has joined #beagle
Shadyman has joined #beagle
CrazyEddy has joined #beagle
MrAureliusR has joined #beagle
charlie5 has joined #beagle
russell-- has joined #beagle
set_ has joined #beagle
akaWolf has joined #beagle
zjason has joined #beagle
denix has joined #beagle
pbrobinson has joined #beagle
ajcc has joined #beagle
vigneshr has joined #beagle
crazymax has joined #beagle
shoragan has joined #beagle
dbohdan has joined #beagle
waldo323__ has joined #beagle
ft has joined #beagle
ds2 has joined #beagle
mturquette has joined #beagle
moto-timo has joined #beagle
NishanthMenon has joined #beagle
mgsb has joined #beagle
zmatt has joined #beagle
x56 has joined #beagle
veremitz has joined #beagle
djinni_ has joined #beagle
mawk has joined #beagle
Duality has joined #beagle
dlan has joined #beagle
CygniX has joined #beagle
mru has joined #beagle
agraf has joined #beagle
bradfa has joined #beagle
outrageous_ has joined #beagle
drewfustini has joined #beagle
av500 has joined #beagle
calculus has joined #beagle
xet7 has joined #beagle
samnob has joined #beagle
frostsnow has joined #beagle
mvaittin has joined #beagle
vitorio has joined #beagle
ogra has joined #beagle
ketas has joined #beagle
kona_ has joined #beagle
jkridner[m] has joined #beagle
shoragan[m] has joined #beagle
philenotfound has joined #beagle
bldr has joined #beagle
tbr has joined #beagle
jkridner has joined #beagle
signal11 has joined #beagle
Daulity has joined #beagle
noahm has joined #beagle
sicelo has joined #beagle
Patater has joined #beagle
alan_o has joined #beagle
johanhenselmans has joined #beagle
vagrantc has joined #beagle
jkridner[m] has quit [Ping timeout: 272 seconds]
shoragan[m] has quit [Ping timeout: 272 seconds]
mvaittin has quit [Ping timeout: 272 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
mattb0ne has quit [Remote host closed the connection]
mastermind has joined #beagle
mastermind is now known as mattb0ne
<mattb0ne> zmatt: how do I put a line break in a formatted string
<mattb0ne> \n does not work
<mattb0ne> neither does \r
<mattb0ne> also /r/n doesint work i get ?? in my output
<mattb0ne> so f'something \r\n something' does not give two lines