Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitdwivedula committed Sep 27, 2024
1 parent f5a08b8 commit 940d862
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions automata_navigation_remapped.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

if [ -z "$VERBOSE" ]; then
VERBOSE=0
if [ -z "$VERBOSE_LOGGING" ]; then
VERBOSE_LOGGING=0
fi

echo verbose=$VERBOSE
echo VERBOSE_LOGGING=$VERBOSE_LOGGING

VERBOSE=$VERBOSE ./bin/navigation \
VERBOSE_LOGGING=$VERBOSE_LOGGING ./bin/navigation \
/velodyne_2dscan:=/scan \
/jackal_velocity_controller/odom:=/odom
2 changes: 1 addition & 1 deletion src/navigation/navigation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void Navigation::Initialize(const NavigationParameters& params,
}
evaluator_ = std::unique_ptr<PathEvaluatorBase>(evaluator);

const char* verbosity = std::getenv("VERBOSE");
const char* verbosity = std::getenv("VERBOSE_LOGGING");
if(verbosity == nullptr) verbose_logging = false;
else {
std::string verbosity_str = std::string(verbosity);
Expand Down

0 comments on commit 940d862

Please sign in to comment.