The royal couple spent time with members of the public.