generated from blooop/python_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support python 3.11, 3.12; bug fixes; test initial publishing
- Loading branch information
Showing
9 changed files
with
1,398 additions
and
2,078 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
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,7 +1,8 @@ | ||
# Changelog | ||
|
||
## pyrcf | ||
|
||
## [0.0.0] | ||
## [0.0.1] - 2024-08-08 | ||
|
||
### Adds | ||
|
||
- Initial working version of framework | ||
- Minimal dummy example of control loop |
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,31 +1,33 @@ | ||
[project] | ||
name = "pyrcf" | ||
version = "0.2.0" | ||
version = "0.0.1" | ||
authors = [{ name = "Saif Sidhik", email = "[email protected]" }] | ||
description = "A Python Robot Control Framework for quickly prototyping control algorithms for different robot embodiments." | ||
readme = "README.md" | ||
|
||
dependencies = ["pybullet>=3.2.6,<4", "numpy", "pin>=2.7.0,<3", "pybullet-robot>=0.1.4"] | ||
dependencies = [ | ||
"pybullet>=3.2.6,<4", | ||
"pin>=2.7.0,<3", | ||
"pybullet-robot>=0.1.4", | ||
"yourdfpy>=0.0.56,<0.0.57", | ||
"scipy>=1.14.0,<2", | ||
"pygame>=2.6.0,<3", | ||
"numpy>=1.26", | ||
] | ||
|
||
[tool.pixi.project] | ||
channels = ["conda-forge"] | ||
platforms = ["linux-64"] | ||
|
||
[tool.pixi.dependencies] | ||
python = ">=3.10,<3.11" | ||
nptyping = ">=2.5.0,<3" | ||
dataclasses = ">=0.8,<0.9" | ||
numpy = ">=1.6,<2.0" | ||
yourdfpy = ">=0.0.56,<0.0.57" | ||
scipy = ">=1.14.0,<2" | ||
pygame = ">=2.6.0,<3" | ||
python = ">=3.10" | ||
|
||
[tool.pixi.feature.py310.dependencies] | ||
python = "3.10.*" | ||
# [tool.pixi.feature.py311.dependencies] | ||
# python = "3.11.*" | ||
# [tool.pixi.feature.py312.dependencies] | ||
# python = "3.12.*" | ||
[tool.pixi.feature.py311.dependencies] | ||
python = "3.11.*" | ||
[tool.pixi.feature.py312.dependencies] | ||
python = "3.12.*" | ||
|
||
[tool.pixi.feature.devenv] | ||
dependencies = { python = "3.10" } | ||
|
@@ -62,8 +64,8 @@ include = ["pyrcf"] | |
[tool.pixi.environments] | ||
default = { features = ["test"], solve-group = "default" } | ||
py310 = ["py310", "test"] | ||
# py311 = ["py311", "test"] | ||
# py312 = ["py312", "test"] | ||
py311 = ["py311", "test"] | ||
py312 = ["py312", "test"] | ||
devenv = { features = [ | ||
"devenv", | ||
], solve-group = "devenv", no-default-feature = true } | ||
|
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
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,5 +1,15 @@ | ||
class PyRCFExceptionBase(Exception): ... | ||
|
||
|
||
# CtrlLoop Signal | ||
class CtrlLoopExitSignal(KeyboardInterrupt): | ||
"""Request to exit the control loop.""" | ||
|
||
|
||
# UI Errors | ||
class UIException(IOError): | ||
"""Exceptions relating to user interfaces (UIBase objects).""" | ||
|
||
|
||
class NotConnectedError(UIException): | ||
"""Exception to be thrown when a UI interface could not be detected or was disconnected.""" |
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
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
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