Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:gayas-random-stuff [2013/12/11 18:55] – gkazhoya | doc:gayas-random-stuff [2014/03/18 18:48] (current) – gkazhoya | ||
---|---|---|---|
Line 42: | Line 42: | ||
Hotkeys : | Hotkeys : | ||
- | C-c C-d d | + | C-c C-d d |
C-h b list all bindings. Then C-s slime. | C-h b list all bindings. Then C-s slime. | ||
- | |||
----- | ----- | ||
+ | [[http:// | ||
+ | |||
+ | ------ | ||
+ | === Git stuff === | ||
+ | cherry-pick remote branch commits: | ||
+ | |||
+ | <code bash> | ||
+ | git fetch my-remote-branch-name (e.g. upstream) | ||
+ | git cherry-pick sha-of-commit | ||
+ | </ | ||
+ | |||
+ | -- | ||
+ | |||
+ | As upstream for your repo set your fork on GitHub and use '' | ||
+ | source_sink `library(xpce_ex)' | ||
+ | Warning: / | ||
+ | Goal (directive) failed: user: | ||
+ | % / | ||
+ | ERROR: / | ||
+ | source_sink `library(xpce_ex)' | ||
+ | |||
+ | -- | ||
+ | |||
+ | Moving dir to another repo with history | ||
+ | |||
+ | <code bash> | ||
+ | cd /tmp | ||
+ | git clone https:// | ||
+ | cd REPO | ||
+ | git filter-branch --prune-empty --subdirectory-filter MY_DIR -- --all | ||
+ | git filter-branch --force --index-filter 'git ls-files -s | sed " | ||
+ | | ||
+ | roscd REPO2 | ||
+ | git remote add tmp /tmp/REPO | ||
+ | git pull tmp | ||
+ | git commit --amend --vm "Moved MY_DIR here from REPO" | ||
+ | git remote rm tmp | ||
+ | </ | ||
+ | |||
+ | --- | ||
+ | |||
+ | When installing both moveit full (including mongo-db deps) and mongodb-10gen, | ||
+ | |||
+ | |||
+ | --- | ||
+ | Installing Andrei' | ||
+ | * make sure full knowrob installation is provided | ||
+ | * install mongodb-10gen (just google for " | ||
+ | * import a database into your mongodb: mongoimport --db sim_db --collection collection_X THE-FILE-ANDREI-CREATED-FOR-YOU-BY-EXPORTING | ||
+ | * get Andrei' | ||
+ | (it's a private repo, you'll need to ask andrei for access) | ||
+ | * rosrun rosprolog rosprolog mongo_prolog | ||
+ | * make. | ||
+ | * add_world_clauses. | ||
+ | * in another terminal: roslaunch mongo_prolog mTAB | ||
+ | --- | ||
+ | Running Daniel' | ||
+ | source env.sh from the root | ||
+ | pracmln from the correct examples directory | ||