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
sr_robot_lib 0.07% 6.43%
Project Totals (33 files) 6.43%
Loading