#robotics Logs
Oct 02 2017
#robotics Calendar
12:36 AM Jak_o_Shadows: alarm clock updated with a n ot-terrible communications protocol
12:39 AM tttb: i have realised why there is no point fearing the singularity
12:39 AM tttb: the machines will know how precious life is
12:51 AM drekipus: implying life is precious
12:59 AM rue_bed: if its all written as macros, you can ask the compiler to give you the resulting code, which will have everything clearned out
01:00 AM rue_bed: I want to make a program that draws a tree diagram of the branch paths of a program
01:03 AM rue_bed: assuming nobody uses a jump table, every branch is a binary execution split
06:23 AM SpeedEvil: rue_bed: you do know that exists?
06:24 AM SpeedEvil: https://www.hex-rays.com/products/ida/support/idadoc/1376.shtml
09:29 AM rue_house: hmm
09:29 AM rue_house: no gallery of its results
09:30 AM rue_house: I wonder if it'll compile
09:31 AM rue_house: oh its commercial software...
09:50 AM SpeedEvil: Control flow analysis is the general term
09:41 PM rue_shop3: ok, fixed the dead power supply fan
10:06 PM drekipus: rue_shop3, got it working: https://www.youtube.com/watch?v=HLRChuJEiAg
10:06 PM drekipus: the rotation figure is off, but the fact that it's got rotation is a good thing
11:40 PM rue_shop3: so, one of the fellows I know pointed out an intersting thing
11:40 PM rue_shop3: using a stepper as a HID rotation sensor
11:41 PM rue_shop3: they aren't suitable for feedback positioning, but if you miss a few pulses from a human it dosn't matter
11:42 PM rue_shop3: drekipus, cool, what did the math you used end up looking like?
11:45 PM Triffid_Hunter: rue_shop3: bldc with halls would be even better
11:45 PM Triffid_Hunter: steppers' output voltage depends on speed so if someone turns it slow, your circuit will miss basically everything
11:47 PM rue_shop3: yea
11:47 PM rue_shop3: but like I say, a few missing steps dont matter if its just a human spinning a knob
11:47 PM rue_shop3: the op-amp circuit I made last night was SO sensitive, it was pickup someone talking across the room as signal noise
11:47 PM rue_shop3: with a stepper motor
11:48 PM rue_shop3: 8-|
11:48 PM rue_shop3: "wait, quiet, ....say that again..."
11:48 PM rue_shop3: ... that line noise is ..... yea, its 1:1 with the jukebox audio...
11:57 PM drekipus: rue_shop3, dead simple (re: maths)
11:57 PM drekipus: dx = (xa+xb)/2
11:57 PM drekipus: dy = (ya+yb)/2
11:57 PM drekipus: dr = (yb-ya)/20
11:57 PM drekipus: where 20 is the length between them ( not in this case, I just put it there as a tester)
11:59 PM drekipus: I mean if you think about it, only the y is going to be changing in terms of rotation. x will always be translation. average of them (accounting for noise tbh) gives x, [✔] Same for y