Where the x, y and z of the followed position come from (default: the trajectories' positions). Returns whether all followed trajectories have those data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryFollower), | intent(inout) | :: | self | |||
| type(DataSource), | intent(in) | :: | src |
where the x comes from |
logical function set_x_data(self, src) result(valid) class(TrajectoryFollower), intent(inout) :: self type(DataSource), intent(in) :: src !! where the x comes from self%sources_(1) = src self%default_data = .false. self%stamp_ = next_motion_stamp() valid = self%data_valid() end function set_x_data