+planning
This commit is contained in:
parent
0c707739ee
commit
f0e8df6c33
2 changed files with 4 additions and 2 deletions
BIN
planning.ods
Normal file
BIN
planning.ods
Normal file
Binary file not shown.
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue