001/* Copyright (C) Cross The Road Electronics 2024 */
002package com.ctre.phoenix.sensors;
003
004/**
005 * Sticky faults available to Pigeon (Currently has none)
006 */
007public class PigeonIMU_StickyFaults {
008        /**
009         * @return true if any faults are tripped
010         */
011        public boolean hasAnyFault() {
012                return false;
013        }
014        /**
015         * @return Current fault list as a bit field
016         */
017        public int toBitfield() {
018                int retval = 0;
019                return retval;
020        }
021        /**
022         * Updates current fault list with specified bit field of faults
023         * 
024         * @param bits bit field of faults to update with
025         */
026        public void update(int bits) {
027        }
028        public PigeonIMU_StickyFaults() {
029        }
030};