> Am 15.03.2015 um 15:47 schrieb sliptonic <
shopint...@gmail.com>:
>
> I'm rebuilding an old IBM 7575 SCARA robot. For control, I'm using a mesa 5i25/7i77 kit, an AMD based PC, and Machinekit. I did the initial setup through pncconf. Pncconf doesn't do machine configurations other than Cartesian trivial kinematics, so I used that to get the motors turning and then started adapting the config by hand. My config so far.
>
> At this time, I've got all four motors working pretty well. Three of the joints (shoulder, elbow, and Z) have home and limit switches working. the last joint, the wrist or "roll" is continuous and has only an index switch. The config loads with scarakins and the scaragui corresponds to the machine movement. So far, so good.
>
> Now the problems I'm seeing. All of these, I can pretty much duplicate in the stock SCARA sim config: (configs/sim/axis/vismach/scara)
>
> 1) After homing, I can usually switch into world view if I have not jogged any axis. I've I've jogged, either before or after homing but before switching modes, I get an error that all joints must be homed before switching. Re-homing doesn't help. Shutdown machinekit and restart.
This smelled like a flag in the kinematics module needs work, unfortunately it isnt, but it must be 'around here' (or driven by this flag):
Have a look here:
https://github.com/machinekit/machinekit/blob/master/src/emc/motion/teleop-notes#L56-L61
https://github.com/machinekit/machinekit/blob/master/src/emc/kinematics/kinematics.h#L24-L42
https://github.com/machinekit/machinekit/blob/master/src/emc/kinematics/scarakins.c#L193
Any chance you reproduce the behavior with a scarakins sim config and an exact sequence of actions to follow? If you have that I would suggest you make it an issue in the github tracker
>
> 2) The wrist joint (C or joint 3 in my case) seems unaffected by the velocity and acceleration settings in the .ini file. Regardless of how I set them, this axis moves very slow. This duplicates in the simulation too.
unfortunately you'd be better off with the joints-axes branch which isnt merged yet, and needs a determined djihadi to get it ready for a merge, see
https://github.com/machinekit/machinekit/issues/438 - also the next problem might be addressed with it
> 3) If I get into world mode, I can jog in Cartesian space and things look good but there are no machine limits on the coordinated moves so the machine will try to exceed it's range and make all kinds of unpleasant sounds. Similar behavior if you start try to job in forbidden ways in the sim configuration.
Out of curiosity: I think the jog-while-paused feature in mk motion does limits correctly on _jogs during pause_. Could you try to adapt this sim config to use your kins and see that it works (in sim mode maybe)? this would help point out what is missing.
- Michael
>
> I've seen documentation in the linuxcnc wiki that make me believe I should be configuring separate [AXES_n] and [JOINT_n] sections but haven't had much luck yet.
That is related to the
>
> What's the best example of a non-trivial kinematics configuration I can learn from?
>
> The wrist joint also has me confused. On my bot, it has its own motor but is also linked to the shoulder joint. So if the shoulder is rotated, the wrist maintains its orientation. Anyone know if that's a feature of this bot or typical of the SCARA platform?
>
> --
> website:
http://www.machinekit.io blog:
http://blog.machinekit.io github:
https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
machinekit+...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/machinekit.
> For more options, visit
https://groups.google.com/d/optout.