@@ -27,12 +27,12 @@ int main(int argc, char **argv) {
27
27
printf (" =========================================\n " );
28
28
29
29
int ret;
30
- int ft_app_status, ft_is_started, ft_type, ft_id, ft_freq;
31
- float ft_mass, ft_dir_bias, ft_centroid[3 ], ft_zero[6 ];
32
- int imp_coord, imp_c_axis[6 ];
33
- float M[6 ], K[6 ], B[6 ];
34
- int f_coord, f_c_axis[6 ];
35
- float f_ref[6 ], f_limits[6 ], kp[6 ], ki[6 ], kd[6 ], xe_limit[6 ];
30
+ int ft_app_status = 0 , ft_is_started = 0 , ft_type = 0 , ft_id = 0 , ft_freq = 0 ;
31
+ float ft_mass = 0 , ft_dir_bias = 0 , ft_centroid[3 ] = { 0 } , ft_zero[6 ] = { 0 } ;
32
+ int imp_coord = 0 , imp_c_axis[6 ] = { 0 } ;
33
+ float M[6 ] = { 0 } , K[6 ] = { 0 } , B[6 ] = { 0 } ;
34
+ int f_coord = 0 , f_c_axis[6 ] = { 0 } ;
35
+ float f_ref[6 ] = { 0 } , f_limits[6 ] = { 0 } , kp[6 ] = { 0 } , ki[6 ] = { 0 } , kd[6 ] = { 0 } , xe_limit[6 ] = { 0 } ;
36
36
ret = arm->get_ft_sensor_config (&ft_app_status, &ft_is_started, &ft_type, &ft_id, &ft_freq,
37
37
&ft_mass, &ft_dir_bias, ft_centroid, ft_zero, &imp_coord, imp_c_axis, M, K, B,
38
38
&f_coord, f_c_axis, f_ref, f_limits, kp, ki, kd, xe_limit);
0 commit comments