diff --git a/robomaster_pi/__pycache__/__init__.cpython-38.pyc b/robomaster_pi/__pycache__/__init__.cpython-38.pyc index 095af899ffa42f2e246d8d023de95afab1f76496..a791c4ad1dcdcdcec730b1a99bebcccb47a401bc 100644 Binary files a/robomaster_pi/__pycache__/__init__.cpython-38.pyc and b/robomaster_pi/__pycache__/__init__.cpython-38.pyc differ diff --git a/robomaster_pi/__pycache__/pup_position.cpython-38.pyc b/robomaster_pi/__pycache__/pup_position.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0af4bafd7b7f05eed32b60a55efe3a18192a1758 Binary files /dev/null and b/robomaster_pi/__pycache__/pup_position.cpython-38.pyc differ diff --git a/robomaster_pi/pup_position.py b/robomaster_pi/pup_position.py index ebd1d3f95e7fc68c6143cca523c93392f59fbfc7..00f7ec297cbd31b62508459869059f6166384d20 100644 --- a/robomaster_pi/pup_position.py +++ b/robomaster_pi/pup_position.py @@ -12,7 +12,7 @@ class RobotPosePublisher(Node): self.publisher_ = self.create_publisher(PoseStamped, 'robot_pose', 10) self.tf_buffer_ = Buffer() self.tf_listener_ = TransformListener(self.tf_buffer_, self) - self.timer_ = self.create_timer(1.0, self.publish_robot_pose) + self.timer_ = self.create_timer(0.1, self.publish_robot_pose) def quaternion_to_z_angle_deg(self, rotation): x = rotation.x