Describe the bug
When launching FogROS, it's possible to get far into the launch before observing an error that could have been caught early. For example, setting RMW_IMPLEMENTATION incorrectly (not to the supported rmw_cyclonedds_cpp) or setting CYCLONEDDS_URI to point to an incompatible configuration file.
To Reproduce
Steps to reproduce the behavior:
Make sure RMW_IMPLEMENTATION and CYCLONEDDS_URI are both not set
Launch the talker example
Observe that the listener and talker either cannot communicate, or there may be an exception.
Expected behavior
At launch, before creating an instance, produce an error and fail if the environment variables are incorrectly set.
Describe the bug When launching FogROS, it's possible to get far into the launch before observing an error that could have been caught early. For example, setting
RMW_IMPLEMENTATION
incorrectly (not to the supportedrmw_cyclonedds_cpp
) or settingCYCLONEDDS_URI
to point to an incompatible configuration file.To Reproduce Steps to reproduce the behavior:
RMW_IMPLEMENTATION
andCYCLONEDDS_URI
are both not setExpected behavior At launch, before creating an instance, produce an error and fail if the environment variables are incorrectly set.