Исправлены ошибки, которые остались с ros2 rolling
This commit is contained in:
@@ -17,6 +17,7 @@ from moveit_configs_utils import MoveItConfigsBuilder
|
|||||||
|
|
||||||
from iiwa_bringup.utils import converter
|
from iiwa_bringup.utils import converter
|
||||||
|
|
||||||
|
|
||||||
PACKAGE = "iiwa_bringup"
|
PACKAGE = "iiwa_bringup"
|
||||||
DESCRIPTION_PKG = "iiwa_description"
|
DESCRIPTION_PKG = "iiwa_description"
|
||||||
|
|
||||||
@@ -95,6 +96,10 @@ def _runtime_setup(context, *args, **kwatgs):
|
|||||||
.joint_limits(file_path=joint_limits_yaml)
|
.joint_limits(file_path=joint_limits_yaml)
|
||||||
.pilz_cartesian_limits(file_path=pilz_limits_yaml)
|
.pilz_cartesian_limits(file_path=pilz_limits_yaml)
|
||||||
.trajectory_execution(file_path=moveit_controllers_yaml)
|
.trajectory_execution(file_path=moveit_controllers_yaml)
|
||||||
|
.planning_pipelines(
|
||||||
|
pipelines=["ompl", "stomp", "pilz_industrial_motion_planner"],
|
||||||
|
default_planning_pipeline="pilz_industrial_motion_planner",
|
||||||
|
)
|
||||||
.to_moveit_configs()
|
.to_moveit_configs()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class ObjectSpawner(Node):
|
|||||||
|
|
||||||
def main(args=None):
|
def main(args=None):
|
||||||
try:
|
try:
|
||||||
with rclpy.init(args=args):
|
rclpy.init(args=args)
|
||||||
node = ObjectSpawner()
|
node = ObjectSpawner()
|
||||||
rclpy.spin(node=node)
|
rclpy.spin(node=node)
|
||||||
except (KeyboardInterrupt, ExternalShutdownException):
|
except (KeyboardInterrupt, ExternalShutdownException):
|
||||||
|
|||||||
Reference in New Issue
Block a user