The Unlicense

项目介绍

alimoncul/piController 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 The Unlicense 许可证,目前获得 12 个 Star、4 次 Fork。

仓库全名
alimoncul/piController
开源许可证
The Unlicense
Star 数
12
Fork 数
4

README 摘要

piController A graduation project started developing at Çanakkale Onsekiz Mart University in September 2018. Finished developing at June 2019. Getting Started     Our main goal is to create a vehicle which is semi-autonomous and controlled with android device. We can manually control it via using TCP. Manual Control Script is always working and listening incoming TCP packets from phone. We are…

完整内容见 GitHub 原始 README 或本页 。

常见问题

piController 用什么语言开发?

主要使用 Java 编写,采用 The Unlicense 许可证,目前有 12 个 Star。

piController 可以免费商用吗?

仓库采用 The Unlicense 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 piController 的源码?

可以直接克隆仓库:git clone https://github.com/alimoncul/piController.git,默认分支为 master;安装与运行步骤见仓库 README。

piController 最近还在维护吗?

仓库最近一次更新为 2019年9月27日,当前没有未关闭的 Issue;Star 数为 12,可作为社区活跃度的参考。

关于

Android Controller for Raspberry Pi

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Java
Python

Release

README

piController

A graduation project started developing at Çanakkale Onsekiz Mart University in September 2018. Finished developing at June 2019.

Getting Started

    Our main goal is to create a vehicle which is semi-autonomous and controlled with android device. We can manually control it via using TCP. Manual Control Script is always working and listening incoming TCP packets from phone. We are sending 4 different digits 2,4,6,8 as backward, left, right, forward from Android to Pi. When we let go any direction button, it sends digit 0 as to stop the vehicle.

preview

Demonstration of Manual Controlling

Semi-Autonomous Drive

    When vehicle is booted GPS Stream, Camera Stream, Stepper Motor Loop, Semi-autonomous Script Python scripts starts automatically. We can do this by editing /etc/rc.local file on device. On Android application first we hit GPS button and vehicle location shows on map. Then we pick a target location by either touching on the map or typing on Latitude, Longitude Textboxes. After picking a target location we hit SHOW button. SHOW button sends the selected target location to vehicle and when vehicle receives the target location it notifies the Android application. Then we can hit START button to simply start the process.

    The vehicle computes azimuth to target location and turns its heading to target. When vehicle faces the right way, it starts to move towards the target. As vehicle move towards the target it simultaneously checks for 2 things: Obstacles in front of the vehicle and if it’s arrived to target location.

    Obstacle detection is achieved by ultrasonic sensor (HC-SR04). The sensor continuously checks the front, right and left of the vehicle as it is rotated by the stepper mottor attached to it. If it detects obstacle near 60 cm. of the sensor, it counts as the vehicle encountered an obstacle, and stops the autonomus driving. It sends a warning to Android application as to switch to manual driving and the vehicle detected an obstacle.

    If the vehicle doesn’t encounter any obstacles, it goes forward to target and continously checking the current GPS location of vehicle and how close it is to target location. When it’s 5 meters or closer to target location, it stops and notifies the Android application that the vehicle has arrived to target.

preview

Demonstration of Semi-Autonomous Drive

Authors

See also the list of contributors who participated in this project.

评论

暂无评论