Skip to content

Commit

Permalink
patches from PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtv committed Apr 5, 2017
1 parent 508cb2b commit 3ab37c4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion examples/ctrl/fasr2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ class Robot

Model* fuel_zone;
//Model* pool_zone;
int avoidcount, randcount;
int avoidcount;
// int randcount;
// int work_get, work_put;
bool charger_ahoy;
double charger_bearing;
Expand Down
4 changes: 2 additions & 2 deletions libstage/model_bumper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ using namespace Stg;
static const watts_t BUMPER_WATTS = 0.1; // bumper power consumption
static const Color BUMPER_HIT_RGB(1, 0, 0, 1); // red
static const Color BUMPER_NOHIT_RGB(0, 1, 0, 1);// green
static const meters_t BUMPER_HIT_THICKNESS = 0.02;
static const meters_t BUMPER_NOHIT_THICKNESS = 0.01;
//static const meters_t BUMPER_HIT_THICKNESS = 0.02;
//static const meters_t BUMPER_NOHIT_THICKNESS = 0.01;

Option ModelBumper::showBumperData( "Show Bumper Data", "show_bumper", "", true, NULL );

Expand Down
1 change: 0 additions & 1 deletion libstage/typetable.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "stage.hh"
using namespace Stg;


/* Create named wrappers for model constructors */
template <class T>
Model* Creator( World* world, Model* parent, const std::string& type )
Expand Down
2 changes: 1 addition & 1 deletion worlds/fasr2.world
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ floorplan
zone( color "red"
pose [ 18.000 43.000 0 0 ]
name "red_source"
ctrl "source 100 10"
ctrl "source 10 10"
)

zone( color "DarkRed"
Expand Down
2 changes: 1 addition & 1 deletion worlds/large.world
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ floorplan
name "cave"
size [1000.000 700.000 0.600]
pose [0 0 0 0]
bitmap "bitmaps/SFU_800x600.png"
bitmap "bitmaps/SFU_1200x615.png"
)


Expand Down

0 comments on commit 3ab37c4

Please sign in to comment.