7 Star 52 Fork 19

Hank/USV-raspberrypi-part

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Record_Coordinates.py 969 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hank 提交于 2019-09-21 16:28 +08:00 . first upload of files
'''Copyright 2019 李东豫<8523429@qq.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.'''
# -*- coding: utf-8 -*
#记录点函数
#传入参数:
#startbit:记录点标志位;
#file:打开的文件
#index:写入点的索引号
def start(file,index,longtitude,latitude,height):
#print(index + ':' + longtitude + ',' + latitude + ',' + height + '\n')
file.write(str(index) + ':' + str(longtitude) + ',' + str(latitude) + ',' + str(height) + '\n')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Matreshka15/USV-raspberrypi-part.git
git@gitee.com:Matreshka15/USV-raspberrypi-part.git
Matreshka15
USV-raspberrypi-part
USV-raspberrypi-part
master

搜索帮助