Skip to main content

· One min read
JacobWU
TedZhai

We'd like to share some interesting thoughts when we take a closer look at the HEXBUG movement.

Why?

The answer is LOCKDOWN...

Apparently we can't get access to the RoA map for the time being due to the subsequent stagnation in logistics.

Good news is though, we've got our HEXBUG on hand. So we're attempting to find a walkaround to know better about how HEXBUG is expected to move on map.

How? Video modeling!

Tracker Logo

Tracker is a free video analysis and modeling tool built on the Open Source Physics Java framework. It is designed to be used in physics education.

tip

Download Tracker by clicking here.

Through the position change of Hexbug in a video, we calculated various data of HEXBUG frame by frame, eg.

  • velocity in the x-direction;
  • velocity in the y-direction;
  • angular speed;
  • ...

In this way we could understand the HEXBUG movement characteristics properly.

Ready?

To prepare for the analysis, it is necessary to

Establish a coordinate system

The 36mm path edge can be considered as x-axis of our analysis.

Set a benchmark

Pick a frame where the HEXBUG looks almost perpendicular to the stand, while we use the its own length, around 4.3cm, as the benchmark.

As the bug is in black, which is not so different from the books and black ruler used to build the competition field nearby on the pixel template, the particles will be located on the nearby track during automatic tracking.

Therefore, we used manual tracking, that is, manually determined the particles on each frame. Particle A is the bug head and particle B is the bug tail.

Determine the video frame rate

Moreover, we selected 170 frames in the video for analysis. A frame rate of 60/s is adopted.

What did we find?

The charts below show us some inspiring results.

Tracker Result 1

Tracker Result 2

We ended up an average VxV_x, to say velocity in forward direction, around 0.3m/s0.3m/s. Here we kept the outlying data point to take its arbitrary lateral movement into account.

We rock!

To conclude, the average velocity of HEXBUG in forward direction can be considered around 0.3m/s, but the movement of HEXBUG in lateral direction is more arbitrary.

Hopefully this could bring some insight of how the HEXBUG actually moves on our game map.
Cheers!

· One min read
Superfriend
Ancore

主体位置与连接

编程器主体部分的建议组装形式如下,包括

  • 液晶屏
  • OLED屏
  • 颜色识别传感器
  • 温度传感器
  • 时钟模块
  • 存储模块

主体连接

tip

使用9V电源即可以从扩展板右侧的DC插座供电。

尼龙柱的组装位置和方式可以根据项目的实际需要进行更改。
在代码编辑、测试完成、存储在板上存储模块后,可以直接运行存档快速启动进入程序功能,而无需操作液晶显示屏上的菜单。

· One min read
Ancore

Rise of Aspirants 这里我们简单介绍下挑战的基础规则。

基本介绍

每场比赛均由一只Bristlebot在地图上进行不规则运动。选手可以在地图上对应区域布置传感装置与控制装置。通过不同装置间的组合,选手主动或响应式地改变HEXBUG的行进路径。

note

为保证赛事的公平公正,我们统一选用HEXBUG nano进行比赛。

HEXBUG nano

· One min read
Superfriend
Ancore

器材内容

器材内容

挑战器材套件电子部分包含以下主要部件与模块

名称型号数量
主控板1
功能扩展板1
电池盒AA x 6, 9V1
电池盒AA x 4, 6V1
液晶屏LCD16021
OLED显示屏1
存储模块外置1
温度传感器BME2801
颜色识别传感器TCS347251
红外遮挡检测3
时钟模块RTC13071
直流电机驱动MX1515或兼容1
PWM信号发生器PCA96851
蓝牙通信模块1
USB串口模块1/5
按钮模块2
旋钮模块2
位置控制舵机SG902
速度控制舵机SG92R1
直流减速电机MX1919或同类驱动1
结构件尼龙柱若干
线材杜邦线、双头HX2.54四线排线若干