简体   繁体   English

我们可以使用 Android 手机控制机器人吗?

[英]Can we control a robot using an Android phone?

After stepping into the world of Android, I wondered if an Android phone can be used as a remote to control a basic pick and place robot.走进 Android 的世界后,我想知道 Android 手机是否可以用作遥控器来控制基本的拾放机器人。 If just an SMS could be send to control the action of a robot like say "pick object 1 at distance x" would result in the bot performing the specified action.如果只发送一条短信来控制机器人的动作,比如说“在距离 x 处选择 object 1”,就会导致机器人执行指定的动作。

Yes, It will involve Artificial Intelligence coupled with the basics of developing a robot but then I wanted to know whether it's possible to develop a machine like this?是的,它将涉及人工智能以及开发机器人的基础知识,但我想知道是否有可能开发出这样的机器? If yes, how should one kickstart things?如果是,应该如何启动事情? Would Android ADK be helpful? Android ADK 会有帮助吗?

Thanks谢谢

Cellbots Has what you are looking for. Cellbots有你正在寻找的东西。 They have several different platforms set up using various control methods(lego NXT, arduino, etc.) Many of them are able to be controlled either remotely, or even with an onboard Android device.他们使用不同的控制方法(乐高 NXT、arduino 等)设置了几个不同的平台。其中许多可以远程控制,甚至可以使用板载 Android 设备进行控制。

All depends on 1. tasks you're making your robot for, 2. the Android phone itself, as its CPU might not be enough for the tasks set.一切都取决于 1. 您为机器人制作的任务,2. Android 手机本身,因为它的 CPU 可能不足以完成任务集。 Once you've made this two points clear – the tutorials are hardly scarce.一旦你明确了这两点——教程就很少见了。 As for the good ones, a starting guide on how to build and program a robot which can recognize and follow a human ;至于好的方面,关于如何构建和编程一个可以识别和跟随人类的机器人的入门指南; with performance tests for various Android devices by HTC, Huawei and Samsung. HTC、华为和三星对各种 Android 设备进行了性能测试。

To be honest, I'd recommend knowing how to do it with a computer first.老实说,我建议您先了解如何使用计算机进行操作。 Once you know that, learn how to program Android (that's what we're here for) and get started.一旦你知道了,学习如何编程 Android(这就是我们在这里的目的)并开始。 Hell, you could make an application to control it - that might be more impressive.见鬼,你可以制作一个应用程序来控制它——这可能更令人印象深刻。

Edit: if you're controlling it via SMS, why are you limited to Android?编辑:如果您通过短信控制它,为什么您仅限于 Android? All of the coding for that would be done on the side of the robot, and you'd have to assign a number for that.所有的编码都将在机器人一侧完成,您必须为此分配一个编号。 I'd recommend an application and communicate via WIFI or Bluetooth.我会推荐一个应用程序并通过 WIFI 或蓝牙进行通信。

i dont think it would be SMS seeing as though your robot would need a phone number to receive我不认为这会是短信,好像你的机器人需要一个电话号码才能接收

but something like bluetooth might work or maybe even wifi但是像蓝牙之类的东西可能会起作用,甚至可能是wifi

what would be really cool is that those r standards which means if u got it working any bluetooth or wifi device could control it given that you created an app for it真正酷的是那些 r 标准,这意味着如果你让它工作,任何蓝牙或 wifi 设备都可以控制它,因为你为它创建了一个应用程序

at this point it would be basic tcp/ip control (idk what protocol bluetooth uses though)在这一点上,这将是基本的 tcp/ip 控制(idk 虽然蓝牙使用什么协议)

It's kind of good ideas, but you don't really need Android in here.这是个好主意,但你在这里并不需要 Android。 Coz I see that you choose your robot stimulus is SMS.因为我看到你选择你的机器人刺激是短信。 Every mobile device can send SMS, right?每个移动设备都可以发送短信,对吧? By the way, your robot has to include a device with can receive SMS.顺便说一句,您的机器人必须包含一个可以接收短信的设备。 SMS has a advantage that it can be sent very very far. SMS的一个优点是可以发送很远很远。 If you don't need to control your robot that far, try another connection like Wifi, Bluetooth, etc. If you stick with SMS choice, take a look at this .如果您不需要控制机器人那么远,请尝试其他连接,例如 Wifi、蓝牙等。如果您坚持选择 SMS,请查看 And search "SMS robot controller" for a start;).并搜索“SMS 机器人控制器”开始;)。 Have fun and good luck.玩得开心,祝你好运。

Don't use SMS, use bluetooth or similar.不要使用短信,使用蓝牙或类似设备。 Code the robot to understand the same functions it would if you were using a computer to control it (or really any kind of control) and then set up the controls on an app on the android device.对机器人进行编码以了解与使用计算机控制它(或实际上是任何类型的控制)相同的功能,然后在 android 设备上的应用程序上设置控件。 Up, Down, Left, Right, Forward, Backward, Pick, Place and anything else you'd need.向上、向下、向左、向右、向前、向后、拾取、放置和任何您需要的东西。 Make the button presses send what the robot it looking for for each action.按下按钮会发送机器人为每个动作寻找的内容。

If you're new in the field of robotics and Android, controlling a robot by SMS is not a small project.如果您是机器人领域的新手,Android,通过短信控制机器人可不是一个小项目。 You can start by using the Bluetooth technology in order to control a robot and the step into the SMS method.您可以首先使用蓝牙技术来控制机器人并进入 SMS 方法。 There are several ways to control a robot using an Android device: Bluetooth, Internet, by using the USB port, or sounds emitted by the device.使用 Android 设备控制机器人的方法有多种:蓝牙、互联网、使用 USB 端口或设备发出的声音。

A good article about tutorials to control a robot using the Bluetooth technology一篇关于使用蓝牙技术控制机器人的教程的好文章

i developed what you are asking for, now my android can control RC car remotely and also controlling a cam in it.tools Arduino,Bluetooth device android and other things我开发了您要的东西,现在我的 android 可以远程控制遥控车并控制其中的凸轮。工具 Arduino,蓝牙设备 android 和其他东西

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM