NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: 4th axis tangent to path XY

Re:4th axis tangent to path XY 22 Sep 2011 10:57 #13366

  • ioiotutu
  • ioiotutu's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
Ok.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 22 Sep 2011 17:09 #13371

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4146
  • Thank you received: 141
  • Karma: 130
Still no luck. I am baffled (I have created drivers with hundreds of pins, this should be trivial).
Latest iteration locked my Virtual Machine completely. I am beginning to wonder if it is a VM problem. I will have to try doing this on the real EMC2 dev machine, not in a VM while I play around on the internet on my Mac.

Trust me, it isn't difficult, I am just getting too distracted and messing up.

It basically comes down to one mis-placed "*" in the file. Normally the HAL pin pointers live in a struct, and you hal_malloc them. I am trying to avoid the struct definition because it it only one pin, but perhaps I have to do it that way.

Tomorrow, I promise.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 23 Sep 2011 05:45 #13390

  • ioiotutu
  • ioiotutu's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
No problem. It is normal with the software!!
The administrator has disabled public write access.

Re:4th axis tangent to path XY 23 Sep 2011 14:56 #13413

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4146
  • Thank you received: 141
  • Karma: 130
This seems to work for me. This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 24 Sep 2011 09:35 #13421

Wow, this is all very interesting. It reminds me of another project of mine that has been on the back burner for a few years.
I need to try out this tangent kinematics module!
Sounds like it will do some of what I was thinking...steering a cutter, however my tool would be a chisel shape for engraving.
In addition to keeping tool tangent to XY direction I want to be able to turn tool from tangent either direction in real time.
This would allow my engraving machine to "carve" variable widths with same tool.
In addition would want to be able to 'wag' tool back and forth as it moves in XY... to produce zig-zag cuts.
Does this make any sense?
Would this be dificult to add to the kins module?
If it could then maybe the chisel/tools angle and 'wag' can be controlled in gcode with custom M codes?

Thanks.
~*Brian

sorry for butting in on your thread, should I start another instead?
The administrator has disabled public write access.

Re:4th axis tangent to path XY 24 Sep 2011 10:47 #13423

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4146
  • Thank you received: 141
  • Karma: 130
bvandiepenbos wrote:
Would this be dificult to add to the kins module?
It could be as easy as just changing a line in that code so that the tangent angle is added on to A rather than over-riding it.

I think your idea might be better done in the preprocessor, though.
The administrator has disabled public write access.
Time to create page: 0.947 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.