From 32f740427b95abeed7ff63564a5912fb0ed17f37 Mon Sep 17 00:00:00 2001 From: Christoph Biering <1353438+biering@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:33:17 +0100 Subject: [PATCH] chore: don't publish pi from nova package (#8) Co-authored-by: cbiering --- examples/02_plan_and_execute.py | 3 ++- examples/03_move_and_set_ios.py | 3 ++- examples/04_move_multiple_robots.py | 3 ++- nova/__init__.py | 2 -- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/02_plan_and_execute.py b/examples/02_plan_and_execute.py index 75662ee..96242c2 100644 --- a/examples/02_plan_and_execute.py +++ b/examples/02_plan_and_execute.py @@ -1,4 +1,5 @@ -from nova import Nova, ptp, jnt, Pose, pi +from nova import Nova, ptp, jnt, Pose +from math import pi import asyncio from nova.core.movement_controller import move_forward diff --git a/examples/03_move_and_set_ios.py b/examples/03_move_and_set_ios.py index 5b7ab25..6427344 100644 --- a/examples/03_move_and_set_ios.py +++ b/examples/03_move_and_set_ios.py @@ -1,4 +1,5 @@ -from nova import Nova, Pose, ptp, jnt, pi +from nova import Nova, Pose, ptp, jnt +from math import pi # TODO: public interface from nova.types.action import WriteAction diff --git a/examples/04_move_multiple_robots.py b/examples/04_move_multiple_robots.py index b7aafb8..5b0deb3 100644 --- a/examples/04_move_multiple_robots.py +++ b/examples/04_move_multiple_robots.py @@ -1,4 +1,5 @@ -from nova import Nova, ptp, jnt, Controller, speed_up_movement_controller, pi +from nova import Nova, ptp, jnt, Controller, speed_up_movement_controller +from math import pi import asyncio diff --git a/nova/__init__.py b/nova/__init__.py index e1efc7a..e313c72 100644 --- a/nova/__init__.py +++ b/nova/__init__.py @@ -4,7 +4,6 @@ from nova.types.pose import Pose from nova.types.action import Action, lin, ptp, jnt, cir from nova.core.movement_controller import speed_up as speed_up_movement_controller -from numpy import pi __all__ = [ "Nova", @@ -18,5 +17,4 @@ "Action", "Pose", "speed_up_movement_controller", - "pi", ]