Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from Estimote/x86
Browse files Browse the repository at this point in the history
Add x86 architecture version
  • Loading branch information
m2kz authored Sep 28, 2017
2 parents e7ff49b + eacf021 commit c095e85
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 5 deletions.
153 changes: 153 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
.static_storage/
.media/
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

build/
bin/
lib/
msg_gen/
srv_gen/
msg/*Action.msg
msg/*ActionFeedback.msg
msg/*ActionGoal.msg
msg/*ActionResult.msg
msg/*Feedback.msg
msg/*Goal.msg
msg/*Result.msg
msg/_*.py

# Generated by dynamic reconfigure
*.cfgc
/cfg/cpp/
/cfg/*.py

# Ignore generated docs
*.dox
*.wikidoc

# eclipse stuff
.project
.cproject

# qcreator stuff
CMakeLists.txt.user

srv/_*.py
*.pcd
*.pyc
qtcreator-*
*.user

/planning/cfg
/planning/docs
/planning/src

*~

# Emacs
.#*

# Catkin custom files
CATKIN_IGNORE
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ detailed documentation of the system could be found at our developer portal: htt
### Quick installation guide
0. Make sure you have installed ROS and configured Catkin workspace on your Raspberry Pi.
1. Download content of this repository and save as `estimote_robotics_indoor_sdk` folder inside `src/` folder in your catkin workspace (referred later as `$CATKIN_WORKSPACE`)
2. Run `$ catkin_make` from your catkin workspace.
3. Open three separate terminals, run `$ roscore` in first and use last two in steps described below.
4. Start the positioning node:
2. Edit `src/runner.py` and choose which architecture version of `indoor_robotics_sdk.so` you want to execute by uncommenting it and commenting other versions.
3. Run `$ catkin_make` from your catkin workspace.
4. Open three separate terminals, run `$ roscore` in first and use last two in steps described below.
5. Start the positioning node:
```sh
$ cd $CATKIN_WORKSPACE
$ source ./devel/setup.bash
Expand All @@ -40,7 +41,7 @@ Example output:
[INFO] [1504609464.816015]: 3.05423739245, 10.0339022171
```

5. Start an exemplary listener:
6. Start an exemplary listener:
```sh
$ cd $CATKIN_WORKSPACE
$ source ./devel/setup.bash
Expand Down
File renamed without changes.
Binary file added src/lib/x86/robotics_indoor_sdk.so
Binary file not shown.
5 changes: 4 additions & 1 deletion src/runner.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/usr/bin/env python
import time
import sys
import rospy
print "[Robotics Indoor SDK] initializing ROS node.."
rospy.init_node('positioning', anonymous=True)
print "[Robotics Indoor SDK] ROS node started, initializing positioning system.."
# sys.path.append('lib/armv7l')
sys.path.append('lib/x86')
import robotics_indoor_sdk

while True:
time.sleep(0.2)

0 comments on commit c095e85

Please sign in to comment.