Skip to content
Snippets Groups Projects
Commit 09ad5734 authored by Florent Langlois's avatar Florent Langlois
Browse files

change the speed lowest limit

parent 94c63fc7
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ from conan import ConanFile
class HexapodNewportRecipe(ConanFile):
name = "hexapodnewport"
executable = "ds_HexapodNewport"
version = "1.2.2"
version = "1.2.3"
package_type = "application"
user = "soleil"
python_requires = "base/[>=1.0]@soleil/stable"
......
......@@ -9,7 +9,7 @@
<groupId>fr.soleil.device</groupId>
<artifactId>HexapodNewport-${aol}-${mode}</artifactId>
<version>1.2.2</version>
<version>1.2.3</version>
<packaging>nar</packaging>
......
......@@ -513,8 +513,8 @@ bool HWProxy::check_limit_low_velocity(std::string trajectory_type, double veloc
double distance = std::sqrt(pow(delta_axis_1,2) + pow(delta_axis_2,2) + pow(delta_axis_3,2));
INFO_STREAM<<"distance (Euclidean) = "<< distance<< std::endl;
//- The speed lowest limit it empirically appear be a distance/speed = 19.6 (longest scan 19.6 seconds: empirically tested)
if (distance / velocity < 19.6)
//- The speed lowest limit it empirically appear be a distance/speed = 200 (longest scan 200 seconds: empirically tested)
if (distance / velocity < 200)
{
is_velocity_allowed = true;
INFO_STREAM<<"Velocity is allowed "<<std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment