;; Auto-generated. Do not edit!


(when (boundp 'mettler_toledo_quantos_q2_msgs::QuantosCommand)
  (if (not (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS"))
    (make-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS"))
  (shadow 'QuantosCommand (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS")))
(unless (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND")
  (make-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))

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


(intern "*STARTDOSE*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*STARTDOSE* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*STARTDOSE* 0)
(intern "*STOPDOSE*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*STOPDOSE* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*STOPDOSE* 1)
(intern "*GETDOORPOS*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*GETDOORPOS* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETDOORPOS* 2)
(intern "*GETSAMPLEPOS*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*GETSAMPLEPOS* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETSAMPLEPOS* 3)
(intern "*GETHEAD*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*GETHEAD* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETHEAD* 4)
(intern "*GETSAMPLE*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*GETSAMPLE* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETSAMPLE* 5)
(intern "*MOVEPIN*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*MOVEPIN* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*MOVEPIN* 6)
(intern "*MOVEDOOR*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*MOVEDOOR* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*MOVEDOOR* 7)
(intern "*SETSAMPLEPOS*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETSAMPLEPOS* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETSAMPLEPOS* 8)
(intern "*SETTAPBEFORE*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTAPBEFORE* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPBEFORE* 9)
(intern "*SETTAPDURING*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTAPDURING* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPDURING* 10)
(intern "*SETTAPINT*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTAPINT* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPINT* 11)
(intern "*SETTAPDURATION*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTAPDURATION* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPDURATION* 12)
(intern "*SETTARGET*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTARGET* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTARGET* 13)
(intern "*SETTOL*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTOL* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTOL* 14)
(intern "*SETTOLMODE*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETTOLMODE* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTOLMODE* 15)
(intern "*SETSAMPLEID*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETSAMPLEID* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETSAMPLEID* 16)
(intern "*SETPANOFF*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETPANOFF* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETPANOFF* 17)
(intern "*SETALGO*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETALGO* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETALGO* 18)
(intern "*SETAS*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*SETAS* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETAS* 19)
(intern "*DISPENSESOLID*" (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(shadow '*DISPENSESOLID* (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSCOMMAND"))
(defconstant mettler_toledo_quantos_q2_msgs::QuantosCommand::*DISPENSESOLID* 20)

(defun mettler_toledo_quantos_q2_msgs::QuantosCommand-to-symbol (const)
  (cond
        ((= const 0) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*STARTDOSE*)
        ((= const 1) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*STOPDOSE*)
        ((= const 2) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETDOORPOS*)
        ((= const 3) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETSAMPLEPOS*)
        ((= const 4) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETHEAD*)
        ((= const 5) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*GETSAMPLE*)
        ((= const 6) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*MOVEPIN*)
        ((= const 7) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*MOVEDOOR*)
        ((= const 8) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETSAMPLEPOS*)
        ((= const 9) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPBEFORE*)
        ((= const 10) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPDURING*)
        ((= const 11) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPINT*)
        ((= const 12) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTAPDURATION*)
        ((= const 13) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTARGET*)
        ((= const 14) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTOL*)
        ((= const 15) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETTOLMODE*)
        ((= const 16) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETSAMPLEID*)
        ((= const 17) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETPANOFF*)
        ((= const 18) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETALGO*)
        ((= const 19) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*SETAS*)
        ((= const 20) 'mettler_toledo_quantos_q2_msgs::QuantosCommand::*DISPENSESOLID*)
        (t nil)))

(defclass mettler_toledo_quantos_q2_msgs::QuantosCommand
  :super ros::object
  :slots (_quantos_command _quantos_ID _quantos_bool _quantos_float _quantos_int ))

(defmethod mettler_toledo_quantos_q2_msgs::QuantosCommand
  (:init
   (&key
    ((:quantos_command __quantos_command) 0)
    ((:quantos_ID __quantos_ID) "")
    ((:quantos_bool __quantos_bool) nil)
    ((:quantos_float __quantos_float) 0.0)
    ((:quantos_int __quantos_int) 0)
    )
   (send-super :init)
   (setq _quantos_command (round __quantos_command))
   (setq _quantos_ID (string __quantos_ID))
   (setq _quantos_bool __quantos_bool)
   (setq _quantos_float (float __quantos_float))
   (setq _quantos_int (round __quantos_int))
   self)
  (:quantos_command
   (&optional __quantos_command)
   (if __quantos_command (setq _quantos_command __quantos_command)) _quantos_command)
  (:quantos_ID
   (&optional __quantos_ID)
   (if __quantos_ID (setq _quantos_ID __quantos_ID)) _quantos_ID)
  (:quantos_bool
   (&optional (__quantos_bool :null))
   (if (not (eq __quantos_bool :null)) (setq _quantos_bool __quantos_bool)) _quantos_bool)
  (:quantos_float
   (&optional __quantos_float)
   (if __quantos_float (setq _quantos_float __quantos_float)) _quantos_float)
  (:quantos_int
   (&optional __quantos_int)
   (if __quantos_int (setq _quantos_int __quantos_int)) _quantos_int)
  (:serialization-length
   ()
   (+
    ;; int32 _quantos_command
    4
    ;; string _quantos_ID
    4 (length _quantos_ID)
    ;; bool _quantos_bool
    1
    ;; float32 _quantos_float
    4
    ;; int32 _quantos_int
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _quantos_command
       (write-long _quantos_command s)
     ;; string _quantos_ID
       (write-long (length _quantos_ID) s) (princ _quantos_ID s)
     ;; bool _quantos_bool
       (if _quantos_bool (write-byte -1 s) (write-byte 0 s))
     ;; float32 _quantos_float
       (sys::poke _quantos_float (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
     ;; int32 _quantos_int
       (write-long _quantos_int s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _quantos_command
     (setq _quantos_command (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; string _quantos_ID
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _quantos_ID (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; bool _quantos_bool
     (setq _quantos_bool (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;; float32 _quantos_float
     (setq _quantos_float (sys::peek buf ptr- :float)) (incf ptr- 4)
   ;; int32 _quantos_int
     (setq _quantos_int (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get mettler_toledo_quantos_q2_msgs::QuantosCommand :md5sum-) "aa63230c95b3f1f7695d287e88ee9006")
(setf (get mettler_toledo_quantos_q2_msgs::QuantosCommand :datatype-) "mettler_toledo_quantos_q2_msgs/QuantosCommand")
(setf (get mettler_toledo_quantos_q2_msgs::QuantosCommand :definition-)
      "# Available commands to use the MT Quantos System
int32 STARTDOSE = 0
int32 STOPDOSE = 1
int32 GETDOORPOS = 2
int32 GETSAMPLEPOS = 3
int32 GETHEAD = 4
int32 GETSAMPLE = 5
int32 MOVEPIN = 6
int32 MOVEDOOR = 7
int32 SETSAMPLEPOS = 8
int32 SETTAPBEFORE = 9
int32 SETTAPDURING = 10
int32 SETTAPINT = 11
int32 SETTAPDURATION = 12
int32 SETTARGET = 13
int32 SETTOL = 14
int32 SETTOLMODE = 15
int32 SETSAMPLEID = 16
int32 SETPANOFF = 17
int32 SETALGO = 18
int32 SETAS = 19
int32 DISPENSESOLID = 20

int32 quantos_command
string quantos_ID
bool quantos_bool
float32 quantos_float
int32 quantos_int

")



(provide :mettler_toledo_quantos_q2_msgs/QuantosCommand "aa63230c95b3f1f7695d287e88ee9006")


