You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Roberto Bucher <ro...@supsi.ch> on 2022/12/28 12:26:26 UTC

ROS and microROS finally working!

Hi all

I finally reached to have a system with ROS2 and microROS on Nuttx which 
seems to work correctly!

The main problems were:

  * Service are not working under galactic, but this seems to be a
    general problem because the freertos provided code does't work to!
    NuttX and Freertos are both working under Humble
  * Nobody seems to handle PR for microROS. I sent 2 PR for the rcutils
    github but we no reaction! This is quite frustrating.

I have a node integrated in pysimCoder that allows to exchange data 
between the NuttX embedded system and the microROS agent in a PC. It is 
possible to subscribe and publish up to 4 float64 data between the nodes 
in ROS2 and the node in microROS. Code i s available (not published yet).

I'd like to have contacts with people using ROS2 and microROS with NuttX 
(there are some presentations at the Workshop!) to exchange info and 
experience.

Best regards

Roberto

Re: ROS and microROS finally working!

Posted by Nathan Hartman <ha...@gmail.com>.
On Wed, Dec 28, 2022 at 7:26 AM Roberto Bucher <ro...@supsi.ch>
wrote:

>   * Nobody seems to handle PR for microROS. I sent 2 PR for the rcutils
>     github but we no reaction! This is quite frustrating.
>

There are even older PRs from August. Last merges were done in April. I
suggest to ping ROS's mailing lists (or whatever they use for
communication).

Cheers
Nathan

Re: ROS and microROS finally working!

Posted by Nathan Hartman <ha...@gmail.com>.
On Wed, Dec 28, 2022 at 7:26 AM Roberto Bucher <ro...@supsi.ch>
wrote:

> Hi all
>
> I finally reached to have a system with ROS2 and microROS on Nuttx which
> seems to work correctly!
>
> The main problems were:
>
>   * Service are not working under galactic, but this seems to be a
>     general problem because the freertos provided code does't work to!
>     NuttX and Freertos are both working under Humble
>   * Nobody seems to handle PR for microROS. I sent 2 PR for the rcutils
>     github but we no reaction! This is quite frustrating.
>
> I have a node integrated in pysimCoder that allows to exchange data
> between the NuttX embedded system and the microROS agent in a PC. It is
> possible to subscribe and publish up to 4 float64 data between the nodes
> in ROS2 and the node in microROS. Code i s available (not published yet).
>
> I'd like to have contacts with people using ROS2 and microROS with NuttX
> (there are some presentations at the Workshop!) to exchange info and
> experience.
>
> Best regards
>
> Roberto
>


We do have a precedent for putting such patches in our apps repository.

See for example the libuv port:

https://github.com/apache/nuttx-apps/tree/091ff5712636fa0742b435aa85758e406019d828/graphics/libyuv

The port is tied to a specific git hash and selectable via our Kconfig and
the Makefile automatically patches the libuv sources.

The same could be done for ROS.

If and when ROS merges the patch upstream, we can remove the patch, update
to the corrected git hash, and remove the patch command from the Makefile.

Cheers,
Nathan

Re: ROS and microROS finally working!

Posted by Alin Jerpelea <je...@gmail.com>.
This is a nice Christmas news!

Thanks
Alin

On Wed, 28 Dec 2022, 13:26 Roberto Bucher, <ro...@supsi.ch> wrote:

> Hi all
>
> I finally reached to have a system with ROS2 and microROS on Nuttx which
> seems to work correctly!
>
> The main problems were:
>
>   * Service are not working under galactic, but this seems to be a
>     general problem because the freertos provided code does't work to!
>     NuttX and Freertos are both working under Humble
>   * Nobody seems to handle PR for microROS. I sent 2 PR for the rcutils
>     github but we no reaction! This is quite frustrating.
>
> I have a node integrated in pysimCoder that allows to exchange data
> between the NuttX embedded system and the microROS agent in a PC. It is
> possible to subscribe and publish up to 4 float64 data between the nodes
> in ROS2 and the node in microROS. Code i s available (not published yet).
>
> I'd like to have contacts with people using ROS2 and microROS with NuttX
> (there are some presentations at the Workshop!) to exchange info and
> experience.
>
> Best regards
>
> Roberto
>