Comments (12)
I think this feature already exists as rclpy.ok()
Line 55 in 77949d2
Implementation
rclpy/rclpy/rclpy/utilities.py
Lines 49 to 52 in 77949d2
from rclpy.
@EricCousineau-TRI it would be appreciated if you could review #1198
from rclpy.
I can help on this. Do you want to assign this to me?
from rclpy.
Thanks @hemantku
I'm not able to assign you to the ticket, but go ahead and start on it anyways. I would be happy to answer questions you may have if you encounter issues.
from rclpy.
from rclpy.
@sloretz : Is there an reference architecture doc for rclpy just like launch: https://github.com/ros2/launch/blob/master/launch/doc/source/architecture.rst ? For example, How is the state stored in each node, using the lifecycle node? or is it something else
from rclpy.
Is there an reference architecture doc for rclpy just like launch
Not that I know of. There are slides about the architecture leading up to rclpy py starting at slide 30 here: https://roscon.ros.org/2016/presentations/ROSCon%202016%20-%20ROS%202%20Update.pdf
For example, How is the state stored in each node, using the lifecycle node
What kind of state? There is a pycapsule holding a pointer to an rcl_node_t
on node._handle
.
from rclpy.
I would like to help on this @sloretz
from rclpy.
@wjwwood Hello, I'm new to open source and love working with ros. How can I approach this issue?
from rclpy.
Sorry @pr-db, this got lost. If you, or anyone else, wants to work on this...
We need a function to check if rclpy is already initialized or not, or perhaps just a more specific exception being raise. You can see from here:
That we're catching a generic exception and comparing the error string to see if it is the already initialized error, which is very fragile.
from rclpy.
Yeah, I think @sloretz is right - worth closing this issue now?
from rclpy.
Closing this issue as complete
from rclpy.
Related Issues (20)
- CMake Error (Non-existent Path) When Building From Source HOT 4
- Cannot log in ROS2 node after building with cython HOT 6
- ReadtheDocs page is missing a lot of documentation for API. HOT 5
- SIGINT signal on parent not terminated Turtlesim GUI application HOT 1
- ros2 topic HZ option is not predictable for report freq values when using default rmw_fastrtps_cpp rmw implementation HOT 3
- MultiThreadExecutor may throw exception after destroying subscription with non-default callback group
- Failed to send request: cannot publish data HOT 5
- Lifecycle node `Transition is not registered` exception kills node HOT 1
- debian12 humble source build: invalid use of incomplete type ‘PyFrameObject’
- failed to create domain error when spawning many python nodes at once from launch file with cyclonedds HOT 3
- Only hold weak internal reference to callbacks HOT 1
- Opinion: MultiThreadedExecutor should not raise exceptions if the Task's exception was retrieved HOT 3
- xmlrpc.client.Fault: <Fault 1: "<class 'RuntimeError'>:!rclpy.ok()"> HOT 5
- [design question] get_parameter exception choice HOT 5
- Timer hanging and high CPU load when using MultiThreadedExecutor HOT 18
- rclpy._rclpy_pybind11 HOT 1
- Feature Request for MultiProcessExecutor HOT 2
- async wait/sleep implementation HOT 4
- KeyError in ActionServer._execute_goal HOT 5
- [Feature] Static Type Checking With ament_mypy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclpy.