-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIL COMMON: clean redundant packages and prepare for great merge & sonar OS #216
Conversation
e0acbff
to
4cca380
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting a couple of minor changes.
#from sub8_alarm import AlarmListener, AlarmBroadcaster | ||
from ros_alarms import AlarmBroadcaster, AlarmListener | ||
import sub8_ros_tools as sub8_utils | ||
import mil_ros_tools as sub8_utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be imported as sub8_utils.
@@ -2,7 +2,7 @@ | |||
import sys | |||
import rospy | |||
import nav_msgs.msg as nav_msgs | |||
import sub8_ros_tools as sub8_utils | |||
import mil_ros_tools as sub8_utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be imported as sub8_utils.
@@ -12,7 +12,7 @@ | |||
from scipy import linalg | |||
|
|||
import actionlib | |||
import uf_common.msg as uf_common_msgs | |||
import mil_msgs.msg as mil_msgs_msgs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It soesnt make sense to import as a name and that name is longer. How about:
from mil_msgs.msg import MoveToAction, MoveToGoal
@@ -10,7 +10,7 @@ import yaml | |||
import roslib | |||
import rosbag | |||
from tf import transformations | |||
import sub8_ros_tools as sub8_utils | |||
import mil_ros_tools as sub8_utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -1,6 +1,6 @@ | |||
import numpy as np | |||
import rospy | |||
import sub8_ros_tools as sub8_utils | |||
import mil_ros_tools as sub8_utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
Ran the following commands: git grep -l 'sub8_ros_tools' | xargs sed -i 's/sub8_ros_tools/mil_ros_tools/g' git grep -l 'uf_common' | xargs sed -i 's/uf_common/mil_msgs/g' git grep -l 'sub8_misc_tools' | xargs sed -i 's/sub8_misc_tools/mil_misc_tools/g' git grep -l 'sub8_vision_lib' | xargs sed -i 's/sub8_vision_lib/mil_vision_lib/g' I'll see what it breaks in following commits
Remove sub8_ros_tools because it is a duplicate of mil_tools Remove uf_common beacuase it is a duplicate of mil_msgs
…common passive sonar
2a1ab41
to
51680bc
Compare
ef71a83
to
20a16a6
Compare
This built on the CI and passed all unit tests except the ros_alarms test that always fails. |
Why I think Nothings broken
sub8_missions run_common list
shows all missions without import errorsObviously don't merge until uf-mil/mil_common#15 is merged and uf-mil/mil_common#28