-
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.
chore: updated nova interface and simplified examples
- Loading branch information
cbiering
committed
Dec 17, 2024
1 parent
50ef973
commit 4ff9562
Showing
13 changed files
with
114 additions
and
143 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
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
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,20 +1,20 @@ | ||
from nova.core.nova import Nova, Cell | ||
from nova.core.motion_group import MotionGroup | ||
from nova.core.controller import Controller | ||
from nova.types.pose import Pose | ||
from nova.types.action import Action, lin, ptp, jnt, cir | ||
from nova import types | ||
from nova import actions | ||
from nova.core.movement_controller import speed_up as speed_up_movement_controller | ||
|
||
# Provide autogenerated NOVA API client | ||
import wandelbots_api_client as api | ||
|
||
__all__ = [ | ||
"Nova", | ||
"Cell", | ||
"MotionGroup", | ||
"Controller", | ||
"lin", | ||
"ptp", | ||
"jnt", | ||
"cir", | ||
"Action", | ||
"Pose", | ||
"speed_up_movement_controller", | ||
"api", | ||
"types", | ||
"actions", | ||
] |
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
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,42 +1,22 @@ | ||
from wandelbots_api_client.models import * # noqa: F401, F403 | ||
from nova.types.pose import Pose | ||
from nova.types.vector3d import Vector3d | ||
from nova.types.action import Action, Motion, MotionSettings, lin, spl, ptp, cir, jnt | ||
from nova.types.collision_scene import CollisionScene | ||
|
||
|
||
# This is the stream of requests that is send to execute trajectory websocket | ||
from typing import AsyncGenerator, Callable | ||
import wandelbots_api_client as wb | ||
|
||
from nova.types.movement_controller_context import MovementControllerContext | ||
|
||
ExecuteTrajectoryRequestStream = AsyncGenerator[wb.models.ExecuteTrajectoryRequest, None] | ||
ExecuteTrajectoryResponseStream = AsyncGenerator[wb.models.ExecuteTrajectoryResponse, None] | ||
MovementControllerFunction = Callable[ | ||
[ExecuteTrajectoryResponseStream], ExecuteTrajectoryRequestStream | ||
] | ||
LoadPlanResponse = wb.models.PlanSuccessfulResponse | ||
InitialMovementStream = AsyncGenerator[wb.models.StreamMoveResponse, None] | ||
InitialMovementConsumer = Callable[[wb.models.StreamMoveResponse], None] | ||
MovementController = Callable[[MovementControllerContext], MovementControllerFunction] | ||
|
||
|
||
__all__ = [ | ||
"Vector3d", | ||
"Pose", | ||
"Motion", | ||
"MotionSettings", | ||
"lin", | ||
"spl", | ||
"ptp", | ||
"cir", | ||
"jnt", | ||
"Action", | ||
"ExecuteTrajectoryRequestStream", | ||
"ExecuteTrajectoryResponseStream", | ||
"MovementControllerFunction", | ||
"CollisionScene", | ||
"LoadPlanResponse", | ||
"InitialMovementStream", | ||
"InitialMovementConsumer", | ||
"MovementController", | ||
] |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.