ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Rosserial via ethernet on mbed platform STM32 NUCLEO

asked 2018-09-15 06:43:24 -0600

macieksz gravatar image

Hi,

I'm trying to use rosserial with mbed microcontroler via ethernet/tcpip. I found that it work with arduino. Does it work with mbed platform?

edit retag flag offensive close merge delete

Comments

Hi, It will be very useful for me to work. Could you please share the link of the source code

makebot gravatar image makebot  ( 2020-01-13 04:08:11 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-09-16 06:37:54 -0600

rreignier gravatar image

No, it is not supported on rosserial_mbed yet. I have added the support for the Arduino version but the mbed version only works on serial port. It could be added but I personally do not use mbed anymore.

edit flag offensive delete link more

Comments

Is arduino better than mbed? Why you choosed arduino?

macieksz gravatar image macieksz  ( 2018-09-16 07:17:56 -0600 )edit

Because at that time, mbed was only useful on NXP LPC series of microcontrollers and on STM32 you had to use direct registers to use advanced features. So I have use directly low-level programming on these platform. I know that now the support is better but did not try it yet.

rreignier gravatar image rreignier  ( 2018-09-16 07:33:59 -0600 )edit

And for quick tests, I use Arduino because I have some boards and I find it easier to use than mbed for simple tasks. Note that I have added rosserial ethernet support but I do not use it actually. It was because it was easy to add by modifying ESP8266 port.

rreignier gravatar image rreignier  ( 2018-09-16 07:35:44 -0600 )edit

What can I do for you, to have this feature?

macieksz gravatar image macieksz  ( 2018-09-17 08:50:26 -0600 )edit

Haha! I do not use mbed these days so I am not aware of the Ethernet interfaces. I am not sure if a common API is used across all Ethernet equipped mbed boards. Which platform do you use?

rreignier gravatar image rreignier  ( 2018-09-17 11:59:31 -0600 )edit

I use STM Nucleo STM32F429ZI. Ethernet works with https://os.mbed.com/docs/v5.9/referen...

macieksz gravatar image macieksz  ( 2018-09-17 13:18:19 -0600 )edit

Ok so it seems easy, you only have to provide a Hardware.h file with some methods implemented as here: https://github.com/ros-drivers/rosser...

rreignier gravatar image rreignier  ( 2018-09-17 15:48:00 -0600 )edit
0

answered 2018-09-21 15:15:21 -0600

macieksz gravatar image

We did it! Works well. All changes are commited to github.

edit flag offensive delete link more

Comments

Mind sharing a link and if possible some extra detail about it? I'm looking to be able to do the same thing right now

Ubicray gravatar image Ubicray  ( 2018-10-12 08:54:09 -0600 )edit

could you please share the link

makebot gravatar image makebot  ( 2020-01-13 04:57:36 -0600 )edit

agreed. any link to more detail would be appreciated. Trying to do the same.

lukedekker gravatar image lukedekker  ( 2020-12-02 12:48:31 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2018-09-15 06:43:24 -0600

Seen: 1,114 times

Last updated: Sep 21 '18