Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev to manipulation branch #109

Closed
wants to merge 236 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
4c950bc
[RemovingPybulletFromObjectClass] removed all usages of pybullet from…
AbdelrhmanBassiouny Nov 29, 2023
1953249
[RefactoringObjectClass] Now object class is independent of pybullet,…
AbdelrhmanBassiouny Nov 30, 2023
40d2d47
[RefactoringObjectClass] Now object class is independent of pybullet,…
AbdelrhmanBassiouny Nov 30, 2023
3af92d4
[WorldAbstractClass] InProgress , currently in add_constraint method
AbdelrhmanBassiouny Nov 30, 2023
bbb1800
[WorldAbstractClass] InProgress , refactoring transform_pose, _calcul…
AbdelrhmanBassiouny Dec 5, 2023
a5ae78b
[WorldAbstractClass] InProgress , currently in _set_attached_objects …
AbdelrhmanBassiouny Dec 6, 2023
5188eed
[WorldAbstractClass] InProgress , currently in refactoring attachments.
AbdelrhmanBassiouny Dec 7, 2023
3b365a8
[WorldAbstractClass] Updated local transformer class to not depend on…
AbdelrhmanBassiouny Dec 8, 2023
bac3a4b
[RefactoringAttachments] Improved attachment class to handle bidirect…
AbdelrhmanBassiouny Dec 9, 2023
5b61daa
[RefactoringAttachments] Improved attachment class, needs to better i…
AbdelrhmanBassiouny Dec 9, 2023
7fb3524
[AbstractWorld] Added a WorldState dataclass, Implemented saving and …
AbdelrhmanBassiouny Dec 10, 2023
0f1133b
[AbstractWorld] Finished defining AbstractWorld, and correcting all c…
AbdelrhmanBassiouny Dec 11, 2023
2d834a4
[AbstractWorld] Completed world.py refactoring, tests are passing exc…
AbdelrhmanBassiouny Dec 11, 2023
534390d
[AbstractWorld] some cleaning up.
AbdelrhmanBassiouny Dec 11, 2023
e2e2f12
[AbstractWorld] Moved BulletWorld and GUI classes to bullet_world.py,…
AbdelrhmanBassiouny Dec 11, 2023
f05ef64
[WorldAbstractClass] Tests are running after using object.tf_frame in…
AbdelrhmanBassiouny Dec 12, 2023
a81c489
[WorldAbstractClass] Added Color and AxisAlignedBoundingBox datalcass…
AbdelrhmanBassiouny Dec 12, 2023
278a7fe
[WorldAbstractClass] Some cleaning up and refactoring of method names.
AbdelrhmanBassiouny Dec 13, 2023
205c9f2
[ClassForLinks] Created Link class.
AbdelrhmanBassiouny Dec 14, 2023
17ed78f
[WorldAbstractClass] Created links dictionary inside Object class to …
AbdelrhmanBassiouny Dec 15, 2023
0e70fe2
[WorldAbstractClass] removed all link related functionality from Obje…
AbdelrhmanBassiouny Dec 15, 2023
c41e33e
Merges origin:dev with local:dev
Leusmann Dec 20, 2023
417c176
[AbstractWorld]
AbdelrhmanBassiouny Dec 22, 2023
fae2d8f
[AbstractWorld]
AbdelrhmanBassiouny Dec 24, 2023
2099bd7
[AbstractWorld]
AbdelrhmanBassiouny Dec 28, 2023
38516ff
[AbstractWorld]
AbdelrhmanBassiouny Jan 1, 2024
9a9d1a6
[AbstractWorld]
AbdelrhmanBassiouny Jan 1, 2024
0f625b0
[intro-example] fixing typos, adding info
hawkina Jan 2, 2024
f3bcae7
[designator] refactored action_designator
davidprueser Jan 5, 2024
8d11a5d
[orm] fixed orm querying
davidprueser Jan 5, 2024
6f90a47
[tests] updated orm tests
davidprueser Jan 5, 2024
c4d6122
Merge branch 'dev' into tests
davidprueser Jan 5, 2024
af9e3e6
[tests] fixed object designator test
davidprueser Jan 5, 2024
dce2b77
[doc] added language example to doc
Tigul Jan 13, 2024
bd41a55
[examples] fixing typos
hawkina Jan 17, 2024
b2c2f5d
Add explanation to virtualenv and pycharm setup
artnie Jan 17, 2024
ae10d6f
Updates the reachability_validator to check all tool_frames for reach…
Leusmann Jan 18, 2024
04d2105
Fixes an error where only the first test would be sucessful
Leusmann Jan 18, 2024
58a6121
[submodule] deleted submodule macropy, since it is no longer used due…
sunava Jan 18, 2024
cbfaa47
Merge pull request #127 from hawkina/minor
sunava Jan 18, 2024
34fd070
[AbstractWorld]
AbdelrhmanBassiouny Jan 18, 2024
b1f2a35
[designator] removed MotionDesignatorDescription
davidprueser Jan 18, 2024
e296537
[WorldAbstractClass] Reseting the world now also has the option to re…
AbdelrhmanBassiouny Jan 18, 2024
74ea1aa
Merge pull request #131 from sunava/deleted-macropy-sub
Tigul Jan 19, 2024
01d01b1
Merge branch 'dev' into tests
davidprueser Jan 19, 2024
7520c8a
merge dev into tests
davidprueser Jan 19, 2024
51f8891
Update README.md, deleted Authors
sunava Jan 19, 2024
b499e78
[bullet reasoning] Fixed wrong robot usage
Tigul Jan 19, 2024
62c5309
[WorldAbstractClass] World reasoning is refactored to depend on abstr…
AbdelrhmanBassiouny Jan 19, 2024
371d72c
[AbstractWorld]
AbdelrhmanBassiouny Jan 21, 2024
6c0fdea
Merge pull request #130 from Leusmann/bugfix-database-merger
Tigul Jan 22, 2024
95fcdac
[Bullet World] Increse world sync frequency
Tigul Jan 22, 2024
3fc7046
[general] maintenance
Tigul Jan 22, 2024
e1c84c1
[ci] fixed failing ci
Tigul Jan 22, 2024
5833a9d
[test] updated orm querying; added docstrings to actions and motions
davidprueser Jan 22, 2024
4081685
[test] fixed an issue where the orm session was not properly clossed …
davidprueser Jan 22, 2024
624bb8c
[WorldAbstractClass] world_reasoning.py is not a class anymore.
AbdelrhmanBassiouny Jan 23, 2024
8583fd1
[WorldAbstractClass] (in progress) implementing abstract shape creati…
AbdelrhmanBassiouny Jan 23, 2024
8c32506
Merge branch 'dev' of https://github.com/cram2/pycram into abstract_w…
AbdelrhmanBassiouny Jan 24, 2024
ed33735
Merge branch 'dev' of github.com:cram2/pycram into abstract_world
AbdelrhmanBassiouny Jan 24, 2024
49a7026
Merge branch 'dev' of github.com:cram2/pycram into abstract_world (fi…
AbdelrhmanBassiouny Jan 24, 2024
3916ded
[Abstract World] (check TODOs) Costmaps now is independent of pybull…
AbdelrhmanBassiouny Jan 24, 2024
6c4e42c
[Abstract World] Corrected setting position of object to allow lists.
AbdelrhmanBassiouny Jan 25, 2024
11fbdc4
[Abstract World] Corrected setting position of object to allow lists …
AbdelrhmanBassiouny Jan 25, 2024
f139b2a
[Abstract World] updated method names in bullet_world.ipynb
AbdelrhmanBassiouny Jan 25, 2024
c267c68
[Abstract World] applying code review edits, stopped at get_link_colo…
AbdelrhmanBassiouny Jan 25, 2024
685025a
The IK Server seems to have troubles if the retract_target_pose is no…
Leusmann Jan 26, 2024
4005895
Merge branch 'dev' of github.com:cram2/pycram into bugfix-retractPose
Leusmann Jan 26, 2024
3054f5e
[doc] Remove ipython install
artnie Jan 26, 2024
f6dd146
[test] fixed orm test inheritance pattern
davidprueser Jan 26, 2024
d3eb6ef
Merge pull request #128 from artnie/doc-pycharm-setup
Tigul Jan 26, 2024
1aaa11e
[Abstract World] documenting Object class and cleaning it.
AbdelrhmanBassiouny Jan 26, 2024
5e32afd
[designator] removed deprecated motions
davidprueser Jan 29, 2024
eace428
[Abstract World] Cleaned Object constructor, added more internal meth…
AbdelrhmanBassiouny Jan 30, 2024
2a8d4fa
[Abstract World] Documented internal functions.
AbdelrhmanBassiouny Jan 31, 2024
efdf22a
[Abstract World] Removed all mentions and dependencies of bullet worl…
AbdelrhmanBassiouny Jan 31, 2024
c9328d5
[doc] updated orm querying, motions and actions in documentation
davidprueser Feb 1, 2024
b03c6e2
[orm] fixed sqlalchemy deprecation warnings
davidprueser Feb 1, 2024
50adda9
[Abstract World] all change requests completed
AbdelrhmanBassiouny Feb 1, 2024
99c675f
[AbstractWorld]
AbdelrhmanBassiouny Feb 3, 2024
15225f1
Merge pull request #123 from davidprueser/tests
Tigul Feb 5, 2024
00ea8c4
[doc] fixed failing doc
Tigul Feb 5, 2024
a0003a8
[tests] fixed deprecation warnings
Tigul Feb 5, 2024
3df171a
[process_module] added type hint
davidprueser Feb 7, 2024
ff0295d
[examples] added local transfomer to sphinx and new sym link
Tigul Feb 7, 2024
4ebee7f
[doc] actually added new sym link
Tigul Feb 7, 2024
a8405b2
[AbstractWorld]
AbdelrhmanBassiouny Feb 9, 2024
85a6cb3
[Abstract World] Abstracted URDF dependency.
AbdelrhmanBassiouny Feb 9, 2024
d2b9f97
[AbstractWorld]
AbdelrhmanBassiouny Feb 13, 2024
0d80945
[Abstract World] Fixing tests (test_detect)
AbdelrhmanBassiouny Feb 13, 2024
17018f9
[Abstract World] Fixing tests (test_detect)
AbdelrhmanBassiouny Feb 13, 2024
3fa6880
[Abstract World] Tests are running.
AbdelrhmanBassiouny Feb 14, 2024
8433035
[Abstract World] Refactored File structure (Moved Classes to separate…
AbdelrhmanBassiouny Feb 14, 2024
bfc5134
[Abstract World] Added more tests for bullet world, Tests are running.
AbdelrhmanBassiouny Feb 15, 2024
b9f5d86
[Abstract World] Added more tests for bullet world, Tests are running.
AbdelrhmanBassiouny Feb 15, 2024
1458e03
[Abstract World] Added more tests for bullet world, Tests are running.
AbdelrhmanBassiouny Feb 15, 2024
c49ccc0
[Abstract World] Added more tests for bullet world, Tests are running.
AbdelrhmanBassiouny Feb 16, 2024
bba4c4f
[Abstract World] Added more tests for bullet world, Tests are running.
AbdelrhmanBassiouny Feb 16, 2024
f4fa6d6
[designator] added auto inserts to action designators
davidprueser Feb 20, 2024
9e39552
[Abstract World] Tried importing annotations from __future__ but Fail…
AbdelrhmanBassiouny Feb 20, 2024
8386501
Merge branch 'cram2:dev' into tests
davidprueser Feb 23, 2024
92d7bea
[resolver] fixed querying from occupancy costmap
davidprueser Feb 23, 2024
8462338
[Abstract World] Solved cyclic imports problem.
AbdelrhmanBassiouny Feb 23, 2024
7b8afe6
[Abstract World] Resolved requested changes.
AbdelrhmanBassiouny Feb 23, 2024
c85cb91
[AbstractWorld]
AbdelrhmanBassiouny Feb 25, 2024
8b81353
[AbstractWorld]
AbdelrhmanBassiouny Feb 27, 2024
9afff12
[pms] Added new Process modules for HSR
Tigul Feb 27, 2024
b4a384f
[Abstract World] solved cache search problem, tests are passing.
AbdelrhmanBassiouny Feb 27, 2024
953f312
[Abstract World] Defualted description type to URDF as it as it is cu…
AbdelrhmanBassiouny Feb 27, 2024
b6a512e
[AbstractWorld]
AbdelrhmanBassiouny Feb 27, 2024
dfd48cd
[resolver] fixed querying from occupancy costmap II
davidprueser Mar 3, 2024
f118e7d
[resolver] updated DatabaseCostmapLocation documentation
davidprueser Mar 3, 2024
833b158
[ROS] fixed bullet world reference in VizMarkerPublisher
Tigul Mar 5, 2024
2c6a03f
Merge branch 'tests' of github.com:davidprueser/pycram into costmaps
tomsch420 Mar 5, 2024
0f7cea4
[Costmaps] Started to refactor JPT and Database costmaps.
tomsch420 Mar 5, 2024
128e1d1
[Costmap] Refactored JPT Costmap Locations
tomsch420 Mar 6, 2024
1ff82cb
[Costmap] More tests for JPT Costmap locations.
tomsch420 Mar 6, 2024
682e7a3
[designator] updated action designator documentation
davidprueser Mar 6, 2024
93a94dc
[Task] Refactored task.py and remove the useless Code class.
tomsch420 Mar 7, 2024
8bb3303
[Task] Updated custom resolver tutorial code
tomsch420 Mar 7, 2024
11adc21
[Costmap] Updated custom resolver tutorial text
tomsch420 Mar 7, 2024
64e2476
[Costmap] Added gaussian costmap
tomsch420 Mar 11, 2024
3777f67
[Costmap] New pickup is working, yeeehaaaw
tomsch420 Mar 12, 2024
9973778
[Resolver] Refactored Resolvers and wrote tutorial.
tomsch420 Mar 13, 2024
894c349
[ci] updated ci
leonyi4 Mar 13, 2024
0a83656
[ci] updated ci
leonyi4 Mar 13, 2024
8cd68fb
[ci] updated ci
leonyi4 Mar 13, 2024
e442242
[ci] updated ci
leonyi4 Mar 13, 2024
2cb6e7e
[ci] updated ci
leonyi4 Mar 13, 2024
3291a15
[ci] updated ci
leonyi4 Mar 13, 2024
8d44961
[ci] updated ci
leonyi4 Mar 13, 2024
c014de1
[ci] updated ci
leonyi4 Mar 13, 2024
2c7c2c8
[ci] updated ci
leonyi4 Mar 13, 2024
cd13d39
[ci] updated ci
leonyi4 Mar 13, 2024
7e1779b
[ci] updated ci
leonyi4 Mar 13, 2024
faa487e
[ci] updating ci
leonyi4 Mar 14, 2024
eecc201
[ci] updating ci
leonyi4 Mar 14, 2024
cf89c70
[ci] updating ci
leonyi4 Mar 14, 2024
9195a49
[ci] removed uncessary lines
leonyi4 Mar 15, 2024
21e7759
[ci] updated workflow condition for building docker image
leonyi4 Mar 15, 2024
be6b55b
[resoures] Added stretch urdf
Tigul Mar 18, 2024
a894264
[pick-up plan] Some quick fixes
Tigul Mar 18, 2024
44b7d71
[AbstractWorld] restructured folders and files.
AbdelrhmanBassiouny Mar 19, 2024
db2d5a9
[ci] update ci pipeline
leonyi4 Mar 20, 2024
06c38d9
Merge pull request #137 from leonyi4/testing
Tigul Mar 20, 2024
0c75ade
Merge pull request #134 from davidprueser/tests
Tigul Mar 20, 2024
4155d6a
[AbstractWorld] Fixed viz_marker_publisher.py to use VisualShape for …
AbdelrhmanBassiouny Mar 21, 2024
5290dda
[process modules] Added stretch PMS
Tigul Mar 21, 2024
044b540
[robot-descriptions] Added stretch description
Tigul Mar 21, 2024
e7bf734
[process-module] Deactivated delay for real_robot
Tigul Mar 21, 2024
6a93943
[launch] Added stretch to launch file
Tigul Mar 21, 2024
4791a36
[Resolver] Integrated resolvers with new versions
tomsch420 Mar 21, 2024
37972fe
[PyCRAMNEEMInterface] search online repository for meshes.
AbdelrhmanBassiouny Mar 22, 2024
ea45738
[Requirements] Requirements are now less explicit.
tomsch420 Mar 25, 2024
e7fa320
Added typing_extension with correct verison
Tigul Mar 25, 2024
b3bba13
[general] Fixed type in requirements
Tigul Mar 25, 2024
6b23750
[Test] Tests are now runnable from command line.
tomsch420 Mar 26, 2024
0b42af9
Merge remote-tracking branch 'pycram/dev' into costmaps
tomsch420 Mar 26, 2024
03af0a2
[CI] Merged CI Changes.
tomsch420 Mar 26, 2024
cefa364
[CI] Updated CI requirements.
tomsch420 Mar 26, 2024
7f8ad1f
[Test] Fixed bug in tests resource pathing.
tomsch420 Mar 26, 2024
5d4adad
[orm] improved orm insert performance
davidprueser Mar 26, 2024
3fc29cc
Merge branch 'cram2:dev' into tests
davidprueser Mar 26, 2024
dc9ae6c
[orm] updated orm tests
davidprueser Mar 26, 2024
daeb988
[pose-gen] New class for pose generator and global orientation gen
Tigul Mar 26, 2024
3de5a1c
[robot-description] Added orientation generator to description
Tigul Mar 26, 2024
741cb61
[robot-desc] New logging
Tigul Mar 28, 2024
4612f0c
[stretch-description] Finished stretch description
Tigul Mar 28, 2024
2911307
[stretch-description] Last fixes for arm name
Tigul Mar 28, 2024
648d2b5
[stretch-pms] Finished process modules for stretch simulated
Tigul Mar 28, 2024
8e87506
[launch] Changed default robot back to pr2
Tigul Mar 28, 2024
7217e28
[pose-gen] removed old code
Tigul Mar 28, 2024
c572e36
Merge pull request #139 from Tigul/stretch
Tigul Mar 28, 2024
ed80c45
Merge branch 'cram2:dev' into tests
davidprueser Apr 2, 2024
2cdc22b
[Misc] added docstring, removed an unnecessary print, replaced functi…
tomsch420 Apr 2, 2024
6540f84
Merge pull request #135 from tomsch420/costmaps
Tigul Apr 2, 2024
8f840d4
Merges local with orgin branch dev
Leusmann Apr 2, 2024
88b0421
[demos] Small fixes to make demo work everywhere
Tigul Apr 2, 2024
0b39d09
Merge branch 'dev' of github.com:cram2/pycram into dev
Leusmann Apr 2, 2024
21327cd
Merge branch 'bugfix-retractPose' of github.com:Leusmann/pycram into dev
Leusmann Apr 2, 2024
24ea429
solved merge-conflict with upstream branch dev
davidprueser Apr 2, 2024
5457009
Merge pull request #138 from davidprueser/tests
tomsch420 Apr 2, 2024
ac9e1c7
Merge branch 'dev' of github.com:cram2/pycram into bugfix-retractPose
Leusmann Apr 2, 2024
37de054
Adds documentation strings for new functions
Leusmann Apr 3, 2024
7770e8b
[stretch-desc] New and correct stretch urdf and description
Tigul Apr 3, 2024
c86cc5b
Merge pull request #129 from Leusmann/bugfix-retractPose
Tigul Apr 3, 2024
4da0a31
[bullet-world] Change initial cam pose
Tigul Apr 3, 2024
3a86b8b
[PoseGen] Added override orientation generator to PoseGenerator
Tigul Apr 3, 2024
94a9ba6
[stretch] Process moduiles for open and close
Tigul Apr 3, 2024
ca162d8
[stretch-pms] Added process modules for the real stretch
Tigul Apr 4, 2024
8c19ce0
[stretch] Chanegs from comment in PR
Tigul Apr 4, 2024
c8242f0
Merge pull request #140 from Tigul/stretch
tomsch420 Apr 4, 2024
68c6166
Merge remote-tracking branch 'bass/abstract_world' into dev
Tigul Apr 5, 2024
7f614f2
[general] Fixed imports after merge
Tigul Apr 5, 2024
686563a
[tets] fixed test imports
Tigul Apr 5, 2024
f9a6cc9
[general] fixing everything else
Tigul Apr 5, 2024
1382bc1
[general] Fixed Documentation
Tigul Apr 8, 2024
85eddde
[tests] Fixed tests with independend paths
Tigul Apr 8, 2024
2c47f2c
[world] reset_current_world now has the correct behaviour
Tigul Apr 9, 2024
e414c19
[refactor] moved local_transformer and costmaps to top-level
Tigul Apr 9, 2024
5bc6247
[orm] created database views
davidprueser Apr 9, 2024
5e1a3f1
[world] Fixed camera control for the BulletWorld
Tigul Apr 9, 2024
37a5f41
solved merge conflicts with upstream branch dev
davidprueser Apr 9, 2024
23ab36a
[resolver][orm] fixed issues after merge
davidprueser Apr 9, 2024
9f0d35b
Merge pull request #143 from davidprueser/tests
tomsch420 Apr 10, 2024
ebed1a3
[giskard_interface] Update giskard fail import msg
sunava Apr 16, 2024
43c1ca5
Added devcontainer
leonyi4 Apr 20, 2024
7c861c8
added README.md
leonyi4 Apr 20, 2024
4c6d2af
added binder config
Apr 21, 2024
0df49c2
binder: removed neem interface as module
Apr 22, 2024
bd718a2
[virtual building] Create README.md
sunava Apr 22, 2024
109edf5
virtual building: added method to launch PR2 by script
Apr 22, 2024
b06fe58
Merge pull request #146 from K3cks/binder_config_update
sunava Apr 22, 2024
65fc599
Added more info to docstring
Apr 22, 2024
fa88edd
Merge pull request #147 from K3cks/virtual-building-setup
sunava Apr 22, 2024
953c531
[enums]: added additional ObjectTypes
Apr 22, 2024
5b88866
Merge pull request #149 from K3cks/enums
sunava Apr 22, 2024
0fa34c9
Merge pull request #145 from leonyi4/dev
tomsch420 Apr 22, 2024
e7df23f
[hsrb] changed naming and some description parts
sunava Apr 22, 2024
c195c55
[hsrb] added left mani again
sunava Apr 22, 2024
9049d50
[hsrb] neck forward
sunava Apr 22, 2024
21f4ea0
[move_base] added move_base interface to external interface hsrb for …
sunava Apr 22, 2024
a16f3d5
[binder]: added specific requirements for launch
Apr 22, 2024
56b538a
Merge pull request #154 from K3cks/binder-requirements
sunava Apr 23, 2024
93bb231
Merge pull request #150 from sunava/hsrb_update
Tigul Apr 24, 2024
408986d
Merge pull request #153 from sunava/move_base
Tigul Apr 24, 2024
d7b5b7f
[binder]: removed uninstallation of numpy
Apr 24, 2024
67c2c5c
Merge pull request #156 from K3cks/binder-requirements
sunava Apr 25, 2024
b1c3791
[AbstractWorld] Attachments are recreated in the prospection world in…
AbdelrhmanBassiouny Apr 25, 2024
8c1adb7
[AbstractWorld] change name of milk_2 and cereal_2
AbdelrhmanBassiouny Apr 25, 2024
09e0ff1
[AbstractWorld] added list hinting for set_position
AbdelrhmanBassiouny May 3, 2024
4826772
Bump tqdm from 4.66.1 to 4.66.3
dependabot[bot] May 3, 2024
1e4ee08
Bump tqdm from 4.66.1 to 4.66.3 in /binder
dependabot[bot] May 3, 2024
4205ad1
Merge pull request #159 from cram2/dependabot/pip/binder/tqdm-4.66.3
Tigul May 6, 2024
1a47653
Merge pull request #158 from cram2/dependabot/pip/tqdm-4.66.3
Tigul May 6, 2024
1e45c7c
Merge pull request #157 from AbdelrhmanBassiouny/fix_attachment_problem
Tigul May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# How to use Dev container

- Install Docker and the 'Devcontainer' extension in VSCode

- Clone the repository and open the folder in VSCode

- Use `Ctrl/Cmd + Shift + P` to open the command palette

- Select 'Dev containers: Rebuild and Reopen in Container' Option

- Wait for the container to finish setting up

- Type this command into the terminal `roslaunch pycram ik_and_description.launch` to start roscore

- Note: Bullet world needs a display to be connected; the render mode needs to be set to direct when running on GitHub codespaces or on WindowOS; Otherwise, the kernel will crash
23 changes: 23 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "PyCRAM vscode devcontainer",
"image": "pycram/pycram:dev",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/sshd:1": {}
},
"postStartCommand": {
"pip": "pip3 install ipykernel pyjpt",
"git": "git config --global --add safe.directory '*'",
"source setup": "./.devcontainer/script.sh"
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"esbenp.prettier-vscode"
]
}
}
}
7 changes: 7 additions & 0 deletions .devcontainer/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -e

