ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-08-26 13:47:10 -0500 | received badge | ● Famous Question (source) |
2020-02-18 01:53:31 -0500 | received badge | ● Famous Question (source) |
2019-09-27 03:44:12 -0500 | received badge | ● Famous Question (source) |
2019-07-02 02:10:11 -0500 | received badge | ● Civic Duty (source) |
2019-05-20 01:52:04 -0500 | marked best answer | Structure a ROS node for easily testing Since I've started using ROS few years ago, I used to simplify my life with basic templates like the following: where everything is started in the Now, that I've started to gamble on the Google Testing/Mocking Framework for my projects, things are getting complicated. I know that I have to test first the core libraries using only What is the best way to strucutre a ROS node to easily test it properly? I could set a new public method EDIT: further thoughts...
I'm a bit frustrated... I mean, testing should help, not be the trouble. Anyway, if you have any suggestion I'm all ears! |
2019-03-12 03:34:19 -0500 | commented question | Ethercat interface to elmo motor controllers You are great! I had few delays in the project so it is perfectly on time :D And, as you said, the PDO mappings were the |
2019-02-03 21:06:04 -0500 | received badge | ● Favorite Question (source) |
2018-11-29 06:47:50 -0500 | edited question | JetBrains CLion IDE setup for ROS JetBrains CLion IDE setup for ROS I've downloaded it a couple of days ago, but I still have not figure out how to config |
2018-11-21 03:43:01 -0500 | commented question | Ethercat interface to elmo motor controllers @mgruhler thanks for the feedback! I've not started to work on it yet, but I'll try with SOEM then and I'll let you know |
2018-11-16 10:13:13 -0500 | received badge | ● Notable Question (source) |
2018-11-16 10:13:13 -0500 | received badge | ● Popular Question (source) |
2018-10-23 10:14:30 -0500 | commented question | Ethercat interface to elmo motor controllers @mgruhler have you come up with something shareable? I have got an Elmo DC Whistle too and I'll need to integrate it in |
2018-03-28 04:05:30 -0500 | commented question | yaml substitution If you are still interested, have a look at https://github.com/ros/ros_comm/pull/1354. |
2018-03-02 01:55:43 -0500 | received badge | ● Great Question (source) |
2018-02-28 20:14:56 -0500 | marked best answer | Recursive mimic joint? It seems that the The problem is addressable to the clear distinction between free and dependent joints, i.e. if a joint is dependent, it cannot be taken as reference for anyone else. I see that this is not a real problem as I can mimic the base joint with the proper reduction multiplier. Nonetheless it becomes annoying with a long chain and it also could be not very intuitive at first glance. I think that the best solution is to implement this workaround without creating an extra I also think that I'm going to create a pull request in the following days, have you got any suggestions? EDIT: Here is (possible?) simple modification of the part of interest: @David Lu, do you think it could work? |
2018-02-28 20:14:47 -0500 | received badge | ● Notable Question (source) |
2018-02-28 20:14:47 -0500 | received badge | ● Famous Question (source) |
2018-01-16 23:48:14 -0500 | received badge | ● Good Question (source) |
2017-10-25 06:46:23 -0500 | received badge | ● Great Question (source) |
2017-09-28 14:47:16 -0500 | received badge | ● Good Question (source) |
2017-09-13 19:37:54 -0500 | marked best answer | The Good (C++11/14), the Bad (CMAKE_CXX_FLAGS) and the Ugly (cmake) I have tried to find an updated answer with the best practices when dealing with ROS and C++11/14, but everything is messy or out of date... 0 - Setting the C++ standard directly [DEPRECATED]I know that the quicker way to enable C++11/14 is to add in the even with all the possible checks (see the many answers on SO or this one).
Nonetheless it is written everywhere - apparently not enough though - NOT to set So I have searched a bit more to find some updated guidelines for cmake and C++11/14 like the followings: [1], [2], [3], [4]. It comes out that since 1 - Setting the C++ standard directlyThe standard C++11/14 can be specified directly and the Otherwise the 2 - Setting the C++ standard based on featuresIf a finer tuning or a higher control is required, the right C++ standard can be set from the features which are really used in the code. This is surely more accurate, but it requires time to be properly set (lots of features) and can be fragile if not supported correctly over time. NoteIn every docs regarding ROS you always find The current version of cmake shipped with Ubuntu 16.04 and ROS Kinetic (both LTS, and hoping the new standard for at least a couple of years) is the The question is: what is ROS waiting for to increase the minimum requirements to at least |
2017-08-02 07:39:49 -0500 | received badge | ● Good Question (source) |
2017-06-20 03:19:07 -0500 | commented answer | Possible to use git submodules for bloom? I've bumped into the same problem and I think the behavior is still the same as three years ago. @Sebastian Kasperski, h |
2017-06-18 15:32:28 -0500 | marked best answer | JetBrains CLion IDE setup for ROS I've downloaded it a couple of days ago, but I still have not figure out how to configure it correctly to work with ROS. If I import a simple ROS project it gives me the following error, but I can compile (and run) it from the terminal: I'd like to know where to properly set these environmental variables and how can I get the equivalent of Thanks in advance! EDIT 29.11.2018After more than three years, thanks to this post and to a couple of similar ones, JetBrains has published an official guide for CLion 2018.3 (which is fine also for previous versions). You can find it here: https://www.jetbrains.com/help/clion/... |
2017-06-18 15:32:26 -0500 | received badge | ● Nice Question (source) |
2017-05-30 00:16:20 -0500 | received badge | ● Favorite Question (source) |
2017-05-18 15:23:31 -0500 | received badge | ● Notable Question (source) |
2017-05-17 23:46:00 -0500 | received badge | ● Famous Question (source) |
2017-05-15 16:31:47 -0500 | received badge | ● Nice Question (source) |
2017-05-12 02:31:25 -0500 | commented question | Several ROS nodes through a single serial port The two main approaches described in the comments above are both valid. For my specific application I've chosen to creat |
2017-05-11 10:56:53 -0500 | received badge | ● Popular Question (source) |
2017-05-11 10:56:53 -0500 | received badge | ● Notable Question (source) |
2017-03-08 10:39:42 -0500 | received badge | ● Nice Answer (source) |
2017-02-15 09:28:08 -0500 | asked a question | Strange behavior of xacro namespaced include Hi all, I don't know if it is a bug or the default behavior, but I was using the _namespaced include_ for the first time and I am a bit confused. I have done something like the following to avoid name clashes: However it turns out that the name clashes still exist: where The only workaround that I found is to add the namespace inside _my_macros_1.xacro_ (using Where is my mistake? |
2017-02-06 08:27:13 -0500 | edited answer | Catkin Doesn't Play Nice With Google Mock Based on @otamachan answer, this is my working configuration on Ubuntu 16.04 with ROS Kinetic, gtest ( It seems that the problem has been simplified since gmock does not include gtest anymore. EDIT: as shown in the launchpad, the EDIT2: added a simple check to avoid multiple |
2017-02-02 10:07:17 -0500 | commented question | Several ROS nodes through a single serial port I know that I've been a bit slow on the uptake, but I got it. Thank you very much, you are great! |
2017-02-02 09:21:05 -0500 | commented question | Several ROS nodes through a single serial port And - if I understand correctly - if I decide to switch to plugin approach, I'll use it "forever". Could this be a problem in some circumstances? Sorry if I'm boring you, but it's a remarkable restyle and I just want to be sure that it won't be useless. |
2017-02-02 09:10:11 -0500 | commented question | Several ROS nodes through a single serial port Why should I use something which behave like |
2017-02-02 07:33:46 -0500 | commented question | Several ROS nodes through a single serial port Thank you for helping me once again! I was just reading about |
2017-02-02 04:40:38 -0500 | asked a question | Several ROS nodes through a single serial port Suppose that I have some devices which can be assembled as a chain and which communicate with a single serial port (each device has its own unique id and a proper firmware). These devices can be also very different from each other, both in shapes and functionalities, but share the same hardware (i.e. the same low level API can be used for all of them). Now you are a forward-looking programmer and you know that what you are developing for a specific purpose will be used for many other projects. You prefer modularity rather than the one-size-fits-all approach. And you also like ROS. Suppose you develop a base interface to wrap the low level API and implement on top of it the specific device classes. Now, because of the multi-device environment, it is desirable to avoid putting everything inside a single ROS node, in favour of a modular and easily customizable one-node-for-one-device approach (i.e. using ad-hoc launch files for distinct configurations). Everything is fine. Everything but the managemant of the serial communication from distinct nodes. Indeed ROS is a multi-process environment and distinct processes do not share resources each other: the file descriptor of the single serial port cannot be shared. Actually the
|
2017-02-01 16:53:02 -0500 | commented answer | Catkin Doesn't Play Nice With Google Mock @roboticom314 with Xenial you would be fine: it is not a matter of ROS version. However, @joq is right. |
2017-02-01 14:48:28 -0500 | received badge | ● Necromancer (source) |
2017-02-01 14:48:28 -0500 | received badge | ● Teacher (source) |
2017-01-24 15:35:18 -0500 | commented answer | Catkin Doesn't Play Nice With Google Mock @Dirk Thomas sorry for the typo, it's obviously that way - as shown in the other answer. Edited, thank you! |