WPILibC++ 2023.4.3-108-ge5452e3
|
WPILib FileSystem namespace. More...
Functions | |
std::string | GetLaunchDirectory () |
Obtains the current working path that the program was launched with. More... | |
std::string | GetOperatingDirectory () |
Obtains the operating directory of the program. More... | |
std::string | GetDeployDirectory () |
Obtains the deploy directory of the program, which is the remote location src/main/deploy is deployed to by default. More... | |
WPILib FileSystem namespace.
std::string frc::filesystem::GetDeployDirectory | ( | ) |
Obtains the deploy directory of the program, which is the remote location src/main/deploy is deployed to by default.
On the roboRIO, this is /home/lvuser/deploy. In simulation, it is where the simulation was launched from, in the subdirectory "src/main/deploy" (pwd
/src/main/deploy).
std::string frc::filesystem::GetLaunchDirectory | ( | ) |
Obtains the current working path that the program was launched with.
This is analogous to the pwd
command on unix.
std::string frc::filesystem::GetOperatingDirectory | ( | ) |
Obtains the operating directory of the program.
On the roboRIO, this is /home/lvuser. In simulation, it is where the simulation was launched from (pwd
).