mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
remove exception in case that ROS is not installed
This commit is contained in:
@@ -271,8 +271,6 @@ if ros_version == '2' :
|
|||||||
ros2_distro = args.ros2_distro
|
ros2_distro = args.ros2_distro
|
||||||
else :
|
else :
|
||||||
ros2_distro = os.environ.get('ROS_DISTRO')
|
ros2_distro = os.environ.get('ROS_DISTRO')
|
||||||
else :
|
|
||||||
raise ValueError
|
|
||||||
|
|
||||||
# If nothing specified it's generated both
|
# If nothing specified it's generated both
|
||||||
if agent == False and client == False:
|
if agent == False and client == False:
|
||||||
|
|||||||
Reference in New Issue
Block a user