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

Question about lwIP stack on stm32 using bosch-ros-pkg/stm32

asked 2018-09-01 00:21:45 -0500

ManNeedsHelp gravatar image

I have an STM discovery board I want to use for my project. I've been looking into using this stm32 package it has a lot of scripts using the lwip stack, but offers no real documentation about it.

I've followed the instructions and successfully flashed the discovery board , so if i was to setup a ROS node with TCP client/server communication, would it work? I tried but haven't been successful yet.

edit retag flag offensive close merge delete

Comments

Some expectation management: you're in a pretty deep niche. The intersection between those who use these particular bits of software and those who frequent ROS Answers is probably rather small.

gvdhoorn gravatar image gvdhoorn  ( 2018-09-01 01:52:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-09-01 21:27:53 -0500

ahendrix gravatar image

I'm not terribly familiar with this code, but from reading through the documentation, it looks like it's running a full ROS node on the STM32.

If that's true, all you really need to do is set up a ROS master and set the ROS_MASTER_URI on the STM32, and it should connect to the ROS master and start advertising topics.

I don't see anything obvious in the docs or tutorials about how to set the ROS_MASTER_URI, but it looks like it's hardcoded into the example here: https://github.com/bosch-ros-pkg/stm3... . I would change that to your computer's IP address, make sure you have a roscore running, and then plug it in and see if it connects. If all is working, you should be able to see the node when and its topics when you run rosnode list and rostopic list on your PC.

edit flag offensive delete link more

Comments

thankyou for your help! much appreciated :)

ManNeedsHelp gravatar image ManNeedsHelp  ( 2018-09-09 22:32:29 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-09-01 00:21:45 -0500

Seen: 506 times

Last updated: Sep 01 '18