The Earth’s gravity field model calculates various gravity field parameters

1. Calculation instructions 1.1 Normalized associated Legendre function Previous blog has been posted 1.2 Coordinate conversion 1.3 Spherical harmonic series representation of parameters of gravity field 1.3.1 Spherical harmonic coefficient 1.3.2 Disturbance bit 1.3.3 Geoid height 1.3.4 Gravity anomaly 1.3.5 Gravity Disturbance Two Keys 1. Use of two-dimensional vector container. 2. Class design 3. High-order […]

Based on ROS2, the influence of gravity acceleration on IMU acceleration is eliminated and the current gravity acceleration is dynamically obtained.

The full name of IMU is inertial measurement unit, which includes a three-axis accelerometer and a three-axis gyroscope, which measure the acceleration and angular velocity information of the object respectively, and are not affected by external factors such as surrounding environment structure and lighting. Usually the output frequency of IMU is between 100-1000hz, which is […]

MTK configuration gsensor/als/ps (gravity sensor/light sensor/distance sensor)

1. Before configuring these sensors, it is recommended to turn off the sensor macros that are not used in the project (just a suggestion) device/mediateksample/$(yourprojectname)/ProjectConfig.mk $(LINUX_KERNEL_VERSION)/arch/arm/configs/$(yourprojectname)_debug_defconfig $(LINUX_KERNEL_VERSION)/arch/arm/configs/$(yourprojectname)_defconfig # CONFIG_MTK_ACCELHUB is not set # CONFIG_MTK_ALSPSHUB is not set # CONFIG_CUSTOM_KERNEL_MAGNETOMETER is not set # CONFIG_MTK_MAGHUB is not set # CONFIG_CUSTOM_KERNEL_BAROMETER is not set # CONFIG_MTK_BAROHUB is […]

Use [Center of Gravity Coordinates] to interpolate on the model to obtain the vertex coordinates corresponding to each pixel on the texture

premise: After the texture is pasted on the model, what can be obtained directly using the blender python api is the texture coordinates corresponding to the vertices on each triangle of the model. The vertices of each triangular face constitute a triangle (A), and the texture coordinates corresponding to the vertices of each triangular face […]

Design of Gravity Induction Vending Machine System Based on STM32

1. Project introduction With the continuous development of smart Internet of Things technology, people’s lifestyles and consumption habits are also changing. Nowadays, more and more people are accustomed to new consumption patterns such as online shopping and self-service shopping, so smart retail self-service cabinets have emerged as the times require. This project designs and develops […]

Gravity of the Tree

center of gravity of the tree Given a tree, the tree contains n nodes (numbered 1~n) and n?1 undirected edges. Please find the center of gravity of the tree, and output the maximum number of points in the remaining connected blocks after the center of gravity is deleted. Definition of center of gravity: center of […]

Matlab draws a three-dimensional map, section or plan view of gravity anomalies of any shape

% residual density rd=2e14 %Gravity constant G =6.67e-11 %Measurement plane z =-10 %Measuring line x maximum value max_x=100 %The maximum value of measuring line y max_y=100 %Draw various irregular shape programs composed of cuboids clear;clc % Draw a small cube x=10;y=10;z=10;% corner point l=10;w=10;h=10;% length, width, height [a,b,c]=meshgrid([0 1]); p=alphaShape(l*a(:)-(l-x),w*b(:)-(w-y),h*c(:)-(0-z)); plot(p,’edgecolor’,’none’) xlabel(‘x’);ylabel(‘y’);zlabel(‘z’); cam light grid […]