set_z_data Function

private function set_z_data(self, src) result(valid)

Where the z of the followed position comes from (see set_x_data).

Type Bound

TrajectoryFollower

Arguments

Type IntentOptional Attributes Name
class(TrajectoryFollower), intent(inout) :: self
type(DataSource), intent(in) :: src

where the z comes from

Return Value logical


Calls

proc~~set_z_data~2~~CallsGraph proc~set_z_data~2 TrajectoryFollower%set_z_data proc~data_valid TrajectoryFollower%data_valid proc~set_z_data~2->proc~data_valid proc~next_motion_stamp next_motion_stamp proc~set_z_data~2->proc~next_motion_stamp proc~verify_data Trajectory%verify_data proc~data_valid->proc~verify_data

Source Code

    logical function set_z_data(self, src) result(valid)
        class(TrajectoryFollower), intent(inout) :: self
        type(DataSource), intent(in) :: src                 !! where the z comes from
        self%sources_(3) = src
        self%default_data = .false.
        self%stamp_ = next_motion_stamp()
        valid = self%data_valid()
    end function set_z_data