;; Auto-generated. Do not edit!


(when (boundp 'franka_msgs_archemist::PandaTask)
  (if (not (find-package "FRANKA_MSGS_ARCHEMIST"))
    (make-package "FRANKA_MSGS_ARCHEMIST"))
  (shadow 'PandaTask (find-package "FRANKA_MSGS_ARCHEMIST")))
(unless (find-package "FRANKA_MSGS_ARCHEMIST::PANDATASK")
  (make-package "FRANKA_MSGS_ARCHEMIST::PANDATASK"))

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


(defclass franka_msgs_archemist::PandaTask
  :super ros::object
  :slots (_task_seq _task_name _task_parameters ))

(defmethod franka_msgs_archemist::PandaTask
  (:init
   (&key
    ((:task_seq __task_seq) 0)
    ((:task_name __task_name) "")
    ((:task_parameters __task_parameters) (let (r) (dotimes (i 0) (push "" r)) r))
    )
   (send-super :init)
   (setq _task_seq (round __task_seq))
   (setq _task_name (string __task_name))
   (setq _task_parameters __task_parameters)
   self)
  (:task_seq
   (&optional __task_seq)
   (if __task_seq (setq _task_seq __task_seq)) _task_seq)
  (:task_name
   (&optional __task_name)
   (if __task_name (setq _task_name __task_name)) _task_name)
  (:task_parameters
   (&optional __task_parameters)
   (if __task_parameters (setq _task_parameters __task_parameters)) _task_parameters)
  (:serialization-length
   ()
   (+
    ;; uint32 _task_seq
    4
    ;; string _task_name
    4 (length _task_name)
    ;; string[] _task_parameters
    (apply #'+ (mapcar #'(lambda (x) (+ 4 (length x))) _task_parameters)) 4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; uint32 _task_seq
       (write-long _task_seq s)
     ;; string _task_name
       (write-long (length _task_name) s) (princ _task_name s)
     ;; string[] _task_parameters
     (write-long (length _task_parameters) s)
     (dolist (elem _task_parameters)
       (write-long (length elem) s) (princ elem s)
       )
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; uint32 _task_seq
     (setq _task_seq (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; string _task_name
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _task_name (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string[] _task_parameters
   (let (n)
     (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4)
     (setq _task_parameters (make-list n))
     (dotimes (i n)
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setf (elt _task_parameters i) (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
     ))
   ;;
   self)
  )

(setf (get franka_msgs_archemist::PandaTask :md5sum-) "c88e821308b538b49a4a27e31e229264")
(setf (get franka_msgs_archemist::PandaTask :datatype-) "franka_msgs_archemist/PandaTask")
(setf (get franka_msgs_archemist::PandaTask :definition-)
      "uint32 task_seq
string task_name
string[] task_parameters

")



(provide :franka_msgs_archemist/PandaTask "c88e821308b538b49a4a27e31e229264")


