WPILibC++ 2024.3.1
Deprecated List
Member basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::operator<< (basic_json &j, std::istream &i)
This stream operator is deprecated since 3.0.0 and will be removed in version 4.0.0 of the library. Please use operator>>(std::istream&, basic_json&) instead; that is, replace calls like j << i; with i >> j;.
Member basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::sax_parse (detail::span_input_adapter &&i, SAX *sax, input_format_t format=input_format_t::json, const bool strict=true, const bool ignore_comments=false)
This function is deprecated since 3.8.0 and will be removed in version 4.0.0 of the library. Please use sax_parse(ptr, ptr + len) instead.
Class frc2::CommandBase
All functionality provided by CommandBase has been merged into Command. Use Command instead.
Member frc2::TrapezoidProfileCommand< Distance >::TrapezoidProfileCommand (frc::TrapezoidProfile< Distance > profile, std::function< void(State)> output, Requirements requirements={})
The new constructor allows you to pass in a supplier for desired and current state. This allows you to change goals at runtime.
Class frc::Accelerometer
This interface is being removed with no replacement.
Member frc::Encoder::GetPeriod () const override
Use getRate() in favor of this method.
Member frc::Encoder::SetMaxPeriod (units::second_t maxPeriod) override
Use SetMinRate() in favor of this method. This takes unscaled periods and SetMinRate() scales using value from SetDistancePerPulse().
Class frc::Gyro
This interface is being removed with no replacement.
Member frc::Joystick::GetDirectionDegrees () const
Use GetDirection() instead.
Member frc::Joystick::GetDirectionRadians () const
Use GetDirection() instead.
Member frc::Notifier::SetHandler (std::function< void()> callback)
Use SetCallback() instead.
Member frc::TrapezoidProfile< Distance >::Calculate (units::second_t t) const
Pass the desired and current state into calculate instead of constructing a new TrapezoidProfile with the desired and current state
Member frc::TrapezoidProfile< Distance >::TrapezoidProfile (Constraints constraints, State goal, State initial=State{Distance_t{0}, Velocity_t{0}})
Pass the desired and current state into calculate instead of constructing a new TrapezoidProfile with the desired and current state
Member mpack_reader_init_file (mpack_reader_t *reader, const char *filename)
Renamed to mpack_reader_init_filename().
Member mpack_tag_array (int32_t count)
Renamed to mpack_tag_make_array().
Member mpack_tag_bin (int32_t length)
Renamed to mpack_tag_make_bin().
Member mpack_tag_bool (bool value)
Renamed to mpack_tag_make_bool().
Member mpack_tag_double (double value)
Renamed to mpack_tag_make_double().
Member mpack_tag_false (void)
Renamed to mpack_tag_make_false().
Member mpack_tag_float (float value)
Renamed to mpack_tag_make_float().
Member mpack_tag_int (int64_t value)
Renamed to mpack_tag_make_int().
Member mpack_tag_map (int32_t count)
Renamed to mpack_tag_make_map().
Member mpack_tag_nil (void)
Renamed to mpack_tag_make_nil().
Member mpack_tag_str (int32_t length)
Renamed to mpack_tag_make_str().
Member mpack_tag_true (void)
Renamed to mpack_tag_make_true().
Member mpack_tag_uint (uint64_t value)
Renamed to mpack_tag_make_uint().
Member mpack_tree_init (mpack_tree_t *tree, const char *data, size_t length)
Renamed to mpack_tree_init_data().
Member mpack_tree_init_file (mpack_tree_t *tree, const char *filename, size_t max_bytes)
Renamed to mpack_tree_init_filename().
Member mpack_writer_init_file (mpack_writer_t *writer, const char *filename)
Renamed to mpack_writer_init_filename().
Member nt::NetworkTableEntry::ClearFlags (unsigned int flags)
Use SetPersistent() or topic properties instead
Member nt::NetworkTableEntry::Delete ()
Use Unpublish() instead.
Member nt::NetworkTableEntry::Flags
Use IsPersistent() instead.
Member nt::NetworkTableEntry::GetFlags () const
Use IsPersistent() or topic properties instead
Member nt::NetworkTableEntry::SetFlags (unsigned int flags)
Use SetPersistent() or topic properties instead