Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ARayCastLidar::ARayCastLidar(const FObjectInitializer &ObjectInitializer)
}
float ARayCastLidar::ReadAlphaFromFile(const float perception)
{
std::string filename = "/home/PJLAB/yangdonglin/workplace/carla/0.9.12/carla_LiDARSimLibBackUp/MieCsv/mie_ext.csv"; // modify depend on your own carla path
std::string filename = "carla/0.9.12/carla_LiDARSimLibBackUp/MieCsv/mie_ext.csv"; // modify depend on your own carla path
std::ifstream MieCsv(filename, std::ios::in);
std::string lineStr;
float final_alpha = 0.0f;
Expand Down Expand Up @@ -393,22 +393,22 @@ ARayCastLidar::FDetection ARayCastLidar::ComputeDetectionAdvance(const FHitResul

void ARayCastLidar::LidarLogging(int pSize)
{
std::string filename = "/home/PJLAB/yangdonglin/workplace/carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::string filename = "carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::ofstream Csv(filename, std::ios::out | std::ios::app);
Csv << pSize << "\n";
Csv.close();
}

void ARayCastLidar::LidarLogging(std::string pSize)
{
std::string filename = "/home/PJLAB/yangdonglin/workplace/carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::string filename = "carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::ofstream Csv(filename, std::ios::out | std::ios::app);
Csv << pSize << "\n";
Csv.close();
}
void ARayCastLidar::LidarLogging(char ch)
{
std::string filename = "/home/PJLAB/yangdonglin/workplace/carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::string filename = "carla/0.9.12/carla_LiDARSimLibBackUp/debug/debug_particle.txt"; // modify depend on your own carla path
std::ofstream Csv(filename, std::ios::out | std::ios::app);
Csv << ch << "\n";
Csv.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ loss:
info_fn:
reflect: True
ignore_index: 4
base_dir: /home/PJLAB/yangdonglin/workplace/lidar-intensity/runs
base_dir: lidar-intensity/runs