Skip to content

Commit

Permalink
Merge pull request #108 from inertialsense/Coyote_Cleanup
Browse files Browse the repository at this point in the history
Coyote cleanup
  • Loading branch information
waltjohnson authored Jun 17, 2021
2 parents a8dd55c + eba568d commit 68893b0
Showing 1 changed file with 7 additions and 31 deletions.
38 changes: 7 additions & 31 deletions src/luna_data_sets.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,51 +169,27 @@ typedef struct
typedef enum
{
/** Motor command timeout */
EVB_LUNA_STATUS_WHEEL_CMD_TIMEOUT = 0x00000001,
EVB_LUNA_STATUS_WHEEL_CMD_TIMEOUT = 0x00000001,

/** Geofence boundary exceeded */
EVB_LUNA_STATUS_ERR_GEOFENCE_EXCEEDED = 0x00000002,
EVB_LUNA_STATUS_ERR_GEOFENCE_EXCEEDED = 0x00000002,

/** Remote kill - motors disabled by remote kill */
EVB_LUNA_STATUS_ERR_REMOTE_KILL = 0x00000004,
EVB_LUNA_STATUS_ERR_REMOTE_KILL = 0x00000004,

/** Emergency stop button */
EVB_LUNA_STATUS_ERR_ESTOP = 0x00000008,
EVB_LUNA_STATUS_ERR_ESTOP = 0x00000008,

/** Bump sensor */
EVB_LUNA_STATUS_ERR_BUMP = 0x00000010,
EVB_LUNA_STATUS_ERR_BUMP = 0x00000010,

/** Range Sensor */
EVB_LUNA_STATUS_ERR_PROXIMITY = 0x00000020,
EVB_LUNA_STATUS_ERR_PROXIMITY = 0x00000020,

/** EVB Error bit mask */
EVB_LUNA_STATUS_ERR_MASK = 0x00000FFF,

/**Controller not tracking heading*/
COYOTE_STATUS_ERR_TRACKING_HEADING = 0x00001000,

/**Controller not tracking ang vel*/
COYOTE_STATUS_ERR_TRACKING_ANG_VEL = 0x00002000,

/**Controller not approaching waypoint*/
COYOTE_STATUS_ERR_TRACKING_WAYPOINT = 0x00004000,

/**Controller tracking error bit mask*/
COYOTE_STATUS_ERR_TRACKING_BITMASK = 0x0000F000,

/** Error Mask */
COYOTE_STATUS_ERR_MASK = 0x0000FFFF,

/**OGM Blocked */
COYOTE_STATUS_AUTONOMOUS_OGM_BLOCK = 0x00010000,

/**Paused in autonomous mode */
COYOTE_STATUS_AUTONOMOUS_PAUSE = 0x00020000,

/**Full Mask */
COYOTE_STATUS_MASK = 0x000FFFFF,

} eCoyoteStatus;
} eEvbLunaStatus;

typedef enum
{
Expand Down

0 comments on commit 68893b0

Please sign in to comment.