I realized the hard-coded file path in "hexapod_LUT_source_final/" is different from the files in "ts_hexapod_controller/src/smlnkModel". The proof is in the following.
Used the command of 'grep -nr "fileid = cfopen(" .' in ts_hexapod_controller repository and got the following:
--------------------------------------------------------------------------------------------------------------------------
./src/smlnkModel/extract_Azimuth_Data.c:50: fileid = cfopen("//nfsdemo//Azimuth_Data.csv.M2", "rb");
./src/smlnkModel/extract_Azimuth_Data.c:51: else fileid = cfopen("//nfsdemo//Azimuth_Data.csv.CAM", "rb");
./src/smlnkModel/lut/generate_LUT.c:72: fileid = cfopen("//nfsdemo//Elevation_Data.csv.M2", "rb");
./src/smlnkModel/lut/generate_LUT.c:73: else fileid = cfopen("//nfsdemo//Elevation_Data.csv.CAM", "rb");
./src/smlnkModel/lut/generate_LUT.c:182: fileid = cfopen("//nfsdemo//Temperature_Data.csv.M2", "rb");
./src/smlnkModel/lut/generate_LUT.c:183: else fileid = cfopen("//nfsdemo//Temperature_Data.csv.CAM", "rb");
--------------------------------------------------------------------------------------------------------------------------
I realized the hard-coded file path in "hexapod_LUT_source_final/" is different from the files in "ts_hexapod_controller/src/smlnkModel". The proof is in the following.
Used the command of 'grep -nr "fileid = cfopen(" .' in ts_hexapod_controller repository and got the following:
--------------------------------------------------------------------------------------------------------------------------
./src/smlnkModel/extract_Azimuth_Data.c:50: fileid = cfopen("//nfsdemo//Azimuth_Data.csv.M2", "rb");
./src/smlnkModel/extract_Azimuth_Data.c:51: else fileid = cfopen("//nfsdemo//Azimuth_Data.csv.CAM", "rb");
./src/smlnkModel/lut/generate_LUT.c:72: fileid = cfopen("//nfsdemo//Elevation_Data.csv.M2", "rb");
./src/smlnkModel/lut/generate_LUT.c:73: else fileid = cfopen("//nfsdemo//Elevation_Data.csv.CAM", "rb");
./src/smlnkModel/lut/generate_LUT.c:182: fileid = cfopen("//nfsdemo//Temperature_Data.csv.M2", "rb");
./src/smlnkModel/lut/generate_LUT.c:183: else fileid = cfopen("//nfsdemo//Temperature_Data.csv.CAM", "rb");
--------------------------------------------------------------------------------------------------------------------------