;; Auto-generated. Do not edit!


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

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


(defclass kmriiwa_chemist_msgs::NavCommand
  :super ros::object
  :slots (_cmd_seq _priority_task _robot_id _graph_id _node_id _fine_localization ))

(defmethod kmriiwa_chemist_msgs::NavCommand
  (:init
   (&key
    ((:cmd_seq __cmd_seq) 0)
    ((:priority_task __priority_task) nil)
    ((:robot_id __robot_id) 0)
    ((:graph_id __graph_id) 0)
    ((:node_id __node_id) 0)
    ((:fine_localization __fine_localization) nil)
    )
   (send-super :init)
   (setq _cmd_seq (round __cmd_seq))
   (setq _priority_task __priority_task)
   (setq _robot_id (round __robot_id))
   (setq _graph_id (round __graph_id))
   (setq _node_id (round __node_id))
   (setq _fine_localization __fine_localization)
   self)
  (:cmd_seq
   (&optional __cmd_seq)
   (if __cmd_seq (setq _cmd_seq __cmd_seq)) _cmd_seq)
  (:priority_task
   (&optional (__priority_task :null))
   (if (not (eq __priority_task :null)) (setq _priority_task __priority_task)) _priority_task)
  (:robot_id
   (&optional __robot_id)
   (if __robot_id (setq _robot_id __robot_id)) _robot_id)
  (:graph_id
   (&optional __graph_id)
   (if __graph_id (setq _graph_id __graph_id)) _graph_id)
  (:node_id
   (&optional __node_id)
   (if __node_id (setq _node_id __node_id)) _node_id)
  (:fine_localization
   (&optional (__fine_localization :null))
   (if (not (eq __fine_localization :null)) (setq _fine_localization __fine_localization)) _fine_localization)
  (:serialization-length
   ()
   (+
    ;; int32 _cmd_seq
    4
    ;; bool _priority_task
    1
    ;; int32 _robot_id
    4
    ;; int32 _graph_id
    4
    ;; int32 _node_id
    4
    ;; bool _fine_localization
    1
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _cmd_seq
       (write-long _cmd_seq s)
     ;; bool _priority_task
       (if _priority_task (write-byte -1 s) (write-byte 0 s))
     ;; int32 _robot_id
       (write-long _robot_id s)
     ;; int32 _graph_id
       (write-long _graph_id s)
     ;; int32 _node_id
       (write-long _node_id s)
     ;; bool _fine_localization
       (if _fine_localization (write-byte -1 s) (write-byte 0 s))
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _cmd_seq
     (setq _cmd_seq (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; bool _priority_task
     (setq _priority_task (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;; int32 _robot_id
     (setq _robot_id (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; int32 _graph_id
     (setq _graph_id (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; int32 _node_id
     (setq _node_id (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; bool _fine_localization
     (setq _fine_localization (not (= 0 (sys::peek buf ptr- :char)))) (incf ptr- 1)
   ;;
   self)
  )

(setf (get kmriiwa_chemist_msgs::NavCommand :md5sum-) "c83d4a6fe2238d17c0573f9bd0668daf")
(setf (get kmriiwa_chemist_msgs::NavCommand :datatype-) "kmriiwa_chemist_msgs/NavCommand")
(setf (get kmriiwa_chemist_msgs::NavCommand :definition-)
      "int32 cmd_seq
bool priority_task
int32 robot_id
int32 graph_id
int32 node_id
bool fine_localization

")



(provide :kmriiwa_chemist_msgs/NavCommand "c83d4a6fe2238d17c0573f9bd0668daf")


