Closed alexperez33 closed 2 years ago
Just a word of caution about search
: Powerful tool, but search .py
will also pick up .pyc
files, and a few scripts with py
in their name.
You may want to use search '^.*\.py$'
instead!
$ search .py | wc -l
759
$ search '^.*\.py$' | wc -l
580
Also, helpful link with info about the differences between Python 2 and 3 to complement the link Alex sent above: https://portingguide.readthedocs.io/en/latest/index.html
Below is a comprehensive list of packages that need to be migrated from Python 2 to Python 3, separated by system. Issues should be made for each package that needs to be converted, with a reference to such issue here!
To avoid having our inboxes and issue page flooded with new issues, only a few issues relevant to this project will be made at any one time!
Here are a collection of tools that can be used to assist in the migration process:
python-modernize
: A command-line tool to check for any Python 2 code which will need to be upgrade to Python 3. After migrating a file, this command should produce no output.Migrated | Documented | Package |
---|---|---|
β (#389) | β | NaviGator/gnc/navigator_msg_multiplexer |
β (#390) | β | NaviGator/gnc/navigator_thrust_mapper |
β (#409) | β (#516) | NaviGator/gnc/navigator_path_planner |
β (#408) | β | NaviGator/gnc/navigator_controller |
β (#410) | β | NaviGator/hardware_drivers/navigator_kill_board |
β (#411) | β | NaviGator/mission_control/navigator_alarm |
β | β | NaviGator/mission_control/navigator_launch |
β (#418) | β | NaviGator/mission_control/navigator_missions |
β | β | NaviGator/mission_systems/navigator_scan_the_code (#733) |
β (#734) | β (#739) | NaviGator/perception/navigator_vision |
β | β | NaviGator/satellite/rviz_satellite |
β | β | NaviGator/simulation/VRX/vrx/usv_gazebo_plugins (OSRF code) |
β | β | NaviGator/simulation/VRX/vrx/usv_msgs (OSRF code) |
β | β | NaviGator/simulation/VRX/vrx/vrx_gazebo (OSRF code) |
β | β | NaviGator/simulation/VRX/vrx/wamv_description (OSRF code) |
β | β | NaviGator/simulation/VRX/vrx/wamv_gazebo (OSRF code) |
β | β | NaviGator/simulation/VRX/vrx/wave_gazebo (OSRF code) |
β (#383) | β | NaviGator/simulation/navigator_2dsim |
β (#735) | β (#740) | NaviGator/simulation/navigator_gazebo |
β (#736) | β (#741) | NaviGator/test/navigator_test |
β (#520) | β (#522) | NaviGator/utils/navigator_battery_monitor |
β (#698, #707) | β (#702) | NaviGator/utils/navigator_gui |
β | β | NaviGator/utils/navigator_judgepanel |
β (#519) | β (#521) | NaviGator/utils/navigator_msgs |
β (#648, #654) | β (#650, #654) | NaviGator/utils/navigator_robotx_comms |
β (#737) | β (#742) | NaviGator/utils/navigator_tools |
β (#699, #706) | β (#703) | NaviGator/utils/remote_control/navigator_emergency_control |
β (#700, #705) | β (#704, #705) | NaviGator/utils/remote_control/navigator_joystick_control |
β (#434) | β (#457) | NaviGator/utils/remote_control/navigator_keyboard_control |
β (#697, #714) | β (#701) | NaviGator/utils/voltage_gui |
Migrated | Documented | Package |
---|---|---|
β (#567, #570) | β (#568, #570) | SubjuGator/command/sub8_alarm |
β (#572, #580) | β (#576) | SubjuGator/command/sub8_launch |
β (#573) | β (#577) | SubjuGator/command/sub8_missions |
β (#574, #582) | β (#578, #582) | SubjuGator/drivers/sub8_actuator_board |
β (#575, #624) | β (#579, #624) | SubjuGator/drivers/sub8_thrust_and_kill_board |
β (#625, #640) | β (#630, #640) | SubjuGator/perception/sub8_perception |
β (#626, #642) | β (#631, #642) | SubjuGator/perception/sub8_pointcloud |
β (#627, #644) | β (#632, #644) | SubjuGator/simulation/sub8_gazebo |
β (#628) | β (#633) | SubjuGator/simulation/sub8_simulation |
β (#629) | β (#634) | SubjuGator/utils/sub8_diagnostics |
β | β | SubjuGator/gnc/c3_trajectory_generator |
β (#715) | β (#716) | SubjuGator/gnc/rise_6dof |
β (#717) | β (#718) | SubjuGator/gnc/sub8_controller |
β (#719) | β (#720) | SubjuGator/gnc/sub8_system_id |
β (#721) | β (#722) | SubjuGator/gnc/sub8_thruster_mapper |
mil_common
(15 packages)Migrated | Documented | Package |
---|---|---|
β (#665, #673) | β (#668, #673) | mil_common/drivers/mil_pneumatic_actuator |
β (#666, #676) | β (#669, #676) | mil_common/drivers/sabertooth2x12 |
β (#501, #541) | β (#500, #541) | mil_common/drivers/mil_passive_sonar |
β (#458) | β (#515) | mil_common/drivers/mil_usb_to_can |
β | β | mil_common/gnc/odometry_utils |
β (#667, #677) | β (#670, #677) | mil_common/gnc/rawgps_common |
β (#532) | β (#533) | mil_common/gnc/mil_bounds |
β | β | mil_common/mil_missions |
β | β | mil_common/perception/mil_mlp (Deprecated) |
β (#459, #615) | β (#615) | mil_common/perception/mil_vision |
β (#502) | β (#499) | mil_common/ros_alarms |
β (#433) | β | Submodule: mil_common/txros |
β (#534, #555) | β (#535, #619) | mil_common/utils/mil_poi |
β (#478) | β (#442) | mil_common/utils/mil_tools |
This issue is finally closed. Thank you to all who helped out with this project, we could not have done it without you.
Noetic with Alabaster
For a quick link to the Python 2 β 3 Migration Table, please click here.
The Noetic with Alabaster project is a team subproject primarily dedicating to updating all team systems to use ROS Noetic instead of ROS Melodic. Furthermore, the project is also adding extensive documentation on team systems to make it much easier for new and old members to get acquainted with systems they have never touched. This is being done to improve the developer experience and the speed at which projects can be completed.
The project leader is @cbrxyz. The project completion date is scheduled for August 2022, the start of the Fall 2022 semester. At this point, all new and old members will be asked to update their operating system to Ubuntu 20.
If you want to help out, please let the project lead, Cameron, know! She would love to help you get setup!
For more information about the migration, please see some of the links below.
Links: