forked from Archive/PX4-Autopilot
run mission_test over python2
This commit is contained in:
parent
abda56b7a2
commit
ed974d83f5
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python2
|
||||
#***************************************************************************
|
||||
#
|
||||
# Copyright (c) 2015-2016 PX4 Development Team. All rights reserved.
|
||||
|
|
|
@ -7,7 +7,7 @@ source /opt/ros/${ROS_DISTRO:-kinetic}/setup.bash
|
|||
source ${PX4_SRC_DIR}/Tools/setup_gazebo.bash ${PX4_SRC_DIR} ${PX4_SRC_DIR}/build/px4_sitl_default
|
||||
|
||||
# Make sure that the PYTHONPATH points to Python 2 packages dir
|
||||
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
|
||||
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages
|
||||
|
||||
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:${PX4_SRC_DIR}:${PX4_SRC_DIR}/Tools/sitl_gazebo
|
||||
|
||||
|
|
Loading…
Reference in New Issue