;; Auto-generated. Do not edit!


(when (boundp 'kmriiwa_chemist_msgs::LBRStatus)
  (if (not (find-package "KMRIIWA_CHEMIST_MSGS"))
    (make-package "KMRIIWA_CHEMIST_MSGS"))
  (shadow 'LBRStatus (find-package "KMRIIWA_CHEMIST_MSGS")))
(unless (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS")
  (make-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))

(in-package "ROS")
;;//! \htmlinclude LBRStatus.msg.html
(if (not (find-package "STD_MSGS"))
  (ros::roseus-add-msgs "std_msgs"))


(intern "*NOSTOP*" (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(shadow '*NOSTOP* (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(defconstant kmriiwa_chemist_msgs::LBRStatus::*NOSTOP* 0)
(intern "*STOP0*" (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(shadow '*STOP0* (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(defconstant kmriiwa_chemist_msgs::LBRStatus::*STOP0* 1)
(intern "*STOP1_ON_PATH*" (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(shadow '*STOP1_ON_PATH* (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(defconstant kmriiwa_chemist_msgs::LBRStatus::*STOP1_ON_PATH* 2)
(intern "*STOP2*" (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(shadow '*STOP2* (find-package "KMRIIWA_CHEMIST_MSGS::LBRSTATUS"))
(defconstant kmriiwa_chemist_msgs::LBRStatus::*STOP2* 3)

(defun kmriiwa_chemist_msgs::LBRStatus-to-symbol (const)
  (cond
        ((= const 0) 'kmriiwa_chemist_msgs::LBRStatus::*NOSTOP*)
        ((= const 1) 'kmriiwa_chemist_msgs::LBRStatus::*STOP0*)
        ((= const 2) 'kmriiwa_chemist_msgs::LBRStatus::*STOP1_ON_PATH*)
        ((= const 3) 'kmriiwa_chemist_msgs::LBRStatus::*STOP2*)
        (t nil)))

(defclass kmriiwa_chemist_msgs::LBRStatus
  :super ros::object
  :slots (_header _robot_op_state _motion_enabled _axes_gms_referenced _axes_position_referenced _safety_stop_state ))

(defmethod kmriiwa_chemist_msgs::LBRStatus
  (:init
   (&key
    ((:header __header) (instance std_msgs::Header :init))
    ((:robot_op_state __robot_op_state) "")
    ((:motion_enabled __motion_enabled) nil)
    ((:axes_gms_referenced __axes_gms_referenced) nil)
    ((:axes_position_referenced __axes_position_referenced) nil)
    ((:safety_stop_state __safety_stop_state) 0)
    )
   (send-super :init)
   (setq _header __header)
   (setq _robot_op_state (string __robot_op_state))
   (setq _motion_enabled __motion_enabled)
   (setq _axes_gms_referenced __axes_gms_referenced)
   (setq _axes_position_referenced __axes_position_referenced)
   (setq _safety_stop_state (round __safety_stop_state))
   self)
  (:header
   (&rest __header)
   (if (keywordp (car __header))
       (send* _header __header)
     (progn
       (if __header (setq _header (car __header)))
       _header)))
  (:robot_op_state
   (&optional __robot_op_state)
   (if __robot_op_state (setq _robot_op_state __robot_op_state)) _robot_op_state)
  (:motion_enabled
   (&optional (__motion_enabled :null))
   (if (not (eq __motion_enabled :null)) (setq _motion_enabled __motion_enabled)) _motion_enabled)
  (:axes_gms_referenced
   (&optional (__axes_gms_referenced :null))
   (if (not (eq __axes_gms_referenced :null)) (setq _axes_gms_referenced __axes_gms_referenced)) _axes_gms_referenced)
  (:axes_position_referenced
   (&optional (__axes_position_referenced :null))
   (if (not (eq __axes_position_referenced :null)) (setq _axes_position_referenced __axes_position_referenced)) _axes_position_referenced)
  (:safety_stop_state
   (&optional __safety_stop_state)
   (if __safety_stop_state (setq _safety_stop_state __safety_stop_state)) _safety_stop_state)
  (:serialization-length
   ()
   (+
    ;; std_msgs/Header _header
    (send _header :serialization-length)
    ;; string _robot_op_state
    4 (length _robot_op_state)
    ;; bool _motion_enabled
    1
    ;; bool _axes_gms_referenced
    1
    ;; bool _axes_position_referenced
    1
    ;; int32 _safety_stop_state
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; std_msgs/Header _header
       (send _header :serialize s)
     ;; string _robot_op_state
       (write-long (length _robot_op_state) s) (princ _robot_op_state s)
     ;; bool _motion_enabled
       (if _motion_enabled (write-byte -1 s) (write-byte 0 s))
     ;; bool _axes_gms_referenced
       (if _axes_gms_referenced (write-byte -1 s) (write-byte 0 s))
     ;; bool _axes_position_referenced
       (if _axes_position_referenced (write-byte -1 s) (write-byte 0 s))
     ;; int32 _safety_stop_state
       (write-long _safety_stop_state s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; std_msgs/Header _header
     (send _header :deserialize buf ptr-) (incf ptr- (send _header :serialization-length))
   ;; string _robot_op_state
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _robot_op_state (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; bool _motion_enabled
     (setq _motion_enabled (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;; bool _axes_gms_referenced
     (setq _axes_gms_referenced (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;; bool _axes_position_referenced
     (setq _axes_position_referenced (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;; int32 _safety_stop_state
     (setq _safety_stop_state (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get kmriiwa_chemist_msgs::LBRStatus :md5sum-) "f941e68f3c24d5264e4b59474170dbef")
(setf (get kmriiwa_chemist_msgs::LBRStatus :datatype-) "kmriiwa_chemist_msgs/LBRStatus")
(setf (get kmriiwa_chemist_msgs::LBRStatus :definition-)
      "Header header
string robot_op_state
bool motion_enabled
bool axes_gms_referenced
bool axes_position_referenced
int32 NOSTOP = 0
int32 STOP0 = 1
int32 STOP1_ON_PATH = 2
int32 STOP2 = 3
int32 safety_stop_state

================================================================================
MSG: std_msgs/Header
# Standard metadata for higher-level stamped data types.
# This is generally used to communicate timestamped data 
# in a particular coordinate frame.
# 
# sequence ID: consecutively increasing ID 
uint32 seq
#Two-integer timestamp that is expressed as:
# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
# time-handling sugar is provided by the client library
time stamp
#Frame this data is associated with
string frame_id

")



(provide :kmriiwa_chemist_msgs/LBRStatus "f941e68f3c24d5264e4b59474170dbef")


