;; Auto-generated. Do not edit!


(when (boundp 'pi4_peristaltic_pump_msgs::DispenserCommand)
  (if (not (find-package "PI4_PERISTALTIC_PUMP_MSGS"))
    (make-package "PI4_PERISTALTIC_PUMP_MSGS"))
  (shadow 'DispenserCommand (find-package "PI4_PERISTALTIC_PUMP_MSGS")))
(unless (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND")
  (make-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))

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


(intern "*ON*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*ON* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*ON* 0)
(intern "*OFF*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*OFF* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*OFF* 1)
(intern "*RESET*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*RESET* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*RESET* 2)
(intern "*REVERSE*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*REVERSE* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*REVERSE* 3)
(intern "*DISPENSEINDEF*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*DISPENSEINDEF* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEINDEF* 4)
(intern "*DISPENSEINDEFREV*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*DISPENSEINDEFREV* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEINDEFREV* 5)
(intern "*DISPENSE*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*DISPENSE* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSE* 6)
(intern "*DISPENSEREV*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*DISPENSEREV* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEREV* 7)
(intern "*DISPENSEPID*" (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(shadow '*DISPENSEPID* (find-package "PI4_PERISTALTIC_PUMP_MSGS::DISPENSERCOMMAND"))
(defconstant pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEPID* 8)

(defun pi4_peristaltic_pump_msgs::DispenserCommand-to-symbol (const)
  (cond
        ((= const 0) 'pi4_peristaltic_pump_msgs::DispenserCommand::*ON*)
        ((= const 1) 'pi4_peristaltic_pump_msgs::DispenserCommand::*OFF*)
        ((= const 2) 'pi4_peristaltic_pump_msgs::DispenserCommand::*RESET*)
        ((= const 3) 'pi4_peristaltic_pump_msgs::DispenserCommand::*REVERSE*)
        ((= const 4) 'pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEINDEF*)
        ((= const 5) 'pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEINDEFREV*)
        ((= const 6) 'pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSE*)
        ((= const 7) 'pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEREV*)
        ((= const 8) 'pi4_peristaltic_pump_msgs::DispenserCommand::*DISPENSEPID*)
        (t nil)))

(defclass pi4_peristaltic_pump_msgs::DispenserCommand
  :super ros::object
  :slots (_dispenser_command _dispenser_speed _dispenser_time _dispenser_ml ))

(defmethod pi4_peristaltic_pump_msgs::DispenserCommand
  (:init
   (&key
    ((:dispenser_command __dispenser_command) 0)
    ((:dispenser_speed __dispenser_speed) 0.0)
    ((:dispenser_time __dispenser_time) 0)
    ((:dispenser_ml __dispenser_ml) 0.0)
    )
   (send-super :init)
   (setq _dispenser_command (round __dispenser_command))
   (setq _dispenser_speed (float __dispenser_speed))
   (setq _dispenser_time (round __dispenser_time))
   (setq _dispenser_ml (float __dispenser_ml))
   self)
  (:dispenser_command
   (&optional __dispenser_command)
   (if __dispenser_command (setq _dispenser_command __dispenser_command)) _dispenser_command)
  (:dispenser_speed
   (&optional __dispenser_speed)
   (if __dispenser_speed (setq _dispenser_speed __dispenser_speed)) _dispenser_speed)
  (:dispenser_time
   (&optional __dispenser_time)
   (if __dispenser_time (setq _dispenser_time __dispenser_time)) _dispenser_time)
  (:dispenser_ml
   (&optional __dispenser_ml)
   (if __dispenser_ml (setq _dispenser_ml __dispenser_ml)) _dispenser_ml)
  (:serialization-length
   ()
   (+
    ;; int32 _dispenser_command
    4
    ;; float32 _dispenser_speed
    4
    ;; int32 _dispenser_time
    4
    ;; float32 _dispenser_ml
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _dispenser_command
       (write-long _dispenser_command s)
     ;; float32 _dispenser_speed
       (sys::poke _dispenser_speed (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
     ;; int32 _dispenser_time
       (write-long _dispenser_time s)
     ;; float32 _dispenser_ml
       (sys::poke _dispenser_ml (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _dispenser_command
     (setq _dispenser_command (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; float32 _dispenser_speed
     (setq _dispenser_speed (sys::peek buf ptr- :float)) (incf ptr- 4)
   ;; int32 _dispenser_time
     (setq _dispenser_time (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; float32 _dispenser_ml
     (setq _dispenser_ml (sys::peek buf ptr- :float)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get pi4_peristaltic_pump_msgs::DispenserCommand :md5sum-) "19eeefa89e53cf5a80032222d498cad3")
(setf (get pi4_peristaltic_pump_msgs::DispenserCommand :datatype-) "pi4_peristaltic_pump_msgs/DispenserCommand")
(setf (get pi4_peristaltic_pump_msgs::DispenserCommand :definition-)
      "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance 
int32 ON = 0
int32 OFF = 1
int32 RESET = 2
int32 REVERSE = 3
int32 DISPENSEINDEF = 4
int32 DISPENSEINDEFREV = 5
int32 DISPENSE = 6
int32 DISPENSEREV = 7
int32 DISPENSEPID = 8

int32 dispenser_command
float32 dispenser_speed
int32 dispenser_time
float32 dispenser_ml

")



(provide :pi4_peristaltic_pump_msgs/DispenserCommand "19eeefa89e53cf5a80032222d498cad3")


