Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
gnss
Commits
761e96a9
Commit
761e96a9
authored
9 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation about the WOLF_DIR environment, in README.md
parent
a65fc6c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+38
-0
38 additions, 0 deletions
README.md
with
38 additions
and
0 deletions
README.md
+
38
−
0
View file @
761e96a9
...
...
@@ -164,6 +164,44 @@ Download and build
$ make
$ sudo make install //optional in case you want to install wolf library
**Set the WOLF environment**
We need a platform-independent way to specify where are our configuration files.
For example, if we want to use YAML files for configuring sensors,
`YAML::LoadFile(filename)`
needs an absolute path to a
`filename`
__Solution:__
1.
To run from __Terminal__, you need to create an environment variable WOLF_ROOT pointing to where the wolf project is
-
Edit file
````~/.bashrc````
, or
````~/.bash_profile````
, and add these lines:
\c
ode
# WOLF
export WOLF_ROOT="/abs/path/to/wolf"
\e
ndcode
- Then you need to source the file to get effect,
\c
ode
source ~/.bash_profile // or ~/.bashrc, of course
\e
ndcode
2.
If you run your application from __eclipse__, do:
-
Menu Run > Run configurations...
-
Add, or edit, a run configuration for the executable you want to run
-
Click on tab 'Environment'
-
Add a variable named
````WOLF_ROOT````
, with value
````/abs/path/to/wolf````
3.
If you run from __QtCreator__
-
Click on Left bar > Projects > Tab 'Build'
-
Under 'Build Environment', click 'Details'
-
Add variable
`WOLF_ROOT`
with value
`/abs/path/to/wolf`
-
Click on Tab 'Run'
-
Select your Run configuration
-
Under 'Run Environment', make sure it says 'Use Build Environment'
-
If not, click on 'Details'
-
Under 'Base environment for this run configuration', select 'Build Environment'
### Wolf ROS Node
`$ git clone `
[
`https://github.com/IRI-MobileRobotics/Wolf_ros.git`
](
https://github.com/IRI-MobileRobotics/Wolf_ros.git
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment