BerkeleyAutomation / FogROS2

An Adaptive and Extensible Platform for Cloud and Fog Robotics Using ROS 2
https://berkeleyautomation.github.io/FogROS2
Apache License 2.0
172 stars 29 forks source link

ParamValidationError when `ros2 fog connect` is not given any arguments #50

Closed mjd3 closed 2 years ago

mjd3 commented 2 years ago

Describe the bug If a user mistakenly does not use the -n option for ros2 fog connect, they get a ParamValidationError.

To Reproduce Steps to reproduce the behavior:

  1. docker run --rm -it --net=host --cap-add=NET_ADMIN fogros2
  2. aws configure
  3. ros2 launch fogros2_examples talker.aws.launch.py
  4. ros2 fog connect

Expected behavior Should output an error message explaining usage of the connect cmd.

Screenshots image

mjd3 commented 2 years ago

Note that nearly the same behavior occurs when using ros2 fog delete with no arguments. image

jeffi commented 2 years ago

Probably best to make this bug apply to all CLI verbs--they likely have similar issues.