ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2023-01-23 11:10:14 -0500 | received badge | ● Taxonomist |
2021-06-14 03:41:18 -0500 | received badge | ● Famous Question (source) |
2021-02-10 08:56:11 -0500 | received badge | ● Notable Question (source) |
2021-01-03 19:17:42 -0500 | commented answer | ROS2 Flask Threading issue assert_liveliness is a method that Node objects have. Since MyNode inherits from it, I use it there. |
2020-12-28 09:37:49 -0500 | marked best answer | colcon python package build error with rust extension Info: ROS 2 Version: Foxy OS: macOS Big Sur Python: 3.9 colcon_python_setup_py: 0.2.7 I have been looking for ways to get some rust-based code to play nicely with a bunch of python-based ROS 2 code. Given that the last I checked, official ROS2 bindings were not quite working for rust, I thought I might be able to wrap up the rust code (which is really standalone) I had into a single module, and then create bindings for it with PyO3. That way, after building, I could simply import the rust library within python and use ROS 2 at that point. I created a super-simple test package.
I have gotten it to work when For ease, here is the However, when I execute (more) |
2020-12-18 15:18:37 -0500 | received badge | ● Popular Question (source) |
2020-12-15 15:11:58 -0500 | received badge | ● Organizer (source) |
2020-12-15 15:11:21 -0500 | edited question | colcon python package build error with rust extension colcon python package build error with rust extension Info: ROS 2 Version: Foxy OS: macOS Big Sur Python: 3.9 colcon |
2020-12-15 15:11:01 -0500 | edited question | colcon python package build error with rust extension colcon python package build error with rust extension Info: ROS 2 Version: Foxy OS: macOS Big Sur Python: 3.9 colcon_py |
2020-12-15 15:03:30 -0500 | asked a question | colcon python package build error with rust extension colcon python package build error with rust extension Info: [OS] macOS Big Sur [Python] 3.9 I have been looking for wa |
2020-07-18 01:38:34 -0500 | received badge | ● Teacher (source) |
2020-07-18 01:38:34 -0500 | received badge | ● Self-Learner (source) |
2020-06-22 12:14:16 -0500 | received badge | ● Famous Question (source) |
2020-03-06 01:07:05 -0500 | marked best answer | ROS2 Flask Threading issue Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. This node needs to have a thread or timer-based process running (which handles a socket broadcast). The issue I am running into is that when I create a ROS2 timer, it seems that it never executes, and when I use a python thread, it seems to block the main process. The minimal code samples are below: ROS2 Timer: Python Thread: Thanks for the suggestions, and I will try out those changes. I should share the original code I had, which is the following: In this version, it seems that the socket.io thread fails to do any sort of broadcasting/emitting, which was why I tried restructuring in the ways above. I should also say that in this example, using |
2020-03-05 19:47:28 -0500 | commented answer | ROS2 Flask Threading issue The flask app was being executed as a thread within the MyNode __init__ function. The actual issue was that there was an |
2020-03-05 19:44:35 -0500 | answered a question | ROS2 Flask Threading issue This turned out to be a bit of a fun puzzle to get ROS2 and Eventlet working together. In the end, the solution makes a |
2020-03-05 19:30:18 -0500 | edited question | ROS2 Flask Threading issue ROS2 Flask Threading issue Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. Thi |
2020-03-05 16:21:38 -0500 | received badge | ● Notable Question (source) |
2020-02-28 15:22:27 -0500 | received badge | ● Popular Question (source) |
2020-02-28 09:53:24 -0500 | received badge | ● Enthusiast |
2020-02-27 14:48:21 -0500 | edited question | ROS2 Flask Threading issue ROS2 Flask Threading issue Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. Thi |
2020-02-27 14:48:21 -0500 | received badge | ● Editor (source) |
2020-02-27 12:59:01 -0500 | marked best answer | ROSLIB.Param.get() callback not executing Hey all, Not sure if something is broken, or if I am doing something wrong. I have started the bridge, and got to the point where when I load the page: Result:
However, I have some parameters already on the server under the namespace Result:
No errors, but no printing of my info. I also verified that I am able to use the set command, and these parameters get set and are visible when running I also tried with ros.getParams, but that didn't work either. Am I doing something incorrectly? Also, using ros-kinetic, if that helps. |
2020-02-27 12:59:01 -0500 | received badge | ● Scholar (source) |
2020-02-27 12:57:17 -0500 | asked a question | ROS2 Flask Threading issue ROS2 Flask Threading issue Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. Thi |
2020-02-27 12:55:16 -0500 | asked a question | ROS2 Flask Threading issue ROS2 Flask Threading issue Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. Thi |
2020-02-27 12:55:15 -0500 | asked a question | ROS2 Flask Threading blocked ROS2 Flask Threading blocked Hi all, I am trying to set up a ROS2 rclpy node that functions as a Flask socket server. T |
2019-09-23 11:12:17 -0500 | received badge | ● Famous Question (source) |
2019-04-08 13:45:14 -0500 | received badge | ● Famous Question (source) |
2018-11-07 15:07:52 -0500 | received badge | ● Notable Question (source) |
2018-11-07 13:02:37 -0500 | received badge | ● Student (source) |
2018-11-07 13:02:22 -0500 | received badge | ● Popular Question (source) |
2018-09-23 18:38:17 -0500 | received badge | ● Notable Question (source) |
2018-09-22 22:18:51 -0500 | received badge | ● Popular Question (source) |
2018-09-22 19:20:51 -0500 | asked a question | Warning: error when crawling, Input/output error Warning: error when crawling, Input/output error Hey all, I am getting an interesting error with ROS Kinetic 1.12.14, |
2018-07-16 11:58:01 -0500 | edited question | ROSLIB.Param.get() callback not executing ROSLIB.Param.get() callback not executing Hey all, Not sure if something is broken, or if I am doing something wrong. |
2018-07-16 11:21:16 -0500 | asked a question | ROSLIB.Param.get() callback not executing ROSLIB.Param.get() callback not executing Hey all, Not sure if something is broken, or if I am doing something wrong. |