说明:目前能够实现对手机到电脑的通信,可传送的信息为四个方向控制,recvMsg目录下的TestMain文件为java接收程序。使用java调用命令行应该就能实现手机控制机器人移动了。
保证手机和电脑在同一局域网内,或者在电脑上运行安卓虚拟机,输入ip地址添加,点击连接按钮会发送“hello”消息,确保能够连接(第一次可能会连着收到几条hello)。点击直接控制页面的四个按钮可以向电脑发送前进等方位指令。
日期 | 修改 |
---|---|
5/7 | 第一次上传,完成控制、机器人管理部分UI |
5/8 | 交互界面UI初步完成 |
5/9 | 登录界面UI初步完成 |
5/10 | 模拟建立Robot类 |
5/11 | 根据Robot类修改UI |
5/13 | ui调整,添加交互语句的简单判断 |
5/18 | UI调整,修改部分文件名 |
5/21 | 实现到电脑的通信 |
待解决问题 | 状态 |
---|---|
机器人的摄像头画面显示 | 待解决 |
建模的地图显示 | 待解决 |