diff --git a/pom.xml b/pom.xml
index 3ecfed8..b202374 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,18 @@
spring-boot-starter-websocket
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+
+ com.google.protobuf
+ protobuf-java
+ 3.21.12
+
+
com.baomidou
mybatis-plus-boot-starter
@@ -116,6 +128,13 @@
+
+
+ kr.motd.maven
+ os-maven-plugin
+ 1.7.0
+
+
org.apache.maven.plugins
@@ -144,6 +163,30 @@
+
+
+ org.xolstice.maven.plugins
+ protobuf-maven-plugin
+ 0.6.1
+
+
+ ${project.basedir}/src/main/proto
+
+ ${project.build.directory}/generated-sources/protobuf/java
+
+ com.google.protobuf:protoc:3.21.12:exe:windows-x86_64
+
+ true
+
+
+
+
+ compile
+ test-compile
+
+
+
+
diff --git a/src/main/java/org/nl/apt15e/apt/map/dao/MapInfo.java b/src/main/java/org/nl/apt15e/apt/map/dao/MapInfo.java
new file mode 100644
index 0000000..1624a7a
--- /dev/null
+++ b/src/main/java/org/nl/apt15e/apt/map/dao/MapInfo.java
@@ -0,0 +1,55 @@
+package org.nl.apt15e.apt.map.dao;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+
+/**
+ * @author dsh
+ * 2025/7/17
+ */
+@Data
+@TableName("map_info")
+public class MapInfo {
+
+ /**
+ * 地图编号
+ */
+ @TableId
+ private String mapCode;
+
+ /**
+ * 地图名称
+ */
+ private String mapName;
+
+ /**
+ * 图片像素宽
+ */
+ private Double width;
+
+ /**
+ * 图片像素高
+ */
+ private Double height;
+
+ /**
+ * 点云图像素比例 如:一个像素0.05 就是5cm
+ */
+ private Double resolution;
+
+ /**
+ * 左下角x坐标
+ */
+ private Double x;
+
+ /**
+ * 左下角y坐标
+ */
+ private Double y;
+
+ /**
+ * 左下角 角度
+ */
+ private Double angle;
+}
diff --git a/src/main/java/org/nl/apt15e/apt/map/dto/ProcessMapYamlDto.java b/src/main/java/org/nl/apt15e/apt/map/dto/ProcessMapYamlDto.java
new file mode 100644
index 0000000..77e46f6
--- /dev/null
+++ b/src/main/java/org/nl/apt15e/apt/map/dto/ProcessMapYamlDto.java
@@ -0,0 +1,31 @@
+package org.nl.apt15e.apt.map.dto;
+
+import lombok.Data;
+
+/**
+ * @author dsh
+ * 2025/7/17
+ */
+@Data
+public class ProcessMapYamlDto {
+
+ /**
+ * 点云图名称
+ */
+ private String image;
+
+ /**
+ * 点云图像素比例 如:一个像素0.05 就是5cm
+ */
+ private Double resolution;
+
+ /**
+ * 地图左下角像素的坐标 [x,y,angle]
+ */
+ private Double[] origin;
+
+ private Double negate;
+ private Double occupied_thresh;
+ private Double free_thresh;
+ private Double main_normal;
+}
diff --git a/src/main/java/org/nl/apt15e/apt/map/rest/MapInfoController.java b/src/main/java/org/nl/apt15e/apt/map/rest/MapInfoController.java
new file mode 100644
index 0000000..992d43d
--- /dev/null
+++ b/src/main/java/org/nl/apt15e/apt/map/rest/MapInfoController.java
@@ -0,0 +1,28 @@
+package org.nl.apt15e.apt.map.rest;
+
+import org.nl.apt15e.apt.map.dao.MapInfo;
+import org.nl.apt15e.apt.map.service.MapInfoService;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+/**
+ * @author dsh
+ * 2025/7/17
+ */
+@RestController
+@RequestMapping("/mapInfo")
+public class MapInfoController {
+
+ @Resource
+ private MapInfoService mapInfoService;
+
+ @RequestMapping("/getMapInfoByCode")
+ public ResponseEntity