在 Wiimote 中使用加速度计进行物理练习

发布于 2024-09-05 05:25:01 字数 344 浏览 4 评论 0原文

我必须在学校开发一些软件,利用 Wiimote 中的加速度计来记录实验数据,例如查找移动物体的加速度和速度。我了解如何使用加速度计值,但我有点停留在编程方面。我想做一系列事情:

  1. 通过蓝牙从 Wiimote 实时传输数据
  2. 使用加速度计值通过集成查找速度和位移
  3. 绘制一组结果
  4. 避免在 Wiimote 上使用红外传感器

请可以有人给我他们关于如何解决这个问题的想法。另外,如果人们能够指导我使用 Wiimote 的现有项目,那就太好了。也有人可以建议为此使用的最佳编程语言是什么。我目前的赌注是使用 Visual basic。

非常感谢任何形式的帮助。

I have to develop some software in my school to utilize the accelerometer in the Wiimote for recording data from experiments, for example finding the acceleration and velocity of a moving object. I understand how the accelerometer values will be used but I am sort of stuck on the programming front. There is a set of things that I would like to do:

  1. Live streaming of data from the Wiimote via bluetooth
  2. Use the accelerometer values to find velocity and displacment via integration
  3. Plot a set of results
  4. Avoid the use of the infrared sensor on the Wiimote

Please can anyone give me their thoughts on how to go about this. Also it would be great if people could direct me to existing projects that utizlise the wiimote. Also can someone suggest what would be the best programming language to use for this. My current bet is on using Visual basic.

Any sort of help is greatly appretiated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

征﹌骨岁月お 2024-09-12 05:25:01

Johnny Lee Chung 有一些使用 Wii 遥控器的著名项目。

他们使用 C#,您可以下载源代码。

总的来说,它们与您想要的相反 - 它们使用摄像头,但您应该能够使用源作为起点并分析来自远程的数据。

注意:在撰写 Wiimote 库时链接到的链接不可用,但由于它是 MSDN 站点,因此应该很快就会恢复。

附录:看起来现在可以在 Codeplex 上找到,

这也有一个到 基于该库构建的各种应用程序Wii Drum High 看起来只是读取加速度计。

There's some famous projects using the Wii remote by Johnny Lee Chung.

They use C# and you can download the source.

By and large they are the reverse of what you want - they use the camera, but you should be able to use the source as a starting point and to analyse the data coming from the remote.

NOTE: At the time of writing the Wiimote library linked to is unavailable, but as it's an MSDN site it should be back soon.

Addendum: It looks like this is now available on Codeplex

This also has a link to various applications built on the library. Wii Drum High looks like it just reads the accelerometer.

So尛奶瓶 2024-09-12 05:25:01

我已经编写了一些软件来完成您要求的一些操作。查看 wiiphysicals.site88.net。

您会发现整合加速度数据很难获得任何不错的结果。

它是用 c# 编写的。

I have written some software to do some of what you ask. Check out wiiphysics.site88.net.

You will find integrating the acceleration data very tricky to get any decent results.

It is written in c#.

Hello爱情风 2024-09-12 05:25:01

一个问题是你的初始条件是什么(如果你从静止状态开始就可以),另一个问题是当你达到位移时你会有很多噪音(来自 Wiimote 的加速度数据只有 8 位)

One problem is what are your initial conditions (ok if you start at rest), the other is that by the time you get to displacement you will have a lot of noise (the acceleration data from a wiimote is only 8-bit)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文