-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release of version 5.8.1.
- Loading branch information
Showing
11 changed files
with
311 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "CI - Nix" | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
nix: | ||
runs-on: "${{ matrix.os }}-latest" | ||
strategy: | ||
matrix: | ||
os: [ubuntu, macos] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: gepetto | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- run: nix build -L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include: http://rainboard.laas.fr/project/gepetto-viewer-corba/.gitlab-ci.yml | ||
include: https://rainboard.laas.fr/project/gepetto-viewer-corba/.gitlab-ci.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pull_request_rules: | ||
- name: merge automatically when CI passes and PR is approved | ||
conditions: | ||
- check-success = "gitlab-ci" | ||
- check-success = "nix (macos)" | ||
- check-success = "nix (ubuntu)" | ||
- check-success = "pre-commit.ci - pr" | ||
- or: | ||
- author = pre-commit-ci[bot] | ||
- author = dependabot[bot] | ||
actions: | ||
merge: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cmake
updated
36 files
+162 −163 | .cmake-format.py | |
+1 −0 | .docs/cmake.py | |
+47 −53 | .pre-commit-config.yaml | |
+4 −1 | CMakeLists.txt | |
+41 −13 | base.cmake | |
+0 −1 | boost.cmake | |
+20 −64 | coverage.cmake | |
+11 −2 | debian.cmake | |
+98 −61 | dist.cmake | |
+6 −2 | distcheck.cmake | |
+21 −5 | doxygen.cmake | |
+1 −1 | find-external/CDD/FindCDD.cmake | |
+12 −5 | find-external/CHOLMOD/FindCHOLMOD.cmake | |
+1 −1 | find-external/CLP/FindCLP.cmake | |
+1 −1 | find-external/CoinUtils/FindCoinUtils.cmake | |
+9 −2 | find-external/GMP/FindGMP.cmake | |
+9 −2 | find-external/MPFR/FindMPFR.cmake | |
+2 −3 | find-external/glpk/Findglpk.cmake | |
+4 −4 | gtest.cmake | |
+59 −14 | header.cmake | |
+26 −19 | memorycheck_unit_test.cmake.in | |
+39 −7 | package-config.cmake | |
+21 −0 | package.xml | |
+30 −0 | pixi.py | |
+3 −2 | python-helpers.cmake | |
+6 −0 | python.cmake | |
+90 −41 | release.cmake | |
+47 −0 | ros2.cmake | |
+4 −4 | sdformat.cmake | |
+12 −6 | sphinx.cmake | |
+5 −3 | stubs.cmake | |
+78 −22 | test.cmake | |
+107 −0 | tracy.cmake | |
+33 −0 | tracy.hh.cmake | |
+11 −2 | uninstall.cmake | |
+1 −0 | version.cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1,106 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Launch the gui and create a window." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 6, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"from gepetto.corbaserver import gui_client, start_server, Color\n", | ||
"\n", | ||
"start_server(args=[])\n", | ||
"gui = gui_client(window_name=\"tuto\")" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Add some visual entities\n", | ||
"\n", | ||
"They are called nodes and are organised as a tree.\n", | ||
"\n", | ||
"When you create a window, a group node (called *group* from now on) is created with the same name. Adding nodes to this group displays them in the window." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 20, | ||
"metadata": {}, | ||
"outputs": [ | ||
"cells" : [ | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"True" | ||
"cell_type" : "markdown", | ||
"metadata" : {}, | ||
"source" : ["# Launch the gui and create a window."] | ||
}, | ||
{ | ||
"cell_type" : "code", | ||
"execution_count" : 6, | ||
"metadata" : {}, | ||
"outputs" : [], | ||
"source" : [ | ||
"from gepetto.corbaserver import Color, gui_client, start_server\n", | ||
"\n", "start_server(args=[])\n", | ||
"gui = gui_client(window_name=\"tuto\")" | ||
] | ||
}, | ||
"execution_count": 20, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"gui.addBox(\"box\", 0.1, 0.1, 0.1, Color.green)\n", | ||
"gui.addToGroup(\"box\", \"tuto\")\n", | ||
"gui.setCameraToBestFit(\"tuto\")" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Add another node, directly in group *tuto*." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 15, | ||
"metadata": {}, | ||
"outputs": [ | ||
}, | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"True" | ||
"cell_type" : "markdown", | ||
"metadata" : {}, | ||
"source" : [ | ||
"# Add some visual entities\n", "\n", | ||
"They are called nodes and are organised as a tree.\n", "\n", | ||
"When you create a window, a group node (called *group* from now on) ", | ||
"is created with the same name. Adding nodes to this group displays ", | ||
"them in the window." | ||
] | ||
}, | ||
"execution_count": 15, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"gui.addCylinder(\"tuto/cyl\", 0.01, 0.1, Color.red)" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"To move one node, you must use `applyConfiguration` and then `refresh`. All calls to `applyConfiguration` are applied at the next `refresh`." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 19, | ||
"metadata": {}, | ||
"outputs": [ | ||
}, | ||
{ | ||
"cell_type" : "code", | ||
"execution_count" : 20, | ||
"metadata" : {}, | ||
"outputs" : [ { | ||
"data" : {"text/plain" : ["True"]}, | ||
"execution_count" : 20, | ||
"metadata" : {}, | ||
"output_type" : "execute_result" | ||
} ], | ||
"source" : [ | ||
"gui.addBox(\"box\", 0.1, 0.1, 0.1, Color.green)\n", | ||
"gui.addToGroup(\"box\", \"tuto\")\n", | ||
"gui.setCameraToBestFit(\"tuto\")" | ||
] | ||
}, | ||
{ | ||
"cell_type" : "markdown", | ||
"metadata" : {}, | ||
"source" : ["Add another node, directly in group *tuto*."] | ||
}, | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"True" | ||
"cell_type" : "code", | ||
"execution_count" : 15, | ||
"metadata" : {}, | ||
"outputs" : [ { | ||
"data" : {"text/plain" : ["True"]}, | ||
"execution_count" : 15, | ||
"metadata" : {}, | ||
"output_type" : "execute_result" | ||
} ], | ||
"source" : ["gui.addCylinder(\"tuto/cyl\", 0.01, 0.1, Color.red)"] | ||
}, | ||
{ | ||
"cell_type" : "markdown", | ||
"metadata" : {}, | ||
"source" : [ | ||
"To move one node, you must use `applyConfiguration` and ", | ||
"then `refresh`. All calls to `applyConfiguration` are ", | ||
"applied at the next `refresh`." | ||
] | ||
}, | ||
{ | ||
"cell_type" : "code", | ||
"execution_count" : 19, | ||
"metadata" : {}, | ||
"outputs" : [ { | ||
"data" : {"text/plain" : ["True"]}, | ||
"execution_count" : 19, | ||
"metadata" : {}, | ||
"output_type" : "execute_result" | ||
} ], | ||
"source" : [ | ||
"gui.applyConfiguration(\"tuto/cyl\", [0, 0, 0.1, 0, 0, 0, 1])\n", | ||
"gui.refresh()\n", "gui.setCameraToBestFit(\"tuto\")" | ||
] | ||
}, | ||
"execution_count": 19, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"gui.applyConfiguration(\"tuto/cyl\", [0, 0, 0.1, 0, 0, 0, 1])\n", | ||
"gui.refresh()\n", | ||
"gui.setCameraToBestFit(\"tuto\")" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
], | ||
"metadata" : { | ||
"kernelspec" : { | ||
"display_name" : "Python 3", | ||
"language" : "python", | ||
"name" : "python3" | ||
}, | ||
"language_info" : { | ||
"codemirror_mode" : {"name" : "ipython", "version" : 3}, | ||
"file_extension" : ".py", | ||
"mimetype" : "text/x-python", | ||
"name" : "python", | ||
"nbconvert_exporter" : "python", | ||
"pygments_lexer" : "ipython3", | ||
"version" : "3.6.9" | ||
} | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.6.9" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
"nbformat" : 4, | ||
"nbformat_minor" : 2 | ||
} |
Oops, something went wrong.