小乌龟控制完成

This commit is contained in:
Cx330 committed 2025-10-11 21:52:39 +08:00
1 parent b09567204c
commit cdcf44c156
329 files changed
+16783

No files matched your search

@@ -0,0 +1,13 @@
;;
;; DO NOT EDIT THIS FILE
;;
;; THIS FILE IS AUTOMATICALLY GENERATED
;; FROM /home/zmn/下载/ros_turtlecontrol/src/Aee1220310013/package.xml (0.0.0)
;; USING /opt/ros/noetic/lib/python3/dist-packages/geneus/geneus_main.py /opt/ros/noetic/share/geneus/package.xml (3.0.0)
;;
(ros::load-ros-package "geometry_msgs")
(ros::load-ros-package "roscpp")
(ros::load-ros-package "rosgraph_msgs")
(ros::load-ros-package "std_msgs")
(ros::load-ros-package "visualization_msgs")
(ros::load-ros-package "Aee1220310013")
@@ -0,0 +1,166 @@
;; Auto-generated. Do not edit!
(when (boundp 'Aee1220310013::ProcessID)
(if (not (find-package "AEE1220310013"))
(make-package "AEE1220310013"))
(shadow 'ProcessID (find-package "AEE1220310013")))
(unless (find-package "AEE1220310013::PROCESSID")
(make-package "AEE1220310013::PROCESSID"))
(unless (find-package "AEE1220310013::PROCESSIDREQUEST")
(make-package "AEE1220310013::PROCESSIDREQUEST"))
(unless (find-package "AEE1220310013::PROCESSIDRESPONSE")
(make-package "AEE1220310013::PROCESSIDRESPONSE"))
(in-package "ROS")
(defclass Aee1220310013::ProcessIDRequest
:super ros::object
:slots (_student_id ))
(defmethod Aee1220310013::ProcessIDRequest
(:init
(&key
((:student_id __student_id) "")
)
(send-super :init)
(setq _student_id (string __student_id))
self)
(:student_id
(&optional __student_id)
(if __student_id (setq _student_id __student_id)) _student_id)
(:serialization-length
()
(+
;; string _student_id
4 (length _student_id)
))
(:serialize
(&optional strm)
(let ((s (if strm strm
(make-string-output-stream (send self :serialization-length)))))
;; string _student_id
(write-long (length _student_id) s) (princ _student_id s)
;;
(if (null strm) (get-output-stream-string s))))
(:deserialize
(buf &optional (ptr- 0))
;; string _student_id
(let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _student_id (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
;;
self)
)
(defclass Aee1220310013::ProcessIDResponse
:super ros::object
:slots (_x _y _radius _direction ))
(defmethod Aee1220310013::ProcessIDResponse
(:init
(&key
((:x __x) 0.0)
((:y __y) 0.0)
((:radius __radius) 0.0)
((:direction __direction) 0)
)
(send-super :init)
(setq _x (float __x))
(setq _y (float __y))
(setq _radius (float __radius))
(setq _direction (round __direction))
self)
(:x
(&optional __x)
(if __x (setq _x __x)) _x)
(:y
(&optional __y)
(if __y (setq _y __y)) _y)
(:radius
(&optional __radius)
(if __radius (setq _radius __radius)) _radius)
(:direction
(&optional __direction)
(if __direction (setq _direction __direction)) _direction)
(:serialization-length
()
(+
;; float32 _x
4
;; float32 _y
4
;; float32 _radius
4
;; int32 _direction
4
))
(:serialize
(&optional strm)
(let ((s (if strm strm
(make-string-output-stream (send self :serialization-length)))))
;; float32 _x
(sys::poke _x (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
;; float32 _y
(sys::poke _y (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
;; float32 _radius
(sys::poke _radius (send s :buffer) (send s :count) :float) (incf (stream-count s) 4)
;; int32 _direction
(write-long _direction s)
;;
(if (null strm) (get-output-stream-string s))))
(:deserialize
(buf &optional (ptr- 0))
;; float32 _x
(setq _x (sys::peek buf ptr- :float)) (incf ptr- 4)
;; float32 _y
(setq _y (sys::peek buf ptr- :float)) (incf ptr- 4)
;; float32 _radius
(setq _radius (sys::peek buf ptr- :float)) (incf ptr- 4)
;; int32 _direction
(setq _direction (sys::peek buf ptr- :integer)) (incf ptr- 4)
;;
self)
)
(defclass Aee1220310013::ProcessID
:super ros::object
:slots ())
(setf (get Aee1220310013::ProcessID :md5sum-) "e7263169494a43b7a316d7ec3753d546")
(setf (get Aee1220310013::ProcessID :datatype-) "Aee1220310013/ProcessID")
(setf (get Aee1220310013::ProcessID :request) Aee1220310013::ProcessIDRequest)
(setf (get Aee1220310013::ProcessID :response) Aee1220310013::ProcessIDResponse)
(defmethod Aee1220310013::ProcessIDRequest
(:response () (instance Aee1220310013::ProcessIDResponse :init)))
(setf (get Aee1220310013::ProcessIDRequest :md5sum-) "e7263169494a43b7a316d7ec3753d546")
(setf (get Aee1220310013::ProcessIDRequest :datatype-) "Aee1220310013/ProcessIDRequest")
(setf (get Aee1220310013::ProcessIDRequest :definition-)
"string student_id
---
float32 x
float32 y
float32 radius
int32 direction
")
(setf (get Aee1220310013::ProcessIDResponse :md5sum-) "e7263169494a43b7a316d7ec3753d546")
(setf (get Aee1220310013::ProcessIDResponse :datatype-) "Aee1220310013/ProcessIDResponse")
(setf (get Aee1220310013::ProcessIDResponse :definition-)
"string student_id
---
float32 x
float32 y
float32 radius
int32 direction
")
(provide :Aee1220310013/ProcessID "e7263169494a43b7a316d7ec3753d546")