Closed canttach closed 1 year ago
I did a fresh installation but I couldn't replicate the issue.
But at first glance, your issue seems related to the scenario file and stonefish_mvp version.
When run properly, you should've seen a line that looks like this:
[INFO] Scenario parser: Loading scenario from '/home/{USER}/.ros/log/{UUID}/scenario.scn'.
But yours looks like this
[INFO] Scenario parser: Loading scenario from '/home/simcity/catkin_ws/src/alpha_auv/alpha_stonefish/data'.
You can check if you have the correct versions of the packages by retrieving the last commits' hash. Since these packages are in the pre-release phase, they are not tagged with version numbers yet.
git describe --always
As of now, packages should match the hash described in the table (which is their current main branch) | Package | Hash |
---|---|---|
mvp_msgs | 1f9f9e4 | |
stonefish_mvp | 2965b10 | |
stonefish | 4e3381a | |
mvp_control | da26f71 | |
mvp_mssion | 5f08bd5 | |
alpha_auv | e408ac6 |
Thanks, this solved the issues. I had different versions of the stonefish_mvp package and the alpha_auv package installed. I could not start the local path tracking mission, if I try to call the service
rosservice call /helm/change_state "state: 'survey_local'"
There is an error message that the service is unavailable. The service "alpha/helm/change_state" is available, and when I call it the response is:
state: 'survey_local'" status: True state: name: "survey_local" mode: "flight" transitions:
- start
- kill
However, it does not look like the vehicle moves or follows any waypoints. Is this expected?
Controller might not be enabled. You can enable it by typing
rosservice call /alpha/controller/enable
Or you can manually modify the line here to have it enabled on startup. https://github.com/uri-ocean-robotics/alpha_auv/blob/e408ac664995b51e4b6d64aecb7630f5b8af5e6f/alpha_config/config/control_v1-1.yaml#L11
PS: Although it is not observed on every installation, there is an expected issue with the localization stack. When it happens, the robot shows up upside down in RViZ. The fix will be published in a different repository. It can be fixed with a node that transforms IMU data from NED to ENU.
After following installation instructions, when trying to run
roslaunch alpha_bringup bringup_simulation.launch
The scenario parser fails, here are the error messages from the terminal:
From stonefish_mvp_parser.log:
From rosout.log: