28 namespace perception {
32 void load_data(
const std::string &filename, std::vector<T> *outputs) {
33 std::ifstream ifs(filename, std::ifstream::in);
38 while (ifs >> output) {
39 outputs->push_back(output);
48 const std::vector<float> &results);
50 const std::map<std::string, std::vector<float>> &results);
void load_data(const std::string &filename, std::vector< T > *outputs)
Definition: util.h:32
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
std::shared_ptr< float > load_binary_data(const std::string &filename)
bool write_result(const std::string &out_path, const std::vector< float > &results)