|
mirs
|
/odomの位置と向きを、一定の移動距離ごとに記録する。 [詳解]
公開メンバ関数 | |
| __init__ (self) | |
| odom_callback (self, msg) | |
| calculate_distance (self, pose1, pose2) | |
公開変数類 | |
| frame_id = self.get_parameter('frame_id').value | |
| path_pub = self.create_publisher(Path, '/traveled_path', 10) | |
| odom_sub = self.create_subscription(Odometry, '/odom', self.odom_callback, 10) | |
| path_msg = Path() | |
| last_pose = None | |
| min_distance = self.get_parameter('min_distance').value | |
| max_jump = self.get_parameter('max_jump').value | |
| max_poses = self.get_parameter('max_poses').value | |
/odomの位置と向きを、一定の移動距離ごとに記録する。
trajectory_publisher.py の 31 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.__init__ | ( | self | ) |
trajectory_publisher.py の 34 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.calculate_distance | ( | self, | |
| pose1, | |||
| pose2 ) |
trajectory_publisher.py の 82 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.odom_callback | ( | self, | |
| msg ) |
trajectory_publisher.py の 54 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.frame_id = self.get_parameter('frame_id').value |
trajectory_publisher.py の 41 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.last_pose = None |
trajectory_publisher.py の 49 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.max_jump = self.get_parameter('max_jump').value |
trajectory_publisher.py の 51 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.max_poses = self.get_parameter('max_poses').value |
trajectory_publisher.py の 52 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.min_distance = self.get_parameter('min_distance').value |
trajectory_publisher.py の 50 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.odom_sub = self.create_subscription(Odometry, '/odom', self.odom_callback, 10) |
trajectory_publisher.py の 44 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.path_msg = Path() |
trajectory_publisher.py の 46 行目に定義があります。
| trajectory_publisher.TrajectoryPublisher.path_pub = self.create_publisher(Path, '/traveled_path', 10) |
trajectory_publisher.py の 43 行目に定義があります。