;; Auto-generated. Do not edit!


(when (boundp 'chemspeed_flex_msgs::CSFlexStatus)
  (if (not (find-package "CHEMSPEED_FLEX_MSGS"))
    (make-package "CHEMSPEED_FLEX_MSGS"))
  (shadow 'CSFlexStatus (find-package "CHEMSPEED_FLEX_MSGS")))
(unless (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS")
  (make-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))

(in-package "ROS")
;;//! \htmlinclude CSFlexStatus.msg.html


(intern "*DOOR_OPEN*" (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(shadow '*DOOR_OPEN* (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(defconstant chemspeed_flex_msgs::CSFlexStatus::*DOOR_OPEN* 0)
(intern "*DOOR_CLOSED*" (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(shadow '*DOOR_CLOSED* (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(defconstant chemspeed_flex_msgs::CSFlexStatus::*DOOR_CLOSED* 1)
(intern "*RUNNING_JOB*" (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(shadow '*RUNNING_JOB* (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(defconstant chemspeed_flex_msgs::CSFlexStatus::*RUNNING_JOB* 2)
(intern "*JOB_COMPLETE*" (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(shadow '*JOB_COMPLETE* (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(defconstant chemspeed_flex_msgs::CSFlexStatus::*JOB_COMPLETE* 3)
(intern "*ERROR*" (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(shadow '*ERROR* (find-package "CHEMSPEED_FLEX_MSGS::CSFLEXSTATUS"))
(defconstant chemspeed_flex_msgs::CSFlexStatus::*ERROR* -1)

(defun chemspeed_flex_msgs::CSFlexStatus-to-symbol (const)
  (cond
        ((= const 0) 'chemspeed_flex_msgs::CSFlexStatus::*DOOR_OPEN*)
        ((= const 1) 'chemspeed_flex_msgs::CSFlexStatus::*DOOR_CLOSED*)
        ((= const 2) 'chemspeed_flex_msgs::CSFlexStatus::*RUNNING_JOB*)
        ((= const 3) 'chemspeed_flex_msgs::CSFlexStatus::*JOB_COMPLETE*)
        ((= const -1) 'chemspeed_flex_msgs::CSFlexStatus::*ERROR*)
        (t nil)))

(defclass chemspeed_flex_msgs::CSFlexStatus
  :super ros::object
  :slots (_cs_flex_status ))

(defmethod chemspeed_flex_msgs::CSFlexStatus
  (:init
   (&key
    ((:cs_flex_status __cs_flex_status) 0)
    )
   (send-super :init)
   (setq _cs_flex_status (round __cs_flex_status))
   self)
  (:cs_flex_status
   (&optional __cs_flex_status)
   (if __cs_flex_status (setq _cs_flex_status __cs_flex_status)) _cs_flex_status)
  (:serialization-length
   ()
   (+
    ;; int32 _cs_flex_status
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _cs_flex_status
       (write-long _cs_flex_status s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _cs_flex_status
     (setq _cs_flex_status (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get chemspeed_flex_msgs::CSFlexStatus :md5sum-) "2a2aa224b84e0f53bfa45fd0f87fad66")
(setf (get chemspeed_flex_msgs::CSFlexStatus :datatype-) "chemspeed_flex_msgs/CSFlexStatus")
(setf (get chemspeed_flex_msgs::CSFlexStatus :definition-)
      "int32 DOOR_OPEN = 0
int32 DOOR_CLOSED = 1
int32 RUNNING_JOB = 2
int32 JOB_COMPLETE = 3
int32 ERROR = -1

int32 cs_flex_status

")



(provide :chemspeed_flex_msgs/CSFlexStatus "2a2aa224b84e0f53bfa45fd0f87fad66")


