|
mirs
|
目標距離までの残りに応じて速度を調整し、直進走行を試す。 [詳解]
公開メンバ関数 | |
| __init__ (self) | |
| odom_callback (self, msg) | |
| control_loop (self) | |
公開変数類 | |
| publisher_ = self.create_publisher(Twist, '/cmd_vel', 10) | |
| subscription | |
| start_x = None | |
| start_y = None | |
| float | current_distance = 0.0 |
| target_distance = TARGET_DISTANCE | |
| bool | is_moving = False |
| timer = self.create_timer(TIMER_PERIOD, self.control_loop) | |
目標距離までの残りに応じて速度を調整し、直進走行を試す。
linear_test.py の 41 行目に定義があります。
| linear_test.OdomLinearTest.__init__ | ( | self | ) |
linear_test.py の 44 行目に定義があります。
| linear_test.OdomLinearTest.control_loop | ( | self | ) |
linear_test.py の 81 行目に定義があります。
| linear_test.OdomLinearTest.odom_callback | ( | self, | |
| msg ) |
linear_test.py の 66 行目に定義があります。
| float linear_test.OdomLinearTest.current_distance = 0.0 |
linear_test.py の 56 行目に定義があります。
| bool linear_test.OdomLinearTest.is_moving = False |
linear_test.py の 58 行目に定義があります。
| linear_test.OdomLinearTest.publisher_ = self.create_publisher(Twist, '/cmd_vel', 10) |
linear_test.py の 47 行目に定義があります。
| linear_test.OdomLinearTest.start_x = None |
linear_test.py の 54 行目に定義があります。
| linear_test.OdomLinearTest.start_y = None |
linear_test.py の 55 行目に定義があります。
| linear_test.OdomLinearTest.subscription |
linear_test.py の 48 行目に定義があります。
| linear_test.OdomLinearTest.target_distance = TARGET_DISTANCE |
linear_test.py の 57 行目に定義があります。
| linear_test.OdomLinearTest.timer = self.create_timer(TIMER_PERIOD, self.control_loop) |
linear_test.py の 60 行目に定義があります。