What to follow (FOLLOW_POSITION and/or FOLLOW_ATTITUDE, combined with ior) and how (FOLLOW_LOOP or FOLLOW_LIMIT).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryFollower), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | data |
FOLLOW_POSITION and/or FOLLOW_ATTITUDE (ior) |
||
| integer, | intent(in) | :: | mode |
FOLLOW_LOOP or FOLLOW_LIMIT |
subroutine set_follow_type(self, data, mode) class(TrajectoryFollower), intent(inout) :: self integer, intent(in) :: data !! FOLLOW_POSITION and/or FOLLOW_ATTITUDE (ior) integer, intent(in) :: mode !! FOLLOW_LOOP or FOLLOW_LIMIT self%data_ = data self%mode_ = mode self%stamp_ = next_motion_stamp() end subroutine set_follow_type