You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes two issues:
1. The default constructor for ParameterAndDescriptor initializes it's members to null.
This can cause a segfault when trying to access a parameters descriptor if undeclared
parameters are allowed and it has been set without a descriptor
(e.g. using setParameters()).
This change defines the constructor for ParameterAndDescriptor so that we don't hit
any null values.
2. Parameters that are not declared and set with setParameters() do not have their
descriptors set to the correct value.
This change makes sure that the descriptor is initialized with the values of the
parameter being set.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
0 commit comments