#robotics Logs

Sep 01 2017

#robotics Calendar

12:01 AM rue_shop3: ok, I'm awake
12:04 AM rue_shop3: I need to set up food, and route wires on a board
02:35 AM rue_shop3: ok I think I usually use green for clock
02:35 AM rue_shop3: "go"
02:35 AM rue_shop3: so, reset, should be yellow?
02:35 AM rue_shop3: that dosn't work
03:23 AM Jak_o_Shadows: Now, you want something that plays it back yeah?
03:23 AM rue_shop3: yea, I figured that took about half an hour, ok, ONE of the 4017 is wired up
03:24 AM rue_shop3: I ahve a playback program
03:24 AM rue_shop3: I tried to tell ya
03:25 AM rue_shop3: the &255 trims off the high bits
03:25 AM rue_shop3: did you see the github link?
03:26 AM Jak_o_Shadows: aye.
03:26 AM Jak_o_Shadows: So you wanted what?
03:27 AM rue_shop3: to tell you I have a playback program if you want
03:27 AM Jak_o_Shadows: ah.
03:27 AM Jak_o_Shadows: yeah, I saw that
03:27 AM Jak_o_Shadows: Definitely going to look at it
03:27 AM rue_shop3: ok
03:27 AM Jak_o_Shadows: It's been open since you linked it
03:27 AM anonnumberanon: Sorry its 4 am im too tired cant work on it.
03:28 AM rue_shop3: Jak_o_Shadows, I'm not talking the python, the C one
03:28 AM anonnumberanon: Ill start getting sinked into it and never sleep.
03:28 AM Jak_o_Shadows: Yeah. the github one. It's been open since I linked it
03:28 AM rue_shop3: ok
03:28 AM rue_shop3: https://github.com/ruenahcmohr
03:28 AM rue_shop3: I found me!
03:28 AM Jak_o_Shadows: oh, of course, & 0xFF trims off the high bits cause you can't (uint8_t) it
03:29 AM rue_shop3: Jak_o_Shadows, thanks for the chr() didn't know about that
03:29 AM Jak_o_Shadows: Yeah, taht chr() was 9/10ths of the struggle getting it working in the first place
03:29 AM rue_shop3: but, for the life of me, I cant justify your array manipulation in your python code
03:29 AM Jak_o_Shadows: hehehehe
03:30 AM rue_shop3: Jak_o_Shadows, roboPlayer, ok, good, I exist.
03:30 AM rue_shop3: I cant understand why your turning the array (?)
03:30 AM Jak_o_Shadows: was this in gui or in conn2?
03:30 AM Jak_o_Shadows: probably gui
03:31 AM rue_shop3: ...
03:31 AM rue_shop3: the console one iirc
03:31 AM Jak_o_Shadows: oh.
03:31 AM rue_shop3: you create 3 arrays and then turn them 90* to make the array you output
03:31 AM rue_shop3: 8S
03:31 AM Jak_o_Shadows: Nah. Not turning them, flattening them.
03:32 AM Jak_o_Shadows: It's so the serial part can be dumb as bricks
03:32 AM rue_shop3: why didn't you just create the arrays as the literal packets in the first place?
03:32 AM Jak_o_Shadows: BECAUSE REASONS
03:32 AM Jak_o_Shadows: I don't know
03:32 AM rue_shop3: hahah
03:33 AM anonnumberanon: Ur remakin a scc-32?
03:33 AM rue_shop3: well, I added the supplies and a bunch of wires
03:33 AM rue_shop3: I'm making the ssc24
03:33 AM rue_shop3: for my hexapod
03:33 AM rue_shop3: it uses an stm32
03:34 AM rue_shop3: anonnumberanon, for that code your doing, I have an m328 board that does 8 channels
03:34 AM rue_shop3: I have a m328 with 2x 4017 that does 16 channels
03:34 AM anonnumberanon: Wat code
03:34 AM rue_shop3: and a stm32 that does 24 channels, could do 32 channels, or up to 88 channels
03:34 AM anonnumberanon: Wat code
03:35 AM rue_shop3: anonnumberanon, I think I asked if you wanted it
03:35 AM anonnumberanon: Wat code
03:35 AM rue_shop3: anonnumberanon, have a spare arduino laying around?
03:35 AM anonnumberanon: Wat code
03:35 AM Jak_o_Shadows: I bought some 4017's btw
03:35 AM * rue_shop3 pushes the reset button on anonnumberanon
03:35 AM rue_shop3: Jak_o_Shadows, I'm glad to see I'v corrupted you
03:35 AM rue_shop3: ~the evil spreads~
03:35 AM * anonnumberanon is a sequential brain
03:35 AM rue_shop3: CHEAP AS DIRT
03:36 AM anonnumberanon: Not parallel
03:36 AM rue_shop3: beleive me, the task swapping of parallel processing isn't worth it
03:36 AM rue_shop3: anonnumberanon, so, you have an arduino?
03:36 AM anonnumberanon: I have no electronics stuff out
03:36 AM * rue_shop3 hopes anonnumberanon dosn't lock up again
03:36 AM rue_shop3: *posses*
03:37 AM rue_shop3: do you own an uno?
03:37 AM rue_shop3: or 3 :)
03:37 AM anonnumberanon: Im not sure
03:37 AM Jak_o_Shadows: I figure I want the pca9685 for the christmas lights.
03:37 AM rue_shop3: INDEXNOTFOUND ?
03:37 AM rue_shop3: Jak_o_Shadows, much more suitable
03:37 AM Jak_o_Shadows: Latley i've been considering my mosfets & whether the pca9685 is high enough voltage to turn them fully on
03:38 AM rue_shop3: isn't the 9685 O/C output?
03:38 AM anonnumberanon: I should make an inventory of my electronics
03:38 AM Jak_o_Shadows: hmm. hmmm
03:38 AM anonnumberanon: Pull out my servo controller prototype
03:38 AM rue_shop3: resistor 1pcs
03:38 AM rue_shop3: led 1pcd
03:39 AM rue_shop3: -- end of list --
03:39 AM rue_shop3: Jak_o_Shadows, ok, use IRFL44
03:39 AM rue_shop3: logic level gate
03:40 AM * anonnumberanon looks in nearest box
03:40 AM rue_shop3: and, surprisingly, not that much more from china
03:40 AM anonnumberanon: Sees pro mini
03:40 AM Jak_o_Shadows: yeah. That is my thought, buy some logic level ones
03:40 AM rue_shop3: anonnumberanon, pro mini is perfect
03:40 AM anonnumberanon: I actually regreted buying them rue
03:40 AM anonnumberanon: U know why?
03:41 AM anonnumberanon: It was too small for prototyping
03:41 AM anonnumberanon: I kept short circuiting them
03:42 AM Jak_o_Shadows: Oh, neato. There's an example in the datasheet for the circuit for a n-channel mosfet
03:42 AM anonnumberanon: I prefer an atmega 328 pdip package and adding the stuff that runs it
03:42 AM anonnumberanon: Its larger
03:43 AM anonnumberanon: Easier to integrate onto a project board and can be swapped out easily
03:43 AM anonnumberanon: But you must have the proper sockets
03:43 AM rue_shop3: wtf is that part number
03:46 AM rue_shop3: aha
03:46 AM rue_shop3: IRLZ44N
03:46 AM rue_shop3: https://www.aliexpress.com/item/10Pcs-IRLZ44N-MOSFET-N-CH-55V-47A-TO-220AB-New/32599971025.html
03:46 AM rue_shop3: CHEAP
03:47 AM rue_shop3: logic level
03:47 AM rue_shop3: last night I got 3 hours sleep
03:48 AM rue_shop3: it was a bit shy, so I'd like 4 this time
03:48 AM rue_shop3: the alarm goes off at 6:15am
03:48 AM rue_shop3: so when should rue go to bed
03:48 AM rue_shop3: 2:15
03:48 AM rue_shop3: its 1:17 now, how much longer can rue play?
03:48 AM rue_shop3: 1:00
03:48 AM rue_shop3: ok
03:51 AM Jak_o_Shadows: It's the weekend now, i'll be up at a sensible time for you
03:52 AM anonnumberanon: I wonder who makes the ssc32
03:55 AM anonnumberanon: Ah. Jim Frye
03:57 AM Jak_o_Shadows: oh yes.
03:57 AM Jak_o_Shadows: would it be useful to have a simple servo controller that visualisers the position of each servo?
03:57 AM Jak_o_Shadows: Like, a graph
03:57 AM anonnumberanon: Bed for me
04:13 AM rue_shop3: ok I have two 4017 wired and the serial header
04:13 AM rue_shop3: anonnumberanon, lynxmotion
04:13 AM rue_shop3: jim?
04:14 AM rue_shop3: Jak_o_Shadows, you can import the .mot files from my program into excell
04:14 AM rue_shop3: or gnumeric
04:14 AM rue_shop3: whatever
04:14 AM rue_shop3: csv
04:14 AM Jak_o_Shadows: aye. Having a standard format here would be a good idea
04:14 AM rue_shop3: time, value, value...
04:15 AM rue_shop3: where time is dt from last values to these values
04:15 AM * rue_shop3 offers Jak_o_Shadows the book he wrote on it
04:15 AM rue_shop3: and values are 1 per axis
04:16 AM rue_shop3: aka
04:16 AM rue_shop3: time, axis1, axis2,...
04:16 AM Jak_o_Shadows: I mean, i fyou have written it up, I would read it.
04:16 AM rue_shop3: I hope your reading...
04:16 AM rue_shop3: I'v just done all this years ago
04:16 AM Jak_o_Shadows: oh, yeah, I am in the chat.
04:17 AM Jak_o_Shadows: so it's dt, axis, axis, axis, axis, axis, axis, axis?
04:17 AM rue_shop3: roboplayer was written 2015
04:17 AM rue_shop3: yea
04:17 AM rue_shop3: with a new line for each position set
04:17 AM Jak_o_Shadows: sounds easy enough
04:17 AM rue_shop3: check out the .mot file
04:18 AM Jak_o_Shadows: position is in what units?
04:18 AM Jak_o_Shadows: anlge?
04:18 AM rue_shop3: whatever you want, I use degrees
04:18 AM Jak_o_Shadows: degrees works for me
04:18 AM rue_shop3: then you have to work out if its motor or rig degrees
04:18 AM rue_shop3: https://github.com/ruenahcmohr/roboPlayer/blob/master/dance1.mot
04:19 AM rue_shop3: its for my 6 axis robot arm
04:19 AM rue_shop3: its the one with the headphones...
04:20 AM Jak_o_Shadows: hmmm. Motor or rig - rig would mean you don't need to calibrate off-board
04:20 AM rue_shop3: the .tf file (transform) is meant as something you can use for a translational layer
04:21 AM rue_shop3: so, you calibrate the SSC stuff for motor degrees
04:21 AM rue_shop3: and the .tf file offsets and scales for rig degrees
04:21 AM rue_shop3: https://www.youtube.com/watch?v=slxOrCXxXOg
04:21 AM rue_shop3: that .mot file...
04:21 AM rue_shop3: is that^^^^
04:22 AM Jak_o_Shadows: That's a good idea
04:22 AM rue_shop3: thats why its so fast and long
04:22 AM rue_shop3: the earmuffs?
04:22 AM rue_shop3: er, headphones its wearing?
04:23 AM rue_shop3: https://github.com/ruenahcmohr/roboPlayer/blob/master/README.md
04:23 AM rue_shop3: I tried to describe everything as best I could
04:23 AM rue_shop3: ok, I'm gonna go to bed
04:23 AM rue_shop3: tommorow I have to wire up the last 8 servos
04:23 AM Jak_o_Shadows: Thanks
04:23 AM Jak_o_Shadows: night
04:24 AM rue_shop3: and then focus on that python code to test control them
04:31 AM Jak_o_Shadows: Probably gonna get some code working to feed in position
04:31 AM Jak_o_Shadows: then do some kinematics to get the legs to move in a straight line
04:32 AM rue_house: for the robot arm, I have a training rig
04:32 AM rue_house: I cant do that for a whole hexapod
04:32 AM Jak_o_Shadows: The pots?
04:32 AM Jak_o_Shadows: yeah.
04:32 AM rue_house: yea
04:32 AM Jak_o_Shadows: I was looking for a rigid body simiulation so I could test things
04:32 AM rue_house: I could make a hardware version, but it wouldn't be a body rig
04:33 AM rue_house: have you seen the bot?
04:33 AM rue_house: http://ruemohr.org/~ircjunk/robots/frankenhex/p1090284.jpg
04:33 AM Jak_o_Shadows: yeah.
04:33 AM Jak_o_Shadows: It looks good
04:33 AM rue_house: k
04:33 AM rue_house: I'm hoping to backport to buddy III
04:34 AM rue_house: http://ruemohr.org/~ircjunk/robots/buddy_III/p1050598.jpg
04:42 AM rue_bed: 25, its reached the final stage
05:04 AM Jak_o_Shadows: aliexpress is trolling me
05:04 AM Jak_o_Shadows: it's changing language when I refresh
05:09 AM rue_bed: hah
05:09 AM rue_bed: i'v had that happen
05:10 AM * rue_bed goes into SLEEP_MODE
05:19 AM Jak_o_Shadows: why am I not doing this with matrices
05:22 AM Jak_o_Shadows: In fact, didin't I do this with marices months ago?
05:31 AM Jak_o_Shadows: no, that was forward kinematics
05:41 AM Jak_o_Shadows: and only one section of leg
06:08 AM Jak_o_Shadows: why didn't i document my code
06:35 AM Tom_itx: the younger you didn't find it necessary
06:53 AM Jak_o_Shadows: younger me was an idiot
06:53 AM Jak_o_Shadows: younger me also had written it down on paper.
06:53 AM Jak_o_Shadows: that paper is around SOMEWHERE
06:56 AM Tom_itx: older you forgot where :)
10:21 AM tsglove: mm
10:21 AM tsglove: what happened?
10:22 AM tsglove: rue_bed,
12:14 PM Tom_itx is now known as Tom_L
01:17 PM bolt_ is now known as bolt
07:26 PM Snert__ is now known as Snert
07:51 PM rue_bed: what happened to what
07:52 PM ace4016: what?
07:52 PM ace4016: oh
08:03 PM * Jak_o_Shadows looks for the calipers
08:04 PM * Jak_o_Shadows opens up the CAD model intead
08:04 PM * Tom_L thinks irc is too quiet lately
08:05 PM Jak_o_Shadows: Where do all the people go
08:05 PM Jak_o_Shadows: forums are dying
08:06 PM Jak_o_Shadows: reddit is either widely popular or dead
08:07 PM Snert: the shininess is wearing off. It's not a new thang anymore
08:08 PM Jak_o_Shadows: Yeah.
08:08 PM Jak_o_Shadows: but like, where have the peo;e gone?
08:08 PM Snert: they've gone nowhere. They just don't go there anymore.
08:08 PM Snert: reddit is such a swere anyways.
08:09 PM Jak_o_Shadows: Swere?
08:09 PM Snert: that's sewer with typo
08:09 PM Jak_o_Shadows: yeah
08:09 PM Jak_o_Shadows: letsmakerobots is a bit of a hole
08:14 PM Tom_L: Jak_o_Shadows what cad are you using?
08:14 PM Jak_o_Shadows: inventor
08:14 PM Tom_L: that's an acad product right?
08:14 PM Jak_o_Shadows: yup
08:14 PM Tom_L: thought about f360?
08:15 PM Jak_o_Shadows: Never really looked into it
08:15 PM Tom_L: it's free for hobbyists
08:15 PM Tom_L: and startups
08:15 PM Jak_o_Shadows: can it do assemblies and parametric parts?
08:15 PM Tom_L: idk, i haven't tried it yet
08:16 PM Tom_L: i think it can
08:16 PM Tom_L: i'm more into solidworks and catia right now
08:16 PM Tom_L: several in linuxcnc are using F360
08:16 PM Tom_L: thought it might be worth taking a look at
08:17 PM Jak_o_Shadows: I used creo once upon a time. Hated it's sketch mode
08:17 PM Tom_L: i think it's got a cam post for linuxcnc
08:20 PM Jak_o_Shadows: I always heard a lot about solidworks, but never used it
08:20 PM Jak_o_Shadows: does it make parametric parts easier?
08:21 PM Tom_L: it's pretty easy
08:22 PM Tom_L: i'm more into catia right now since i took a class on it recently
08:22 PM Tom_L: they are very similar
08:22 PM Tom_L: except catia is more high end
08:22 PM ace4016: hrm...
08:22 PM Tom_L: i did alot of the class models in both though
08:23 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/
08:23 PM Tom_L: there's a bunch of em
08:23 PM Tom_L: some solidworks some catia i think
08:24 PM ace4016: parametric modellers are nice, though i never got to use solidworks or catia. inventor and solidedge were the ones i used in teh past; and what use to be called alibre CAD (i think they go by a new name now)
08:24 PM Tom_L: toward the end, i was done with the class so i started messin with table driven parameters
08:26 PM Jak_o_Shadows: I need to figure out table dirven ones better
08:26 PM Jak_o_Shadows: like, I have this servo link design. it can just be a table one
08:27 PM ace4016: table driven parameters?
08:27 PM Tom_L: spreadsheet
08:28 PM Tom_L: ie the part is the same series, just different dimensions
08:28 PM ace4016: ah...hrm
08:28 PM ace4016: interesting
08:29 PM Tom_L: or you can just use functions within the model
08:29 PM Tom_L: so when one paramete changes so do the others
08:30 PM Jak_o_Shadows: I do a lot of that
08:31 PM Jak_o_Shadows: but haven't figured out how to /looked up how to change just a couple of the parameters when inserting into an assembly
08:31 PM Tom_L: you must use cad quite a bit
08:31 PM Jak_o_Shadows: Not a whole lot.
08:31 PM Jak_o_Shadows: but everything i 3d print gets the parameric treatment
08:32 PM Tom_L: for shrinkage adjustment?
08:32 PM Jak_o_Shadows: alas, I don't really bother with that
08:58 PM anonnumberanon: Rue i went on a 3 day weekend and i brought a few items with me...
09:36 PM Jak_o_Shadows: I really should jump out of matlab and into a decent programming language
09:38 PM anonnumberanon: One of tbem is oscilloscope
09:39 PM deshipu: Jak_o_Shadows: have you tried jupyter?
09:40 PM Jak_o_Shadows: python notebook things?
09:40 PM deshipu: yeah
09:40 PM Jak_o_Shadows: Nope. Do they have nice plotting tools?
09:40 PM Jak_o_Shadows: ./nicer than matplotlib?
09:40 PM deshipu: it's getting a lot of traction recently
09:40 PM deshipu: no idea, matplotlib is kinda standard by today, but I expect they have a lot of stuff on top
09:41 PM deshipu: I've seen some 3d plots recently
09:41 PM deshipu: interactive, in the browser
09:42 PM Jak_o_Shadows: Yeah. I've seen some really cool stuff as well
09:45 PM Jak_o_Shadows: I want out of matlab cause my lower leg is the same as the upper leg, basically
09:45 PM Jak_o_Shadows: different lengths
09:45 PM Jak_o_Shadows: and I want to start properly working with rotations and stuff
09:46 PM Jak_o_Shadows: and there's a units package as well
09:46 PM anonnumberanon: The other one is an uno
09:46 PM anonnumberanon: Ready to hack
10:10 PM Jak_o_Shadows: Yeah. I need to do this better.
10:10 PM Jak_o_Shadows: The linkages make the legs more complicated. Not difficult, it's just gotten untidy on me
10:31 PM Jak_o_Shadows: https://github.com/Jak-o-Shadows/jak-o-shadows.github.io/commit/3d971710e158e3fd2b1bacb61dc7d23c0aa35437#diff-cd002c2b38b7125ea0919e20085e32d1
11:07 PM rue_house: 8-| my 2d library dosn't have a fn for circle intersection...
11:08 PM Jak_o_Shadows: I was gonna derive t with a lot more effort, than I realised that it was just circle intersection
11:08 PM rue_house: where is the other intersection result tho?
11:08 PM alic1a: rue_house: May 18, 2017 - Ginger Christ * @GChristCLE. Healthcare reporter for The Cleveland Plain Dealer. Animal lover, sports fan & biker (the pedaling kind).
11:09 PM Jak_o_Shadows: I dump it out.
11:09 PM Jak_o_Shadows: You can calculate the servo angle, and i decided it wasn't witin the limits of the servo
11:09 PM rue_house: alic1a, haahahaha
11:09 PM alic1a: rue_house: Heh
11:10 PM rue_house: Jak_o_Shadows, damn you, now I need to add it to my library
11:10 PM Jak_o_Shadows: aha
11:10 PM Jak_o_Shadows: http://paulbourke.net/geometry/circlesphere/
11:11 PM rue_house: my 3d lib is quite simple
11:11 PM rue_house: void Init3d (point3d_t *this) ;
11:11 PM rue_house: void Set3d (point3d_t *this, point3d_t that) ;
11:11 PM rue_house: void Scale3d (point3d_t *this, point3d_t that) ;
11:11 PM rue_house: void Rotate3d (point3d_t *this, point3d_t that) ;
11:11 PM rue_house: void Translate3d (point3d_t *this, point3d_t that) ;
11:11 PM rue_house: void Print3d (point3d_t *this) ;
11:11 PM rue_house: like, REALLY simple...
11:14 PM rue_house: hmmmm.
11:14 PM rue_house: looks like I have to return the result as NULL or a line
11:14 PM rue_house: a line is the only thing I have that has two points
11:14 PM rue_house: what if they overlap
11:14 PM rue_house: OH GOD
11:15 PM rue_house: so, I need to return a 'shape'
11:16 PM rue_house: hmm, the ONLY place I have that in existance is my dxf library
11:16 PM rue_house: wtf, where is my dxf library
11:17 PM Jak_o_Shadows: You can't return multiple ponts.
11:17 PM Jak_o_Shadows: yeah.
11:17 PM rue_house: if I reutrn a 'shape' it can be a point, line, or circle tho
11:18 PM rue_house: whever asked the question can deal with the answer
11:20 PM rue_house: 'entity'
11:22 PM rue_house: typedef struct dxfEnt_s {
11:22 PM rue_house: dxfEntNames_t type;
11:22 PM rue_house: char * layer;
11:22 PM rue_house: dxfAEnt_t entity;
11:22 PM rue_house: } dxfEnt_t;
11:22 PM rue_house: the dxfAEnt_t is a union, built such that all the points that work are overlaid
11:24 PM rue_house: yea, I should make a class for a generic shape type and expand on it in the dxf library
11:25 PM rue_house: if I ever do sphere intersections in the 3d lirbary, I'll want answers that are points, circles, or spheres
11:25 PM rue_house: oh, hmm
11:25 PM rue_house: the entity library shouldn't be 2d specific
11:26 PM * rue_house tries to force the lid back on this can of worms
11:30 PM rue_house: arg, dxflib duplicates work in 2d
11:30 PM rue_house: and they conflict
11:31 PM rue_house: aaa what about arc intersections!?
11:31 PM rue_house: it should be arc intersections
11:32 PM rue_house: ok, ok, dxflib isn't any kind of official use state
11:32 PM rue_house: how do I do this
11:33 PM * Tom_L gives rue_house some cookies n milk to think
11:33 PM rue_house: the intersection library needs a generic shape library
11:33 PM rue_house: but hte generic shape libary isn't 2d specific
11:33 PM rue_house: there isn't much of a 3d shape library
11:34 PM Tom_L: all there is is lines and arcs
11:34 PM Tom_L: period
11:34 PM rue_house: and points
11:34 PM Tom_L: ^^
11:34 PM Tom_L: period
11:34 PM * rue_house points at the period
11:34 PM rue_house: :)
11:34 PM rue_house: but lines and arcs come whole or in segments
11:35 PM rue_house: THIS will be like a week of coding
11:35 PM * Tom_L has never seen half a line
11:35 PM * Tom_L nor half an arc
11:35 PM rue_house: before I can even go NEAR a fn that works out the intersection of two circles
11:36 PM rue_house: but a line that goes between two points is only a segment of the infinite line that it is
11:36 PM rue_house: as an arc that goes between two angles
11:36 PM rue_house: unless you also specify the arc as two points and a centre
11:37 PM rue_house: assuming a trace direction
11:37 PM rue_house: ARG
11:37 PM rue_house: lid! lid!
11:37 PM rue_house: their all escaping!!!!!
11:37 PM rue_house: splines all other the place!
11:37 PM rue_house: and dont forget about polylines!
11:38 PM rue_house: oh god
11:38 PM rue_house: all I wanted was to intersect two circles
11:39 PM Tom_L: all there is is lines and arcs
11:39 PM Tom_L: period
11:41 PM Jak_o_Shadows: arc intersection you'd just do circle itnersection than see if it were possible? Or maybe if they lie within each others arcs
11:43 PM rue_house: wait, what does my line intersection do?
11:44 PM rue_house: point2d_t * getSegmentIntersection (point2d_t * is, line_t * this, line_t * that);
11:44 PM rue_house: point2d_t * getIntersection (point2d_t * is, line_t * this, line_t * that);
11:44 PM rue_house: thats not right
11:44 PM Jak_o_Shadows: My circular saw is well blunt.
11:45 PM rue_house: // find out of lines are parallel
11:45 PM rue_house: if ((this->p1.x - this->p2.x)*(that->p1.y - that->p2.y) - (this->p1.y - this->p2.y)*(that->p1.x - that->p2.x) == 0) {
11:45 PM rue_house: return NULL;
11:45 PM rue_house: }
11:45 PM Jak_o_Shadows: Decided to stop cutting, after 4-5 cuts only, cause of the haze in the air
11:45 PM rue_house: ok, parallel = NULL
11:45 PM rue_house: it just DOES NOT handle the lines matching
11:46 PM * rue_house thinks
11:46 PM rue_house: ok, the intersection libary needs the entity library
11:47 PM rue_house: it should be removed from the 2d library
11:48 PM rue_house: less it be said, inherritance is interesting in C
11:48 PM rue_house: :)