Geomagnetic methods and systems are used for monitoring the directionality of a prosthetic or orthotic device. Certain methods may include measuring multiple data points over a particular time interval to identify orientation information with respect to a prosthetic or orthotic device and/or used in the real-time control of the prosthetic or orthotic device. In certain examples, multiple points may be further compared with stored orientation data associated with predefined unsafe gait patterns. Control instructions and/or alerts based on the geomagnetic measurements can then be generated for the prosthetic or orthotic device, such as if the orientation data information matches one of the predefined unsafe gait patterns.