Skip to content
Snippets Groups Projects
Commit 995beed6 authored by Andi Gerken's avatar Andi Gerken
Browse files

Changes to resolve threads in the MR

For gitlab: this MR close issue #8
parent b3a86f59
No related branches found
No related tags found
1 merge request!16Changed the way of calculating speeds and turns (+ minor features)
Pipeline #38388 passed
......@@ -429,7 +429,7 @@ class File(h5py.File):
details="We found that our calculation of 'poses_calc_ori' is flawed."
"Please replace it with 'poses' and use the tracked orientation."
"If you see this message and you don't know what to do, update all packages, "
"merge to the master branch of fish_models if nothing helps, contact Andi.\n"
"merge to the master branch of robofish.io if nothing helps, contact Andi.\n"
"Don't ignore this warning, it's a serious issue.",
)
def entity_poses_calc_ori(self):
......@@ -442,7 +442,7 @@ class File(h5py.File):
details="We found that our calculation of 'poses_calc_ori_rad' is flawed."
"Please replace it with 'poses_rad' and use the tracked orientation."
"If you see this message and you don't know what to do, update all packages, "
"merge to the master branch of fish_models if nothing helps, contact Andi.\n"
"merge to the master branch of robofish.io if nothing helps, contact Andi.\n"
"Don't ignore this warning, it's a serious issue.",
)
def entity_poses_calc_ori_rad(self):
......@@ -458,7 +458,7 @@ class File(h5py.File):
"with 'actions_speeds_turns'. The difference in calculation is, that the tracked "
"orientation is used now which gives the fish the ability to swim backwards. "
"If you see this message and you don't know what to do, update all packages, "
"merge to the master branch of fish_models if nothing helps, contact Andi.\n"
"merge to the master branch of robofish.io if nothing helps, contact Andi.\n"
"Don't ignore this warning, it's a serious issue.",
)
def entity_speeds_turns(self):
......
......@@ -33,7 +33,7 @@ def test_entity_object():
def test_entity_turns_speeds():
"""This test was created, when the turns and speeds where calculated from positions only.
There were issues witht the calculation of speeds and turns. The corresponding functions were set to be deprecated.
There were issues with the calculation of speeds and turns. The corresponding functions were set to be deprecated.
This test was adapted to have plausible orientations which are used when the speeds and turns are calculated.
The reconstructed track is not identical to the original track. The reson for this is unknown.
TODO: Find the reason, why the reconstructed track differs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment