mirror of
https://github.com/hexbabe/python-appimage-module.git
synced 2025-07-21 21:12:10 +02:00
Update URL and triplet in meta.json and code
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"module_id": "viam:python-appimage-example",
|
"module_id": "seanorg:python-appimage-example",
|
||||||
"visibility": "public",
|
"visibility": "public",
|
||||||
"url": "https://github.com/viamrobotics/python-appimage-module",
|
"url": "https://github.com/viamrobotics/python-appimage-module",
|
||||||
"description": "Example of deploying a Python module with AppImageBuilder.",
|
"description": "Example of deploying a Python module with AppImageBuilder.",
|
||||||
"models": [
|
"models": [
|
||||||
{
|
{
|
||||||
"api": "rdk:component:camera",
|
"api": "rdk:component:camera",
|
||||||
"model": "viam:camera:python-appimage-example"
|
"model": "seanorg:camera:python-appimage-example"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"entrypoint": "run.sh"
|
"entrypoint": "run.sh"
|
||||||
|
@@ -30,7 +30,7 @@ class MyModule(Camera, Reconfigurable): # use a better name than this
|
|||||||
"""The distortion parameters of the camera"""
|
"""The distortion parameters of the camera"""
|
||||||
|
|
||||||
|
|
||||||
MODEL: ClassVar[Model] = Model(ModelFamily("viam", "camera"), "python-appimage-example") # make sure this matches the model in meta.json
|
MODEL: ClassVar[Model] = Model(ModelFamily("seanorg", "camera"), "python-appimage-example") # make sure this matches the model in meta.json
|
||||||
|
|
||||||
# create any class parameters here, 'some_pin' is used as an example (change/add as needed)
|
# create any class parameters here, 'some_pin' is used as an example (change/add as needed)
|
||||||
some_pin: int
|
some_pin: int
|
||||||
|
Reference in New Issue
Block a user