If you have a wind speed and direction sensor feeding data to your NMEA network (of whatever flavor) many autopilots have a wind vane mode that can be very useful.