SWPadnos: any users that aren't already potty-trained on STEPGEN_MAX_* will be using stepconf anyway
hey, do you guys use an IDE (integrated development environment) to program? like Anjuta?
or something else? and what is 'cruft'???
I use Anjuta, just because it's kinda pretty. It has annoying bugs though
"cruft" is generally ugly code, which is usually also unnecessary (such as code that's still there, even though the feature it was needed for has been removed)
Roguish: kate (kde advanced text editor) has a lot of ide-like features, but if you want even more on top of kate then there's kdevelop
i can only think of two bugs in kate and they're both related to python (code folding gets confused, and it does indenting tabs/spaces wrong sometimes)
SWPadnos: can emc2 be run inside Anjuta? to watch variables, etc? step thru sections of code?
Roguish, no, certainly not the realtime parts. maybe the sim mode could
SWPadnos: thanks for the reply. so, how does one know what is going on inside the code????
lots of prints?
inside the kernel code, it's difficult, but that's also what halscope is for :)
if you build simulator, you can run any of it in a debugger
you can add debig variables as hal pins and scope them
but I have no idea who Anjuta is or what she can do
thought i would bring out the troops .
it's an IDE, but it likes to make projects and stuff.
it's got a pretty good code editor - has good "smart completion" and stuff
it's got bugs too. sometimes doing a search crashes it
cradek: i made a wiki page 'AXESGANTRY' i tried to name it '5AXESGANTRY' but of course the '5' did not work.
anyway. could you take a look, please.
also, is there a way to rename the page to 'FIVEAXESGANTRY' ???
sorry, I don't know how to rename a page
I believe I know how to rename pages .. hold on
how about delete a page? i could copy it to a new page propderly named.
I don't think you can. you can copy all the content into a new page and change any links to point to the new one
dunno about deleting a page
What page did you create, and when? I don't see anything on RecentChanges
oh, there it is -- AxesGantry, not AXESGANTRY
[15:39:56] <Roguish> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AxesGantry
sorry, still not used to this case world.
OK, it's now http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FiveAxesGantry
hm maybe it should have been FiveAxisGantry -- let me rename it again
plural of axis is axes. i believe.
[15:41:28] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FiveAxisGantry
it's a finve axis machine, with five axes
but i'm not picky right now.
if I had any idea what SWPadnos said, I'd say I agreed with him
English is a funny language -- all I know is saying "Five Axes Gantry" sounds wrong, and "Five Axis Gantry" sounds right to me.
it's a five axis machine, which has five axes
when you refer to the machine, it's a 5 axis machine - you don't use the plural there
I'm not sure why, but I bet I can come up with something plausible ;)
when you compile with --enable-simulator, you can run every part of emc2 under gdb, and you have much greater freedom to spew lots of information with rtapi_print* (which is easier to read as well, since it goes to the terminal instead of dmesg)
it's a five-axis gantry. a five-axis machine has five axes.
^ note appropriately-used hyphen
^ note grammar nazi
however you have to either modify the runscript (scripts/emc) to start the parts of emc in the debugger, or attach after they've started, so if your IDE is not flexible enough then you'll have trouble using its interface to gdb ..
what is '^' in english, exactly? :)
^ note correct spelling of "grammar" which contains no "e"
I aint never got no bad grades in grammer!
probably the backend used by Anjuta
can't you just tell her there are several programs and let her deal with attaching the debuggers?
har har har
all these questions canbe answered after "apt-get anjuta" :)
nah, she sounds difficult to work with
got it with synaptic.
with a name like that.. She shounds like she has an attitude.
i'll plow thru the Anjuta docs and troll the forums and see what i can find.
cradek: when i start my 5axisgantry (or whatever) i get an error on each axis "GANTRYKINS: joints=0"
this is the wiki documentation I wrote about debugging "realtime" code with --enable-simulator: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?DebuggingRtapi
that particular message is strictly informational, even though it is printed at the level RTAPI_MSG_ERR
i have no idea what this is. the error dialogs pop up for each axis.
the dialog popup is titled 'AXIS error'
back in a few. oatmeal is ready.
gotta love a big bowl of mush with lots of brown sugar.
I like irish cream on mine, but I only have it when I'm staying home sick
hmmm. Bailey's on oatmeal ... interesting
if we redefine the kinematics interface so there is an opportunity to have a derivative function (only in joint space, since we know how to do it in cartesian space), then we can use the funtion (if provided) for joint limits, and not do joint limits if there is no function provided
fail on two counts. first, 'insmod' fails when there are undefined functions (just like any linker). second, you can't do velocity and accel limits on the fly (you can probably do velocity limits if you don't care whether you violate accel limits)
the current kins interface allows for forward-only or both. a similar method can be used when there are 3 functions
vel and accel limits are done on the fly now, AFAIK
instead, task has to get a version of kinematics which computes (analytically or numerically) joint position, velocity, and acceleration. it dices each primitive up into a bunch of samples, finds the velocity and acceleration at each point, and then uses that to modify (lower) the cartesian accel or velocity requested for the move
it does that for axes though, not joints (at the moment)
my proposal is basically that it start doing it for joints on nontrivial machines
that way as long as the pieces that each trajectory element is diced up into are small enough, you won't be surprised by these places where it suddenly takes a lot of joint acceleration to keep the joint velocities within limits
ok, so you'd chop it up and use discrete analysis (d/dt)
for some machines you might be able to find the accel and velocity analytically, and I wouldn't want to foreclose that possibility -- but yes I'd look at j' and j'' (joint velocity and acceleration) at some "large enough" number of points on the move and use that to find out what cartesian accel and vel stays within joint constraints
jepler: sometimes it takes a lot to run through the kins
(like multi-stage kins which you solve with iterative approaches)
yeah that is true
you could buffer the results. you'd only have to run the kins once for each point
what is the point of an iterative approach? the hexapod is done analytically, so what's more complex than that?
you could also take liberties with the "kinematics" that are executed in task; it need only be good enough to provide the proper velocity and acceleration constraint values
not all kins are analytically solvable
especially in both directions
jepler: that is also true
I think the "proper" approach is letting users provide their own function
just like they do for kinematics
(though I don't remember the specifics - there was a discussion about a 100,000-iteration kins module on the list)
that was my thought
er, whoops nevermind, hexapod does use an iterative approach (euler method)
if there's no function, then things operate as now, without joint limits
having a function (maybe linkable at runtime somehow) that returns a max vel for each joint for a pair of points
if there are derivative functions, you get the added benefit of joint constraints
fenn: hexapod was what I was thinking about
another approach can be statistical or data mining
(simply having a lookuptable with lots of probable velocities)
* fenn never quite believed in quantum mechanics
good night all
see you Alex
hmmm. looking at the creative commons license on the wiki, I can't tell if I'm allowed to e.g. stick a copy of the EMC structure image into my ESC presentation (even with attribution)
it looks like maybe I can't, since the presentation isn't allowed to be published elsewhere before the conference, and they are allowed to publish it on compilations, CDs, and other things which they charge for, until the end of time