33#include <sensing/logical_sensor/step_counter.h>
42#define AESM_ECODE_CREATE_ERROR 0x10
46#define AESM_ECODE_OPEN_ERROR 0x11
50#define AESM_ECODE_CLOSE_ERROR 0x12
54#define AESM_ECODE_SET_ERROR 0x13
67 uint32_t subscriptions,
69 int input_sample_watermark_num,
70 int input_size_per_sample);
79 int subscribe(sensor_command_data_mh_t& data);
81 int set(uint8_t walking_stride, uint8_t running_stride);
88 int m_input_sample_watermark_num;
89 int m_input_size_per_sample;
92 FAR StepCounterClass *step_counter_ins;
Sensor Library Class for Arduino on Spresense.
bool end()
Stop sensing of StepCounter.
bool begin(int id, uint32_t subscriptions, int input_rate, int input_sample_watermark_num, int input_size_per_sample)
Start sensing of StepCounter.
Definition: SensorClient.h:160