Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!12Ubuntu 18 04
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment