main_ubi_sdk v 0.1.3
This is UBI4 documentation
motor_controller_base_movement_info_t Struct Reference

#include <motor_controller.h>

Data Fields

motor_state_enum motor_state
 
MOT_DIR target_direction
 
drive_move_mode_enum move_mode
 
uint32_t target_enc_pos
 
uint32_t target_max_current
 
uint32_t target_speed
 
MOT_DIR current_direction
 
int32_t current_enc_pos
 
uint8_t force
 
int32_t last_current
 
uint32_t current_speed
 
uint16_t overcurrent_counter
 
uint32_t start_time
 
mot_stop_reason_enum last_stop_reason
 
uint16_t stall_current
 
uint32_t currentArray [20]
 
uint32_t currentArrayCounter
 
bool new_current_exist
 

Field Documentation

◆ current_direction

MOT_DIR current_direction

◆ current_enc_pos

int32_t current_enc_pos

◆ current_speed

uint32_t current_speed

◆ currentArray

uint32_t currentArray[20]

◆ currentArrayCounter

uint32_t currentArrayCounter

◆ force

uint8_t force

◆ last_current

int32_t last_current

◆ last_stop_reason

mot_stop_reason_enum last_stop_reason

◆ motor_state

motor_state_enum motor_state

◆ move_mode

◆ new_current_exist

bool new_current_exist

◆ overcurrent_counter

uint16_t overcurrent_counter

◆ stall_current

uint16_t stall_current

◆ start_time

uint32_t start_time

◆ target_direction

MOT_DIR target_direction

◆ target_enc_pos

uint32_t target_enc_pos

◆ target_max_current

uint32_t target_max_current

◆ target_speed

uint32_t target_speed

The documentation for this struct was generated from the following file: