LinuxCNC HAL #8: inside a component, fixing thcud

Published at : 09 Mar 2022

Upshot: "Learn to code" is a thing, right?

Topic index:
00:00 - intro, why would you want to write a real time component
01:33 - all the components, ko’s, comp’s, and getting the code
04:00 - digging into the LinuxCNC source
05:25 - looking at and2.comp
08:05 - the main part of the comp, how it’s like Arduino code
09:50 - redoing the messy ohmic probing HAL in a single line of a comp
11:10 - compiling and installing a comp file
13:44 - looking at thcud.comp, header, and the straightforward bugs
15:07 - the main function
21:43 - the more difficult bug
24:59 - getting the fix, the gist, and fucking lawyers
26:46 - the fix applied
27:29 - wrap-up

My notes on getting these thcud fixes:
https://github.com/swolebro/swolebro-youtube/blob/master/linuxcnc/misc/thcud-fixes

Software Licenses and Failed States, by Martin Sústrik, author of ZeroMQ.
http://250bpm.com/blog:82

Bonus fun, Programming Sucks, by some hilarious dude.
https://www.stilldrinking.org/programming-sucks

The thcud gist:
https://gist.github.com/swolebro/483973b2081784baca9f04a9a95c6cea

Browse the files exactly as shown in this video: https://github.com/swolebro/swolebro-youtube/tree/hal-tutorial-pt08

Check out the latest, including my other notes and links to other people’s videos and configs:
https://github.com/swolebro/swolebro-youtube/tree/master/linuxcnc

Here’s the full plasma build series:
https://www.youtube.com/playlist?list=PL9xPdBFt5g3Q6TkuhhfQmQNm6TdvNkPuX

Just the LinuxCNC stuff:
https://www.youtube.com/playlist?list=PL9xPdBFt5g3Qnn3ZY2wYh7L2yzZ377UwI

Help me make more cool shit:
http://paypal.me/swolebroshopworks

LinuxCNC HAL #8: inside a component, fixing thcud

linuxcnclinuxcnc


Plane CRASH Results in Emergency Landing - Besiege Multiplayer

Plane CRASH Results in Emergency Landing - Besiege Multiplayer

Booklet 1 ਕਿਵੇਂ  ਭਰੀਏ..How to fill booklet-1

Booklet 1 ਕਿਵੇਂ ਭਰੀਏ..How to fill booklet-1

I WILL CONTEST FOR PROGRESS IN MAYEM IRRESPECTIVE OF POLITICAL PARTY: MILIND PILGAONKAR

I WILL CONTEST FOR PROGRESS IN MAYEM IRRESPECTIVE OF POLITICAL PARTY: MILIND PILGAONKAR

Panaruu Cultural group at the Centerpiece Village launching in Nakuru 18/12/2021

Panaruu Cultural group at the Centerpiece Village launching in Nakuru 18/12/2021

Ο τρελός τα χει 400 - 1968 Λάμπρος Κωνσταντάρας

Ο τρελός τα χει 400 - 1968 Λάμπρος Κωνσταντάρας

Billionaires Are BUYING The Dip On Growth Stocks At Bargain Prices

Billionaires Are BUYING The Dip On Growth Stocks At Bargain Prices

ELIZZA - Unhurt (Official Video)

ELIZZA - Unhurt (Official Video)

CA FINAL RESULT REACTION VIDEO | DECEMBER 2021

CA FINAL RESULT REACTION VIDEO | DECEMBER 2021

How To Bounce Back When You Miss An Opportunity | Jordan Bach

How To Bounce Back When You Miss An Opportunity | Jordan Bach

HOLY SHIB! GOVERNMENT WANTS TO ADOPT SHIBA INU! (RETIRE EARLY WITH SHIB)

HOLY SHIB! GOVERNMENT WANTS TO ADOPT SHIBA INU! (RETIRE EARLY WITH SHIB)

Chuck's Diet Gets Busted By Inside The NBA Crew | NBA on TNT

Chuck's Diet Gets Busted By Inside The NBA Crew | NBA on TNT

HOW TO DISCERN IF A PERSON IS STRUGGLING WITH PRIDE

HOW TO DISCERN IF A PERSON IS STRUGGLING WITH PRIDE

How I Grew + Marketed XXL Scrunchie's Social Media | Promote Your Small Business Online ~150K TikTok

How I Grew + Marketed XXL Scrunchie's Social Media | Promote Your Small Business Online ~150K TikTok

How To Make A Deck Of Cards - Component.Studio 2 - E1 (Alpha)

How To Make A Deck Of Cards - Component.Studio 2 - E1 (Alpha)

S1MPLE - 2021 - HIGHLIGHTS | CSGO

S1MPLE - 2021 - HIGHLIGHTS | CSGO