Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float Multiarray Publisher #1538

Open
ErikParkerrr opened this issue Sep 29, 2023 · 1 comment
Open

Float Multiarray Publisher #1538

ErikParkerrr opened this issue Sep 29, 2023 · 1 comment

Comments

@ErikParkerrr
Copy link

Issue template

  • Hardware description: ESP32
  • Installation type: micro_ros_arduino library in legacy Arduino IDE with docker container for agent. USB serial transport
  • Version or commit hash: humble

Expected behavior

Micro ros publishes an array of 32bit floats

Actual behavior

ESP32 boot loops, publishes nothing, or code doesn't compile

Additional information

Hi All,

I've spent the last few days trying to get micro ros to publish a float array. I'm simply looking for some example code that shows me how to publish to a topic with a Float32MultiArray Message and how to publish data to the different array elements.

I'm pretty sure my issue lies in the memory allocation area. I don't have any useful code to share as it's a conglomeration of broken things I've found all over the internet.

I really just need help with a quick example script to publish a Float32MultiArray.

Thank you

@pablogs9
Copy link
Member

pablogs9 commented Oct 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants