yoneken / rosserial_stm32

This is a part of [rosserial](https://github.com/ros-drivers/rosserial) repository to communicate with ROS system through a USART for STM32 embedded system.
BSD 2-Clause "Simplified" License
218 stars 72 forks source link

getParam() cannot be used #35

Open tablejai opened 3 years ago

tablejai commented 3 years ago

Hello I am trying to use the subscription feature from your library.

After I create the instance for NodeHandle as nh, I tried to subscribe to the topic on my ROS system. However, I failed to retrieve the values I need from the topic using getParam().

Can you show what is the proper usage of the subscribing feature of your library as there is not much examples and resources about how to do it.

tablejai commented 3 years ago

FYI, I am using a Nvidia Jetson Nano using ROS Melodic and a STM32F409. The two of them are communicating through UART. The publish works for me but then subscribe doesn't really quite though.