> For the complete documentation index, see [llms.txt](https://mwm5.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mwm5.twelite.info/latest/references/parser/twefmt/packet-types/twepacketpal/palbase/palmot.md).

# PalMot

```cpp
struct PalMot : public PalBase {
	static const int MAX_SAMPLES = 16;

	static const uint8_t U8VARS_CT = MAX_SAMPLES + 1; // センサー数
	static const uint32_t STORE_COMP_MASK = 0b11; // 電圧と加速度サンプル１あればコンプとする

	uint16_t u16Volt; // 電源電圧
	uint8_t u8sample_rate_code; // サンプリング周波数 (0: 25Hz, 4:100Hz)
  
	uint8_t u8samples; // 格納サンプル数
	int16_t i16X[16];  // X軸 (ミリG)
	int16_t i16Y[16];  // Y軸
	int16_t i16Z[16];  // Z軸
};
```

※ パケット間の各サンプルの連続性を確認するには、パケットのシーケンス番号の抜けが無いことを確認してください。
