-
Notifications
You must be signed in to change notification settings - Fork 12
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
If sensor_config.yaml fails compliance once, it fails all day #16
Comments
Original comment by Brian Bingham (Bitbucket: brian_bingham). Good catch. It looks like there was attempt to clear the logs before running the ROS node. Can you try this PR to see if it works for you so we don’t inadvertently forget the workaround in the future? |
This problem is a consequence of some of our deeper design decisions. It is probably within reach to fix these decisions rather than to use a workaround. What is happening
How component compliance is checkedThe ComponentCompliance object does the following: Initialization
Check parameters
Check numbers
How thruster compliance is checkedThe ThrusterCompliance object does the following: Initialization
Check parameters
Check numbers
How bounding boxes are checked
fit(self, pose)
What should happen
|
First step: create a branch of
|
Fixing compliant.py
|
Original report (archived issue) by Michael McCarrin (Bitbucket: m1chaelm).
Our prepare_team_wamv.bash script checks that sensors are compliant by grepping through the $HOME/.ros/log/latest/wamv_config-wamv_generator-1.log for the string “ERROR”. This method produces some false positives. In particular, since the log can contain messages from multiple consecutive runs, any run that produces the string ERROR once will cause compliance checks to fail until the logs are rotated.
A workaround is to delete the log file or removing the lines that say ERROR and run again. Ideally we would record the output of our compliance check directly instead of searching the log.
The text was updated successfully, but these errors were encountered: