Browse Source

Changed back to joint_head_pan.

noetic
hello-sanchez 2 years ago
parent
commit
4e2290d13a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/single_joint_actuator.py

+ 2
- 2
src/single_joint_actuator.py View File

@ -43,12 +43,12 @@ class SingleJointActuator(hm.HelloNode):
# Set trajectory_goal as a FollowJointTrajectoryGoal and define
# the joint name
trajectory_goal = FollowJointTrajectoryGoal()
trajectory_goal.trajectory.joint_names = ['joint_left_wheel']
trajectory_goal.trajectory.joint_names = ['joint_head_pan']
# Provide desired positions for joint name.
# Set positions for the following 5 trajectory points
point0 = JointTrajectoryPoint()
point0.positions = [-0.1]#[0.65]
point0.positions = [0.65]
# point1 = JointTrajectoryPoint()
# point1.positions = [-1.50]

Loading…
Cancel
Save