This disclosure describes, according to some implementations, a system and method for capturing sensor data for gait analysis of a subject using a robot. In an example method, a robot unit receives an instruction to monitor a gait of a subject; initializes a monitoring approach in response to receiving the instructions to begin monitoring the gait of the subject; collecting sensor data capturing movement of the subject along the pathway portion; and generating gait data for gait analysis based on the sensor data. In various embodiments, the monitoring approaches may include an active approach, a passive approach, or a hybrid approach.