set_follow_type Subroutine

private subroutine set_follow_type(self, data, mode)

What to follow (FOLLOW_POSITION and/or FOLLOW_ATTITUDE, combined with ior) and how (FOLLOW_LOOP or FOLLOW_LIMIT).

Type Bound

TrajectoryFollower

Arguments

Type IntentOptional 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


Calls

proc~~set_follow_type~~CallsGraph proc~set_follow_type TrajectoryFollower%set_follow_type proc~next_motion_stamp next_motion_stamp proc~set_follow_type->proc~next_motion_stamp

Called by

proc~~set_follow_type~~CalledByGraph proc~set_follow_type TrajectoryFollower%set_follow_type proc~follow ReferenceFrame%follow proc~follow->proc~set_follow_type

Source Code

    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