Skip to main content

Questions tagged [multiarray]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
251 views

Setup Int32MultiArray in micro-ROS arduino library (ROS2)

Hi there. I just started with ROS2 and I'm trying to send a couple of sensor datas form my microcontroller to my ROS2 system using the micro-ROS library in the arduino IDE --> C++. Can someone give ...
0 votes
1 answer
114 views

How to Initialize a 2D MultiArray?

Hello, I am using a Raspberry Pi with Lubuntu 16.04, ros Kinetic, a Sick tim 561 and the package sick_scan to get data from the tim561. Currently my goal is to extract the x and y data from the ...
0 votes
1 answer
528 views

How can we actually use Float32MultiArray to publish 2D array using Python?

Hi, I am frustrated trying to understand the concept of Float32MultiArray. I have been reading the documentations from Float32MultiArray API , MultiArrayLayout and MultiArrayDimesion but I still don't ...
0 votes
1 answer
74 views

Subscribing to a Float32MultiArray and printing each value

Hey everyone, I'm trying to do exactly what the title says , subcribe to a Multi Array with Float32 values (7 elements), and print each value for testing purposes. For some reason, what worked with ...
0 votes
3 answers
88 views

rostopic pub multiarray

Quick question, how do I publish a multiarray? I use rostopic a lot, and its tremendously helpful. One thing I was never able to figure out, was how publish a multiarray(I also wasn't able to find a ...
0 votes
3 answers
141 views

How to initialize a UInt8MultiArray message

Not too much info on these (or any of the variants) on the wiki: what is the proper way to initialize these? I've tried: ...
0 votes
1 answer
8 views

Best way to publish 3 coordinates (array, mat, vector...)?

Hi, Since several days, I try to publish 3 coordinates to rosserial. Currently the only way I found, it's to publish this coordinates (x,y,z) in 3 differents topics. I would like to publish 1 vector/...
0 votes
1 answer
7 views

Int16MultiArray messages with rosserial_tivac

Hello All, I am trying to send Int16MultiArray messages with rosserial_tivac using the code in this here. There is the statement: ...
0 votes
1 answer
17 views

roslibjs MultiArray Message

Hi all, I am trying to create a web interface for a robot, and would like to publish a message of type: std_msgs/Int32MultiArray Thus in my code I have the ...
0 votes
2 answers
42 views

Push vector into `MultiArray`-Message and publish it

I simply try to push multiple vector<double> into the message format, but can not figure it out also I looked at this and this. ...
0 votes
1 answer
25 views

how to use float32 multiarray message

Hi, this is a very noob question. How can i specify the size of the message, for example i want to send an array of 1x6. I see the layout, it has the size field but no field to specify the rows and ...
0 votes
1 answer
29 views

Publish multiarray Python msg

When I press a button of my joystick, I save one point [x y z r p y] if I press again I save another point. Here, I save two points: [[0.29845908995953135, 0.210860533103541, 1.2190388918130415, -2....
0 votes
1 answer
32 views

Problems with Int32MultiArrays

Hi, I'm wondering if anyone knows what these errors mean: My code is really long to post, so I was wondering if there was something general that these are getting at that I can look out for in my code....