#robotics Logs
Dec 29 2018
#robotics Calendar
12:58 AM rue_mohr: so, there is a problem where the whole pile of params for the calls would need to be known
01:23 AM flav0r: HEY HEY !
01:38 AM rue_bed: once you end up with multiple instances of a handler that are called under different conditions a lot of things go out the window
01:39 AM rue_bed: this is a test
01:39 AM rue_bed: haha space bar is being nice
01:40 AM rue_bed: tho, its not like you coulnd't just set up the whole tree at once
01:41 AM rue_bed: its just that some help multipling it out would be nice
01:47 AM rue_bed: na, just register the callbacks with the handler functions
01:48 AM rue_bed: but the problem comes in when the same handler function is used for different instances of an event
01:48 AM rue_bed: so, we need a wrapper
01:49 AM rue_bed: that didn't work tho, then we need to know what wrapper goes with which event
01:49 AM rue_bed: yes, so?
01:49 AM rue_bed: so we pass a function pointer and a data pointer
01:50 AM rue_bed: then the problem comes up when their stacked
02:04 AM rue_bed: so if we have a handler function, with an event:call back data pointer
02:04 AM rue_bed: then each one would require the pointers to its subpointer
02:05 AM rue_bed: arg
02:05 AM rue_bed: k, try again
02:05 AM rue_bed: its getting pretty close to a c++ oject
02:07 AM rue_bed: each event handler, is specified with a struct that holds the pointer to the event handler and pointers to the handlers for all its events
02:07 AM rue_bed: almost
02:07 AM rue_bed: each event handler, is specified with a struct that holds the pointer to the event handler and pointers to the structs that specify their handlers and their data
02:07 AM rue_bed: aha
02:07 AM rue_bed: so its a struct tree
02:07 AM rue_bed: that makes sense
02:08 AM rue_bed: each handler has a variable number of events and therefore subhandlers
02:09 AM rue_bed: ok, now what about event details
02:09 AM rue_bed: for example, the keyboard status change fn, passing changed key data to the up/down handler
02:10 AM rue_mohr: can we do it like printf?
03:25 AM rue_shop3: "it cleans the ceiling, and when its battery is low, it automatically relocates to the floor"
03:40 AM rue_shop3: how the hell did it go from 11pm to 1:30am so fast?
04:09 AM deshipu: one second at a time
04:34 AM rue_shop1: its still doing it, its 2:30am now
04:35 AM rue_shop1: I, like, drilled 4 holes
04:35 AM rue_shop1: technically, if was on film I must be moving slower than a freaking sloth
04:36 AM rue_shop1: do I buy cambam?
04:36 AM rue_shop1: $225
04:36 AM rue_shop1: I dont know if i'v ever spent that much on software
04:37 AM rue_shop3: this tiredness is all wrong
04:37 AM rue_shop3: its just a eye and headache
05:26 AM squirrel1 is now known as veverak