Browse Source

Change instances of package name to stretch_demos

pull/95/head
hello-chintan 1 year ago
parent
commit
7afd58e995
5 changed files with 10 additions and 10 deletions
  1. +3
    -3
      stretch_demos/launch/autodocking.launch
  2. +1
    -1
      stretch_demos/nodes/aruco_head_scan_action.py
  3. +4
    -4
      stretch_demos/nodes/autodocking_bt.py
  4. +1
    -1
      stretch_demos/nodes/visual_servoing_action.py
  5. +1
    -1
      stretch_demos/src/stretch_demos/autodocking_behaviours.py

+ 3
- 3
stretch_demos/launch/autodocking.launch View File

@ -52,12 +52,12 @@
<node name="rviz" pkg="rviz" type="rviz" output="log" args="-d $(find stretch_navigation)/rviz/navigation.rviz" if="$(arg rviz)" /> <node name="rviz" pkg="rviz" type="rviz" output="log" args="-d $(find stretch_navigation)/rviz/navigation.rviz" if="$(arg rviz)" />
<!-- ARUCO ACTION SERVER --> <!-- ARUCO ACTION SERVER -->
<node name="aruco_head_scan" pkg="autodocking" type="aruco_head_scan_action.py" output="screen" />
<node name="aruco_head_scan" pkg="stretch_demos" type="aruco_head_scan_action.py" output="screen" />
<!-- VISUAL SERVOING ACTION SERVER --> <!-- VISUAL SERVOING ACTION SERVER -->
<node name="visual_servoing" pkg="autodocking" type="visual_servoing_action.py" output="screen" />
<node name="visual_servoing" pkg="stretch_demos" type="visual_servoing_action.py" output="screen" />
<!-- AUTODOCKING --> <!-- AUTODOCKING -->
<node name="autodocking" pkg="autodocking" type="autodocking_bt.py" output="screen" />
<node name="autodocking" pkg="stretch_demos" type="autodocking_bt.py" output="screen" />
</launch> </launch>

+ 1
- 1
stretch_demos/nodes/aruco_head_scan_action.py View File

@ -9,7 +9,7 @@ import tf2_ros
import time import time
import actionlib import actionlib
from stretch_core.msg import ArucoHeadScanAction, ArucoHeadScanGoal, ArucoHeadScanFeedback, ArucoHeadScanResult
from stretch_demos.msg import ArucoHeadScanAction, ArucoHeadScanGoal, ArucoHeadScanFeedback, ArucoHeadScanResult
from trajectory_msgs.msg import JointTrajectoryPoint from trajectory_msgs.msg import JointTrajectoryPoint
from control_msgs.msg import FollowJointTrajectoryGoal from control_msgs.msg import FollowJointTrajectoryGoal
from tf.transformations import euler_from_quaternion, quaternion_from_euler from tf.transformations import euler_from_quaternion, quaternion_from_euler

+ 4
- 4
stretch_demos/nodes/autodocking_bt.py View File

@ -6,10 +6,10 @@ import py_trees.console as console
import rospy import rospy
import sys import sys
import functools import functools
from autodocking.autodocking_behaviours import MoveBaseActionClient
from autodocking.autodocking_behaviours import CheckTF
from autodocking.autodocking_behaviours import VisualServoing
from stretch_core.msg import ArucoHeadScanAction, ArucoHeadScanGoal
from stretch_demos.autodocking_behaviours import MoveBaseActionClient
from stretch_demos.autodocking_behaviours import CheckTF
from stretch_demos.autodocking_behaviours import VisualServoing
from stretch_demos.msg import ArucoHeadScanAction, ArucoHeadScanGoal
from geometry_msgs.msg import Pose from geometry_msgs.msg import Pose
from sensor_msgs.msg import BatteryState from sensor_msgs.msg import BatteryState
import hello_helpers.hello_misc as hm import hello_helpers.hello_misc as hm

+ 1
- 1
stretch_demos/nodes/visual_servoing_action.py View File

@ -13,7 +13,7 @@ from geometry_msgs.msg import Twist
from trajectory_msgs.msg import JointTrajectoryPoint from trajectory_msgs.msg import JointTrajectoryPoint
from control_msgs.msg import FollowJointTrajectoryGoal from control_msgs.msg import FollowJointTrajectoryGoal
from tf.transformations import euler_from_quaternion, quaternion_from_euler from tf.transformations import euler_from_quaternion, quaternion_from_euler
from autodocking.msg import VisualServoAction, VisualServoGoal, VisualServoResult, VisualServoFeedback
from stretch_demos.msg import VisualServoAction, VisualServoGoal, VisualServoResult, VisualServoFeedback
from sensor_msgs.msg import JointState from sensor_msgs.msg import JointState
from sensor_msgs.msg import PointCloud2 from sensor_msgs.msg import PointCloud2

+ 1
- 1
stretch_demos/src/stretch_demos/autodocking_behaviours.py View File

@ -7,7 +7,7 @@ from actionlib_msgs.msg import GoalStatus
from math import sqrt, pow from math import sqrt, pow
from geometry_msgs.msg import Pose, TransformStamped from geometry_msgs.msg import Pose, TransformStamped
from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal
from autodocking.msg import VisualServoAction, VisualServoGoal, VisualServoResult, VisualServoFeedback
from stretch_demos.msg import VisualServoAction, VisualServoGoal, VisualServoResult, VisualServoFeedback
import tf2_ros import tf2_ros
class MoveBaseActionClient(py_trees.behaviour.Behaviour): class MoveBaseActionClient(py_trees.behaviour.Behaviour):

Loading…
Cancel
Save