Where the y of the followed position comes from (see set_x_data).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryFollower), | intent(inout) | :: | self | |||
| type(DataSource), | intent(in) | :: | src |
where the y comes from |
logical function set_y_data(self, src) result(valid) class(TrajectoryFollower), intent(inout) :: self type(DataSource), intent(in) :: src !! where the y comes from self%sources_(2) = src self%default_data = .false. self%stamp_ = next_motion_stamp() valid = self%data_valid() end function set_y_data