shadow-robot / sr-ros-interface-ethercat

Compare 0e6db3c ... +0 ... 9a2bf3a


@@ -339,13 +339,13 @@
Loading
339 339
  /// The map used to calibrate each joint.
340 340
  shadow_joints::CalibrationMap calibration_map;
341 341
342 -
  int element_neighbor[3*2*25];
342 +
  int element_neighbor[3*2*NB_TOTAL_POINTS];
343 343
  int element_num;
344 344
  int element_order = 3;
345 345
  int ni = 1;
346 -
  int node_num = 25;
346 +
  int node_num = NB_TOTAL_POINTS;
347 347
  //raw J1, raw J2
348 -
  double node_xy[2*25] = {
348 +
  double node_xy[2*NB_TOTAL_POINTS] = {
349 349
    2738, 2301,
350 350
    2693, 2154,
351 351
    2680, 1978,
@@ -372,10 +372,10 @@
Loading
372 372
    1103, 1730,
373 373
    1092, 1615
374 374
    };
375 -
  int triangle[3*2*25];
375 +
  int triangle[3*2*NB_TOTAL_POINTS];
376 376
  //Sample coordinates
377 377
  double xyi[2*1];
378 -
  double zd_thj1[25] = {
378 +
  double zd_thj1[NB_TOTAL_POINTS] = {
379 379
    0.0,
380 380
    0.0,
381 381
    0.0,
@@ -402,7 +402,7 @@
Loading
402 402
    1.5708,
403 403
    1.5708
404 404
  };
405 -
  double zd_thj2[25] = {
405 +
  double zd_thj2[NB_TOTAL_POINTS] = {
406 406
    0.6981,
407 407
    0.34906,
408 408
    0.0,

Learn more Showing 2 files with coverage changes found.

Changes in sr_robot_lib/src/r8lib.cpp
-3
+1
+2
Loading file...
Changes in sr_robot_lib/src/pwl_interp_2d_scattered.cpp
-4
-6
+10
Loading file...
Files Coverage
UBI0.cpp 0.00%
biotac.cpp 0.00%
generic_tactiles.cpp 11.76%
generic_updater.cpp 19.05%
motor_data_checker.cpp 19.05%
motor_updater.cpp 31.71%
muscle_updater.cpp 0.00%
pwl_interp_2d_scattered.cpp +1.40% 48.25%
r8lib.cpp -0.04% 1.19%
sensor_updater.cpp 2.78%
shadow_PSTs.cpp 0.00%
sr_motor_hand_lib.cpp 6.99%
sr_motor_robot_lib.cpp 15.16%
sr_muscle_hand_lib.cpp 0.00%
sr_muscle_robot_lib.cpp 0.00%
sr_robot_lib.cpp 18.85%
Folder Totals (16 files) 5.74%
Project Totals (33 files) 6.43%
Loading