Skip to content

Commit

Permalink
moving results to results folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jahaniam committed Apr 15, 2017
1 parent 5e11722 commit e822262
Show file tree
Hide file tree
Showing 21 changed files with 414 additions and 596,647 deletions.
Binary file modified Examples/ROS/ORB_SLAM2/Mono
Binary file not shown.
Binary file modified Examples/ROS/ORB_SLAM2/MonoAR
Binary file not shown.
Binary file modified Examples/ROS/ORB_SLAM2/Monopub
Binary file not shown.
Binary file modified Examples/ROS/ORB_SLAM2/Monosub
Binary file not shown.
Binary file modified Examples/ROS/ORB_SLAM2/RGBD
Binary file not shown.
Binary file modified Examples/ROS/ORB_SLAM2/Stereo
Binary file not shown.
801 changes: 404 additions & 397 deletions Examples/ROS/ORB_SLAM2/src/ros_mono_pub.cc

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions Examples/ROS/ORB_SLAM2/src/ros_mono_sub.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,16 @@ void kfCallback(const geometry_msgs::PoseStamped::ConstPtr& camera_pose){
}
void saveMap(unsigned int id) {
printf("saving maps with id: %u\n", id);
mkdir("results", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
if (id > 0) {
cv::imwrite("grid_map_" + to_string(id) + ".jpg", grid_map);
cv::imwrite("grid_map_thresh_" + to_string(id) + ".jpg", grid_map_thresh);
cv::imwrite("grid_map_thresh_resized" + to_string(id) + ".jpg", grid_map_thresh_resized);
cv::imwrite("results//grid_map_" + to_string(id) + ".jpg", grid_map);
cv::imwrite("results//grid_map_thresh_" + to_string(id) + ".jpg", grid_map_thresh);
cv::imwrite("results//grid_map_thresh_resized" + to_string(id) + ".jpg", grid_map_thresh_resized);
}
else {
cv::imwrite("grid_map.jpg", grid_map);
cv::imwrite("grid_map_thresh.jpg", grid_map_thresh);
cv::imwrite("grid_map_thresh_resized.jpg", grid_map_thresh_resized);
cv::imwrite("results//grid_map.jpg", grid_map);
cv::imwrite("results//grid_map_thresh.jpg", grid_map_thresh);
cv::imwrite("results//grid_map_thresh_resized.jpg", grid_map_thresh_resized);
}

}
Expand Down
6 changes: 3 additions & 3 deletions ORB_SLAM2.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -18,12 +18,12 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down
Binary file removed kitti_00.zip
Binary file not shown.
84,053 changes: 0 additions & 84,053 deletions kitti_00_map_pts_and_keyframes.txt

This file was deleted.

Loading

0 comments on commit e822262

Please sign in to comment.