Code Monkey home page Code Monkey logo

relay_network_application's People

Contributors

artable-dev avatar idobes avatar kapim avatar klepo avatar zdenekm avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

zdenekm kapim

relay_network_application's Issues

Fix topic name remapping

With the new relay version, the remapping of topic names does not work anymore. It either needs to be configured on the server side or use standard ROS methods to remap the topics.

Poor connection handling

A way to handle a poor connection, with policies that allows to drop old message or queue them.

detection_publisher.py fixes

this fixes must be added for Object Detection with ROS2 Humble and ObjectDetection containers v:0.2.0

need to import:
from rclpy.time import Time

image_callback should apply following changes:

def image_callback(image: Any) -> None:
    global image_buffer
    time2 = Time.from_msg(image.header.stamp)
    time_in_nanosecs=time2.nanoseconds

    image_buffer[time_in_nanosecs] = bridge.imgmsg_to_cv2(image, desired_encoding="bgr8")

    # make memory of images limited
    ts_to_keep = sorted(list(image_buffer.keys()))[-60:]
    image_buffer = {key: value for key, value in image_buffer.items() if key in ts_to_keep}
    

QoS of topics limitation to fixed values

Hello,

We are trying to use the relay for sending a ROS 2 topic of type geometry_msgs/msg/PoseWithCovarianceStamped"}] configured like this in relay:

config server:

export TOPIC_TO_PUB_LIST='[{"topic_name": "/amcl_pose", "topic_type": "geometry_msgs/msg/PoseWithCovarianceStamped"}]'

config client:

export TOPIC_LIST='[{"topic_name": "/amcl_pose", "topic_type": "geometry_msgs/msg/PoseWithCovarianceStamped"}]'

We are getting a different value for the QoS from the client to server.

SEND TO RELAY
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: TRANSIENT_LOCAL
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
Liveliness lease duration: Infinite

RECEIVED IN RELAY
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: VOLATILE
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
Liveliness lease duration: InfiniteSubscription count: 0

Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.