adds test in commande-new-1d
This commit is contained in:
parent
49dd9208dd
commit
f2777c5d98
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
#include <pcl_ros/point_cloud.h>
|
#include <pcl_ros/point_cloud.h>
|
||||||
#include <pcl/point_types.h>
|
#include <pcl/point_types.h>
|
||||||
|
@ -61,6 +62,7 @@ class Run
|
||||||
mvt->linear.x = xx * plan_vel;
|
mvt->linear.x = xx * plan_vel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert( !(mvt->linear.x > 0. && mvt->linear.y > 0.) );
|
||||||
pub.publish(mvt);
|
pub.publish(mvt);
|
||||||
ROS_INFO("cmd published");
|
ROS_INFO("cmd published");
|
||||||
}//end publish
|
}//end publish
|
||||||
|
|
Loading…
Reference in a new issue