title: Fuzzy logic membership function in C
body: <p>I'm trying to implement a fuzzy logic membership function in C for a hobby robotics project but I'm not quite sure how to start.  </p>
  
  <p>I have inputs about objects near a point, such as distance or which directions are clear/obstructed, and I want to map how strongly these inputs belong to sets like very near, near, far, very far.  Does anyone have a tip on how to start? Thanks.</p>