Commit a682f15c authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Changed the servo angles in the motion pages data type to unsigned type.

The action module cast the value to a signed type.
parent c078fa11
...@@ -35,7 +35,7 @@ typedef struct // Header Structure (total 64unsigned char) ...@@ -35,7 +35,7 @@ typedef struct // Header Structure (total 64unsigned char)
typedef struct // Step Structure (total 64unsigned char) typedef struct // Step Structure (total 64unsigned char)
{ {
short int position[PAGE_MAX_NUM_SERVOS]; // Joint position 0~61 unsigned short int position[PAGE_MAX_NUM_SERVOS]; // Joint position 0~61
unsigned char pause; // Pause time 62 unsigned char pause; // Pause time 62
unsigned char time; // Time 63 unsigned char time; // Time 63
}TStep; }TStep;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment