Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/dto/act_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#pragma pack(push, 1)
struct ActData {
IcdId message_id;
int32_t a_motor_theta;
int32_t a_motor_rad;
int32_t a_motor_omega;
int32_t b_motor_theta;
int32_t b_motor_rad;
int32_t b_motor_omega;
};
#pragma pack(pop)
Expand Down
3 changes: 2 additions & 1 deletion include/dto/act_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
#include <cstdint>

#include "../enum/icd_id.h"
#include "../fsm/act_status.h"
#include "../fsm/act_status.hpp"
#include "act_data.h"
#include "common_parameter.h"


#pragma pack(push, 1)
struct ActInfo {
IcdId message_id;
Expand Down
4 changes: 2 additions & 2 deletions include/dto/pin_control_main_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#pragma pack(push, 1)
struct PinControlMainCommand {
IcdId message_id;
int32_t a_motor_theta;
int32_t b_motor_theta;
int32_t a_motor_rad;
int32_t b_motor_rad;
};
#pragma pack(pop)

Expand Down
4 changes: 2 additions & 2 deletions include/dto/pin_control_req.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#pragma pack(push, 1)
struct PinControlReq {
IcdId message_id;
int32_t a_motor_theta;
int32_t b_motor_theta;
int32_t a_motor_rad;
int32_t b_motor_rad;
};
#pragma pack(pop)

Expand Down