+planning

This commit is contained in:
senn 2020-05-19 10:23:55 +02:00
parent 0c707739ee
commit f0e8df6c33
2 changed files with 4 additions and 2 deletions

BIN
planning.ods Normal file

Binary file not shown.

View file

@ -15,12 +15,14 @@ ros::NodeHandle n;
ros::Publisher producer_pub = n.advertise<std_msgs::Float64MultiArray>("producer", 10);
ros::Rate loop_rate(1);
ros::Rate loop_rate(1000);
std_msgs::Int32 msg;
// define and set up message to send
//float64 = 8 bytes
std_msgs::Float64MultiArray array_msg;
size_t count = 6400;
size_t count = 16384;
array_msg.data.resize(count);
for (size_t i = 0; i < count; i++)
{