I'm using git and debian 'jessie' for my development environment. The git repository is google code. The repository name is telenp. The organization of the repository is not standard, but it's exceedingly simple. There is one folder called 'telenp'. Inside that folder are the different project-folders that the project might call for. One is the 'awesometelenp' folder. The 'awesometelenp' folder holds the code that is both the Google Hangouts Extension and the App Engine App. This is because the Google App Engine is used in this project to host the Hangouts extension code.
It is anticipated that there will be at least one more folder in the telenp folder. This will be for the ROS node that will pass instructions off from the Hangouts screen to the Turtlebot motors. This node, though not strictly necessary, would make sure that each instruction to the Turtlebot came with sequence numbers. This sub-project should be called something like 'turtlebot_tele_presence' as the robot is meant to act as a telepresence robot.
Another prospective folder might be the 'turtlebot_tele_presence_kinect' folder. This node might be used to filter kinect data. A diagram for the file structure follows.
- telenp/
- awesometelenp/
- turtlebot_tele_presence/
- turtlebot_tele_presence_kinect/
/home/<username>/telenp/turtlebot_tele_presence/This way you can work on the project, commit changes etc., and have the working node in your ros setup.
APP ENGINE
To edit the code from the Google Hangout Extension, on the same computer change directory to the folder '~/telenp/awesometelenp/'. There you can edit the various files used in the Extension. To upload them to the App Engine instance, type the following:
$ appcfg.py update .There is a space and a dot at the end of the command line. This works if you're in the 'awesometelenp' folder. You must have the google python package installed on your system. This is found here.
RE-USE
To use the ROS node, you would download the code and compile it and make sure it's on the path (ROS_PACKAGE_PATH) and then compile and use it. There is nothing special about it except that it is for use with the Turtlebot.
To use the other part of the project, especially the contents of the 'awesometelenp' folder, for your own project, you must change the name of the project to something else, and then edit the app.yaml file to reflect the name change. The 'awesometelenp' project is something that I set up with Google App Engine, but you can change the name to something else and register it yourself as your own project.
No comments:
Post a Comment