Disclaimer . I never implemented a fuzzy controller (I only ever used a PI or PID in real life), and the management class was 10 years ago.
Here's a presentation demonstrating the transition to a goal using distance and angle for inputs and power as an output. FuzzyTech Example of faucet positioning
This simply represents the topic and theory, that is, no code.
The best source is probably one of the robotics groups, for example, the Seattle Robotic Society fuzzy logic textbook , it's technical ... and long.
if you can access technical journals, then look for a Google scientist for “fuzzy logic” “path planning” robotics
, , , , Note , , Microchip paper . , Arduino, Microchips, , .
, , ++, , , . .