From a682f15c55fb59da9bc87aba516f29337937a40b Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Thu, 30 Jul 2020 15:46:39 +0200 Subject: [PATCH] Changed the servo angles in the motion pages data type to unsigned type. The action module cast the value to a signed type. --- dynamixel_manager/include/modules/motion_pages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamixel_manager/include/modules/motion_pages.h b/dynamixel_manager/include/modules/motion_pages.h index 56f8feb..9edefcb 100755 --- a/dynamixel_manager/include/modules/motion_pages.h +++ b/dynamixel_manager/include/modules/motion_pages.h @@ -35,7 +35,7 @@ typedef struct // Header 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 time; // Time 63 }TStep; -- GitLab