congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PlanarRegionFileTools.exportPlanarRegionData
Code IndexAdd Tabnine to your IDE (free)

How to use
exportPlanarRegionData
method
in
us.ihmc.robotics.PlanarRegionFileTools

Best Java code snippets using us.ihmc.robotics.PlanarRegionFileTools.exportPlanarRegionData (Showing top 3 results out of 315)

origin: us.ihmc/robot-environment-awareness

  private void executeOnThread(PlanarRegionsListMessage planarRegionData)
  {
   Path folderPath = Paths.get(dataDirectoryPath.get() + File.separator + PlanarRegionFileTools.createDefaultTimeStampedFolderName());
   PlanarRegionFileTools.exportPlanarRegionData(folderPath, PlanarRegionMessageConverter.convertToPlanarRegionsList(planarRegionData));
  }
}
origin: us.ihmc/ihmc-footstep-planning

public static boolean exportDataset(Path containingFolder, String datasetName, PlanarRegionsList planarRegionsList, Point3DReadOnly startPosition,
                  QuaternionReadOnly startOrientation, Point3DReadOnly goalPosition, QuaternionReadOnly goalOrientation, FootstepPlannerType type, double timeout)
{
 File datasetFolder = new File(containingFolder + File.separator + datasetName);
 if (datasetFolder.exists())
   return false;
 boolean success = datasetFolder.mkdir();
 if (!success)
   return false;
 Path planarRegionsFolder = Paths.get(datasetFolder.getPath() + File.separator + PlanarRegionFileTools.createDefaultTimeStampedFolderName());
 success = PlanarRegionFileTools.exportPlanarRegionData(planarRegionsFolder, planarRegionsList);
 if (!success)
   return false;
 success = exportParameters(datasetFolder, startPosition, startOrientation, goalPosition, goalOrientation, type, timeout);
 if (!success)
   return false;
 return true;
}
origin: us.ihmc/ihmc-path-planning

public static boolean exportDataset(Path containingFolder, String datasetName, PlanarRegionsList planarRegionsList, Point3DReadOnly start,
                  Point3DReadOnly goal)
{
 File datasetFolder = new File(containingFolder + File.separator + datasetName);
 if (datasetFolder.exists())
   return false;
 boolean success = datasetFolder.mkdir();
 if (!success)
   return false;
 Path planarRegionsFolder = Paths.get(datasetFolder.getPath() + File.separator + PlanarRegionFileTools.createDefaultTimeStampedFolderName());
 success = PlanarRegionFileTools.exportPlanarRegionData(planarRegionsFolder, planarRegionsList);
 if (!success)
   return false;
 success = exportParameters(datasetFolder, start, goal);
 if (!success)
   return false;
 return true;
}
us.ihmc.roboticsPlanarRegionFileToolsexportPlanarRegionData

Javadoc

Creates a directory with the given path and export into files the data contained in planarRegionData.

Popular methods of PlanarRegionFileTools

  • importPlanarRegionData
    Load from the given data folder planar region data that has been previously exported via #exportPlan
  • createDefaultTimeStampedFolderName
    Generates a default timestamped name that can be used to generate automated and unique folders.
  • listResourceDirectoryContents
  • getDate
    Generates a String representing the data & time as of right now, like just right now.
  • fileFromClassPath
  • getResourceFile
  • getResourceURL
  • importPlanarRegionDataInternal
  • importPlanarRegionDataInternalForTests
  • isPlanarRegionFile
  • isWindows
  • loadPlanarRegionVertices
  • isWindows,
  • loadPlanarRegionVertices,
  • readHeaderLine,
  • writePlanarRegionVertices,
  • writePlanarRegionsData

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now