gisbi-kim / SC-A-LOAM

Robust LiDAR SLAM with a versatile plug-and-play loop closing and pose-graph optimization.
438 stars 95 forks source link

Local and global variables have the same name #27

Open WojciechMadrySpyrosoft opened 10 months ago

WojciechMadrySpyrosoft commented 10 months ago

q_wodom_curr declared here locally, and here globally.

t_wodom_curr declared here locally, and here globally.

q_w_curr declared here locally, and here globally.

t_w_curr declared here locally, and here globally.

All these variables are used in the local function and in other functions.

My question is: should these local variables have a different name or should they be removed and only global variables should be used?