Skip to content

Commit

Permalink
update .git files, new InitAromProject file
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Dvorak committed Jun 25, 2017
1 parent 170774e commit 37006e8
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
src/projects/*


# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/projects/TelescopeFocuser"]
path = src/projects/TelescopeFocuser
url = [email protected]:UniversalScientificTechnologies/TelescopeFocuser.git
24 changes: 24 additions & 0 deletions launch/basic.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<launch>
<rosparam
command="load"
file="/home/odroid/robozor-zvpp.yaml"
/>

<include
file="$(find rosbridge_server)/launch/rosbridge_websocket.launch"
/>

<node
name="aromWebUI"
pkg="arom"
type="runWeb.sh"
respawn="true"
/>

<node
name="pymlab"
pkg="arom"
type="pymlab_bridge"
/>

</launch>
41 changes: 41 additions & 0 deletions src/tools/InitAromProject
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/python
# -*- coding: utf8 -*-

from setuptools import setup, find_packages
import sys
import os
import os.path as path


try:
os.makedirs("SW/AROM/drivers/")
except Exception as e:
print e

try:
os.makedirs("SW/AROM/launch/")
except Exception as e:
print e

try:
os.makedirs("SW/AROM/web_features/")
except Exception as e:
print e


ros_path = path.realpath(path.dirname(__file__)+"/../drivers")
path, project = os.path.split(os.getcwd())
print project
print ros_path


f = open('SW/AROM/drivers/__init__.py', 'w')
f.write("""
# Do not change this file!
import sys
sys.path.append('%s')
""" %(ros_path))
f.close()

#os.popen('ln -s SW/AROM/drivers/* %s/project_%s/' %(ros_path, project))

0 comments on commit 37006e8

Please sign in to comment.