STorM32-Link

From STorM32-BGC Wiki
Revision as of 06:32, 3 June 2018 by OlliW (talk | contribs)
Jump to navigation Jump to search

The information on this page refers to firmware v2.35e and higher.

The STorM32-Link refers to a communication link between the STorM32 gimbal controller and a drone's flight controller, in order to achieve advanced functions which otherwise would not be possible.

The primary goal of the STorM32-Link is too overcome two general and hard-to-tackle issues with 3-axis gimbals, namely the drifting of the yaw axis in the hold mode and the tilting of the horizon in high-g flight maneuvers such as high-speed turns. The respective mechanisms are called Yaw Drift Compensation and Horizon Drift Compensation, and both are available for T-STorM32 gimbals since firmware v2.35e, as demonstrated by the videos below. The STorM32-Link may allow us to achieve further innovative features in the future, such as precision yaw pan modes or automatic recalibration at startup.

The same physical connection used for the STorM32-Link is also used for exchanging the conventional serial commands for controlling the gimbal, described in the articles Serial Communication and Uavcan. However, although the same bus is shared, this communication must not be considered part of the STorM32-Link (it's like TCP and UDP, they both share the same physical connection, but TCP is not UDP and vice versa).

So, to make it clear, two aspects of the communication should be distinguished:

  • Control of the gimbal: The serial/CAN communication allows us to control the orientation of the gimbal, such as the tilt and pan of the camera, with higher precision than possible with the standard inputs, and gives access to all other features of the STorM32 controller, such as triggering a camera, executing on-board scripts, and so on. It also allows the STorM32 to feed back information to the flight controller and ground stations, such as the actual camera orientation. Advanced operation modes such as follow me, smart shots, or object tracking, also fall into this category.
  • Improved stabilization: In addition, the serial/CAN communication is used to transfer dedicated data from the flight controller to the STorM32 controller, which helps it achieving better and more precise stabilization, and hence better videos. The two main features are the Yaw Drift Compensation and Horizon Drift Compensation mentioned before, but other innovative features may become possible in future.

Only the second aspect of the communication makes up the STorM32-Link.

A comment on history, and why STorM32-Link is a T-STorM32 feature: The STorM32-Link has probably the most colorful development history. Originally conceived early 2015, at a time when neither BaseCam/AlexMos nor Greemsy had such a feature, it never really took off besides being partially available since then (see STorM32-Link). The game changed with the introduction of T-STorM32 in early 2017, since the more accurate data on the gimbal joint angles available with the encoders help significantly in implementing the goals. And that's why the STorM32-Link features have been made available only for T-STorM32.