Skip to content

Commit

Permalink
* Removing osc dependency from gpc.pl and project generations
Browse files Browse the repository at this point in the history
  • Loading branch information
jredmondson committed Apr 27, 2022
1 parent 466664f commit 428efa2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 35 deletions.
2 changes: 1 addition & 1 deletion scripts/projects/common/using_gams.mpb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project : using_madara, using_osc {
project : using_madara {
includes += $(GAMS_ROOT)/src
includes += $(EIGEN_ROOT)

Expand Down
15 changes: 0 additions & 15 deletions scripts/projects/common/using_osc.mpb

This file was deleted.

13 changes: 0 additions & 13 deletions scripts/projects/gpc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -424,14 +424,6 @@
* The host information where VREP and UnrealGAMS are running
**/
.vrep_host = '127.0.0.1';
.osc.server.endpoint ='127.0.0.1:5555';
/**
* Some parameters you can change for UnrealGAMS (can safely comment
* these out as they are also the defaults in the OscPlatform
**/
.osc.local.endpoint='127.0.0.1:' + (.id + 8000);
.osc.loiter_timeout=5.0;
/**
* Setup initial pose for Unreal in meters along x,y,z
Expand Down Expand Up @@ -4415,11 +4407,6 @@
copy "$script_dir/common/using_clang.mpb", "$path/";
}

if (not -f "$path/using_osc.mpb")
{
copy "$script_dir/common/using_osc.mpb", "$path/";
}

if (not -f "$path/using_madara.mpb")
{
copy "$script_dir/common/using_madara.mpb", "$path/";
Expand Down
17 changes: 11 additions & 6 deletions scripts/windows/base_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ SET TESTS=0
SET TUTORIALS=0
SET OPENCV=0
SET DOCS=0
SET VS_VERSION="vs2017"
SET CMAKE_GEN=Visual Studio 15 2017
::SET VS_VERSION="vs2017"
::SET CMAKE_GEN=Visual Studio 15 2017
SET VS_VERSION="vs2022"
SET CMAKE_GEN=Visual Studio 17 2022
SET PREREQS=0
SET SETENV=0
SET SETPATH=0
Expand Down Expand Up @@ -116,6 +118,9 @@ FOR %%x in (%*) do (
) ELSE IF "%%x" == "vs2019" (
echo Build will use Visual Studio 2019
SET VS_VERSION=vs2019
) ELSE IF "%%x" == "vs2022" (
echo Build will use Visual Studio 2022
SET VS_VERSION=vs2022
) ELSE IF "%%x" == "setenv" (
echo Build will set environment variables for you
SET SETENV=1
Expand Down Expand Up @@ -496,13 +501,13 @@ IF %MADARA% EQU 1 (
git clone https://github.com/jredmondson/madara "%MADARA_ROOT%"
SET MADARA_REPO_RESULT=%ERRORLEVEL%
cd "%MADARA_ROOT%"
git checkout windows_fixes
git checkout master

) ELSE (

echo MADARA exists. Pulling latest version
cd "%MADARA_ROOT%"
git checkout windows_fixes
git checkout master
echo git pull
git pull
SET MADARA_REPO_RESULT=%ERRORLEVEL%
Expand Down Expand Up @@ -541,12 +546,12 @@ IF %GAMS% EQU 1 (
git clone https://github.com/jredmondson/gams %GAMS_ROOT%
SET GAMS_REPO_RESULT=%ERRORLEVEL%
cd %GAMS_ROOT%
git checkout windows_fixes
git checkout master

) ELSE (
echo GAMS exists. Pulling latest version
cd %GAMS_ROOT%
git checkout windows_fixes
git checkout master
echo git pull
git pull
SET GAMS_REPO_RESULT=%ERRORLEVEL%
Expand Down

0 comments on commit 428efa2

Please # to comment.