mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 15:53:34 +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