Jie Liu
Jie Liu
We need three argument to execute plot_results.py properly.
We don't need to check the file open results because it could be left for back tracking. Also, catch the exception is failed to load CSV file is and print...
1. isolate variable scope 2. use bit shift inside loop for performance benefits
That is wrong if using "==" to check up True of False in terms of Python semantics.
exit() is the helper for the interactive shell rather than Python program, also add misssing Apache license.
This tool wrote even without argument length check-up, also replace file open via with style.
We should break from the loop over immedinately if the reference information initization is succeed.
1) We should show the usage as user friendly style. 2) Use classmethod instead of staticmethod decorator since the later is most comfortable resides in helper class.
1) code style, please check if/else best practice. 2) fix the logic in case of offline_mode, otherwise it might lack of other conditions determination.
1) Argument checking up is invalid and not user friendly 2) Don't use print to write file 3) Rename pcd_file to captical letter since it is iteral, myabe I would...