source /opt/ros/overlay_ws/devel/setup.bash

exec "$@"
73 changes: 73 additions & 0 deletions .github/workflows/new-pycram-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: pycram_docker_ci
defaults:
run:
shell: bash -ieo pipefail {0}

on:
push:
branches:
- dev
- master
pull_request:
branches:
- master
- dev
workflow_dispatch: # For manual debugging
inputs:
debug_enabled:
type: boolean
required: false
default: false
description: "Run tmate session"

jobs:
build_and_run_tests:
runs-on: ubuntu-20.04
container:
image: "pycram/pycram:dev"
steps:
- name: Checkout PyCRAM
uses: actions/checkout@v3
with:
path: "ros/src/pycram"
repository: ${{ github.repository }}
ref: ${{ github.ref }}
submodules: "recursive"

# For debugging
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

- name: Update PyCRAM source files
run: |
rm -rf /opt/ros/overlay_ws/src/pycram/*
cd /opt/ros/overlay_ws/src/pycram
rm -rf .git .github .gitignore .gitmodules .readthedocs.yaml
mv /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/ros/src/pycram /opt/ros/overlay_ws/src

- name: Remake workspace & start roscore
run: |
sudo -s
source /opt/ros/noetic/setup.bash
cd /opt/ros/overlay_ws
catkin_make
source /opt/ros/overlay_ws/devel/setup.bash
roslaunch pycram ik_and_description.launch &

- name: Install python dependencies
run: |
pip3 install --upgrade pip --root-user-action=ignore
cd /opt/ros/overlay_ws/src/pycram
pip3 install -r requirements.txt
pip3 install -r requirements-resolver.txt

- name: Install pytest & pyjpt
run: |
pip3 install --ignore-installed pytest pyjpt

- name: Run tests
run: |
source /opt/ros/overlay_ws/devel/setup.bash
roscd pycram
pytest -v test
88 changes: 0 additions & 88 deletions .github/workflows/pycram-ci.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/reusable-sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- dev
pull_request:
branches:
- master
- dev

# ----------------------------------------------------------------------------------------------------------------------

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/update-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: update_docker_image
on:
push:
branches:
- master
- dev
paths:
- 'requirements.txt'
# only run when a commit has changes in the requirements.txt file

jobs:
build_and_push_docker_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: log into Docker Hub #Set repository secrets in github secrets
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./docker
push: true
tags: ${{ vars.DOCKER_IMAGE }}
4 changes: 1 addition & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[submodule "src/neem_interface_python"]
path = src/neem_interface_python
url = https://github.com/Tigul/neem_interface_python
[submodule "src/macropy"]
path = src/macropy
url = https://github.com/Tigul/macropy.git

9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,3 @@ how to do that take a look at the respective `README` file.
If you encounter some error please first take a look at the
[troubleshooting](https://pycram.readthedocs.io/en/latest/troubleshooting.html) section and see if the error is mentioned
there.

## Authors

* **Jonas Dech** <[email protected]>
* **Andy Augsten** <[email protected]>
* **Dustin Augsten** <[email protected]>
* **Christopher Pollok** <[email protected]>
* **Thomas Lipps** <[email protected]>
* **Benjamin Alt** <[email protected]>
36 changes: 36 additions & 0 deletions binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM intel4coro/base-notebook:20.04-noetic-full-xpra

# Set environment
ENV PATH=$PATH:/home/user/.local/bin
ENV PYCRAM_WS=/home/${NB_USER}/workspace/ros
WORKDIR ${PYCRAM_WS}/src/
COPY --chown=${NB_USER}:users . pycram/
RUN vcs import --input pycram/binder/pycram-http.rosinstall --recursive

RUN pip install --requirement ${PYCRAM_WS}/src/pycram/binder/requirements.txt --user

COPY --chown=${NB_USER}:users binder/me ${PYCRAM_WS}/src/me

USER root
RUN apt-get update

# Build pycram workspace
WORKDIR ${PYCRAM_WS}
USER root
RUN rosdep update \
&& rosdep install -y --ignore-src --from-paths ./ -r \
&& rosdep fix-permissions
USER ${NB_USER}
RUN catkin build

RUN pip install service_identity

# Jupyter Config
COPY --chown=${NB_USER}:users binder/jupyter-config.json /opt/conda/share/jupyter/lab/settings/overrides.json

WORKDIR ${PYCRAM_WS}/src/pycram
RUN git config --global --add safe.directory ${PWD}
COPY --chown=${NB_USER}:users binder/entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["jupyter", "lab", "--allow-root", "--NotebookApp.token=''", "--no-browser", "--ip=0.0.0.0"]
RUN pip install https://raw.githubusercontent.com/yxzhan/jupyterlab-rviz/master/dist/jupyterlab_rviz-0.3.1.tar.gz
Loading
Loading