Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions swarm/undergraduate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 无人机集群仿真性能优化
作者:刘文杰 (2209040027)
导师:王海东

文件夹结构正确创建。
39 changes: 39 additions & 0 deletions swarm/undergraduate/swarm/undergraduate/hutbthesis_main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
% !TeX program = xelatex
% !TeX encoding = UTF-8

\documentclass{hutbthesis}

% 论文信息
\titlecn{基于AirSim的无人机集群仿真软件性能优化}
\titleen{Performance Optimization of UAV Swarm Simulation Software Based on AirSim}
\author{刘文杰}
\studentid{2209040027}
\college{智能机器人学院}
\major{机器人工程}
\class{2201}
\supervisor{王海东}
\date{2026年5月}

\begin{document}

% 封面
\maketitle

% 摘要
\include{content/abstract}

% 目录
\tableofcontents

% 正文
\mainmatter
\include{content/chapter01} % 第一章
% 后续章节需要时再添加

% 参考文献
\bibliography{reference}

% 致谢
\include{content/acknowledgements}

\end{document}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hutbthesis}[2025/01/01 HUTB Thesis Template]

\LoadClass[12pt,a4paper]{article}

% 中文字体设置
\usepackage{fontspec}
\setmainfont{Times New Roman}
\setCJKmainfont{SimSun}

% 页面设置
\usepackage[top=2.5cm,bottom=2.5cm,left=3cm,right=2.5cm]{geometry}

% 定义命令
\newcommand{\titlecn}[1]{\def\@titlecn{#1}}
\newcommand{\titleen}[1]{\def\@titleen{#1}}
\newcommand{\author}[1]{\def\@author{#1}}
\newcommand{\studentid}[1]{\def\@studentid{#1}}
\newcommand{\college}[1]{\def\@college{#1}}
\newcommand{\major}[1]{\def\@major{#1}}
\newcommand{\class}[1]{\def\@class{#1}}
\newcommand{\supervisor}[1]{\def\@supervisor{#1}}

% 封面
\newcommand{\maketitle}{
\begin{titlepage}
\centering
\vspace*{2cm}
{\zihao{1} \heiti 湖南工商大学\\}
\vspace{1cm}
{\zihao{2} \heiti 本科毕业设计(论文)\\}
\vspace{3cm}
{\zihao{2} \heiti \@titlecn\\}
\vspace{1cm}
{\zihao{3} \heiti \@titleen\\}
\vspace{3cm}
{\zihao{4} \songti
学\hspace{2em}院:\@college\\
专\hspace{2em}业:\@major\\
班\hspace{2em}级:\@class\\
学\hspace{2em}号:\@studentid\\
姓\hspace{2em}名:\@author\\
指导教师:\@supervisor\\}
\vspace{2cm}
{\zihao{4} \@date}
\end{titlepage}
}

% 章节设置
\usepackage{titlesec}
\titleformat{\chapter}{\centering\zihao{3}\heiti}{第\chinese{chapter}章}{1em}{}

% 摘要环境
\newenvironment{abstractcn}{
\chapter*{摘要}
\addcontentsline{toc}{chapter}{摘要}
}{}
\newenvironment{abstracten}{
\chapter*{ABSTRACT}
\addcontentsline{toc}{chapter}{ABSTRACT}
}{}
\newcommand{\keywords}[1]{\par\vspace{1em}\noindent\textbf{关键词:}#1}

% 致谢环境
\newenvironment{acknowledgements}{
\chapter*{致谢}
\addcontentsline{toc}{chapter}{致谢}
}{}

% 参考文献
\usepackage[backend=biber,style=gb7714-2015]{biblatex}

\endinput