rospy.Rate()
rate = rospy.Rate(20)
Rate() 안에 들어가는 값은 hz이다.
즉, 1초에 얼마나 많이 ros를 구동시킬 지 결정하게 된다.
728x90
'Learning Space > Autonomous Flight' 카테고리의 다른 글
[Autonomous Navigation] Path Planning (0) | 2023.03.10 |
---|---|
[Autonomous DRONE] PX4 Models Error (0) | 2023.03.07 |
[Autonomous DRONE] ENV(환경) 구축 (1) | 2023.03.03 |
[State Machine] State Machine에 대한 이해 (0) | 2023.01.16 |