Narrative:

When taking off from ZZZ; runway xxl; we were cleared to climb via the ZZZZZ2 departure. Per the departure; at 1;146 feet we are to turn direct to ZZZZZ1. The departure was properly loaded and we took off in navigation mode; as is required. However; when reaching the time to turn to ZZZZZ1; we realized that the aircraft was not making the turn at the proper time and was instead continuing on runway heading. We were not immediately aware of the cause; so we asked departure for a heading; which they gave us; as well as a 'direct ZZZZZ3 when able to resume the departure.' once on the heading; we realized that the FMS's auto sequence was inhibited; which is why it didn't continue on the RNAV departure. We switched the FMS back into auto; rejoined the departure; and continued the flight without any further issues.while not entirely aware of why the FMS was inhibited; we think that it might have been accidentally selected while wiping/cleaning the FMS.

Google
 

Original NASA ASRS Text

Title: Air Carrier Captain reported a track heading deviation while on departure.

Narrative: When taking off from ZZZ; Runway XXL; we were cleared to climb via the ZZZZZ2 departure. Per the departure; at 1;146 feet we are to turn direct to ZZZZZ1. The departure was properly loaded and we took off in NAV mode; as is required. However; when reaching the time to turn to ZZZZZ1; we realized that the aircraft was not making the turn at the proper time and was instead continuing on runway heading. We were not immediately aware of the cause; so we asked Departure for a heading; which they gave us; as well as a 'direct ZZZZZ3 when able to resume the departure.' Once on the heading; we realized that the FMS's auto sequence was inhibited; which is why it didn't continue on the RNAV departure. We switched the FMS back into auto; rejoined the departure; and continued the flight without any further issues.While not entirely aware of why the FMS was inhibited; we think that it might have been accidentally selected while wiping/cleaning the FMS.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.