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

anthares's profile - activity

2023-04-11 15:14:23 -0500 received badge  Famous Question (source)
2022-08-25 09:40:54 -0500 received badge  Self-Learner (source)
2022-03-25 08:40:50 -0500 received badge  Notable Question (source)
2022-03-25 08:40:50 -0500 received badge  Popular Question (source)
2022-02-02 03:00:55 -0500 marked best answer audio_common for ROS2

Hi everyone, is there any audio_common equivalent package for ROS2?

Thanks in advance, Cheers, G.

2022-02-02 02:54:55 -0500 received badge  Student (source)
2021-11-08 23:46:29 -0500 received badge  Famous Question (source)
2021-09-02 08:11:15 -0500 received badge  Notable Question (source)
2021-08-14 03:52:44 -0500 commented question Exception while initialising JointGroupVelocityController

@gdvhoorn yes, you are absolutely right. The code throws the exception on: // undeclare interface parameter used in the

2021-08-14 03:52:25 -0500 commented question Exception while initialising JointGroupVelocityController

@gdvhoorn yes, you are absolutely right. The code throws the exception on: // undeclare interface parameter used in the

2021-08-14 03:52:11 -0500 commented question Exception while initialising JointGroupVelocityController

@gdvhoorn yes, you are absolutely right. The code throws the exception on: // undeclare interface parameter used in

2021-08-14 03:31:28 -0500 asked a question Exception while initialising JointGroupVelocityController

Exception while initialising JointGroupVelocityController I am getting this exception while using a JointGroupVelocityCo

2021-07-11 09:25:50 -0500 received badge  Famous Question (source)
2021-05-20 11:05:46 -0500 received badge  Necromancer (source)
2021-05-20 11:05:46 -0500 received badge  Teacher (source)
2021-05-19 08:44:14 -0500 received badge  Notable Question (source)
2021-04-29 08:32:27 -0500 marked best answer ROS2, TypeError when publishing custom message to Topic

Hi everyone,

I have defined a custom message:

uint8[] data

The custom message is imported in my Node class with no problems:

from my_shared.msg import MyMessage

In the same Node, I create the publisher with:

self.my_publisher = self.create_publisher(MyMessage, 'topic_in', 200)

and I publish the message with:

self.my_publisher.publish(my_msg)

my_msg is built in the following way:

payload_bitstream = np.fromstring(my_data, np.uint8)
my_msg = payload_bitstream.tolist()

Sadly, I get a TypeError:

File "/opt/ros/eloquent/lib/python3.6/site-packages/rclpy/publisher.py", line 68, in publish
    raise TypeError()
TypeError

Could you help out with this if you know what I am doing wrong pls?

Thanks in advance, G.

2021-04-19 19:50:15 -0500 received badge  Popular Question (source)
2021-04-17 21:09:01 -0500 received badge  Famous Question (source)
2021-04-17 01:41:11 -0500 answered a question How to publish audio and image stream from a video/webcam

Check this out: https://github.com/BrettRD/ros-gst-bridge

2021-04-07 16:00:28 -0500 received badge  Popular Question (source)
2021-04-03 01:59:20 -0500 asked a question Issues rendering Camera feed with Ros2 Rolling and Gazebo

Issues rendering Camera feed with Ros2 Rolling and Gazebo Hello everyone. I am using this post https://medium.com/crea

2021-03-03 09:14:05 -0500 received badge  Famous Question (source)
2021-01-17 07:40:13 -0500 received badge  Famous Question (source)
2020-12-31 09:59:33 -0500 answered a question Create ROS2 package from shared library (.so) and link it to node

Hi! Have you found a way to properly handle external non-ROS libraries in a ROS2 repository at the end? Thanks, Cheers

2020-12-18 13:26:18 -0500 received badge  Notable Question (source)
2020-12-04 09:08:41 -0500 marked best answer image_transport republish via LaunchDescription and remapping

Hi there,

How can I start image_transport republish via Launch file?

I tried the following:

import launch
import launch.actions
import launch.substitutions
import launch_ros.actions

def generate_launch_description():

    return launch.LaunchDescription([
        launch_ros.actions.Node(package='image_tools', node_executable='cam2image', output='screen', node_name='cam2image'),
        launch_ros.actions.Node(package='image_transport', node_executable='republish', arguments=[ 
                'raw',
                '--ros-args',
                '-r in:=image',
                'raw', 
                '-r out:=/camera/image_raw'
            ],
            output='screen', node_name='republish')
    ])

But from the log I can see that no images are republished:

[INFO] [launch]: All log files can be found below /root/.ros/log/2020-12-03-15-29-26-520456-db7019ece524-5304
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [cam2image-1]: process started with pid [5315]
[INFO] [republish-2]: process started with pid [5316]
[cam2image-1] [INFO] [cam2image]: Publishing image #1
[cam2image-1] [INFO] [cam2image]: Publishing image #2
[cam2image-1] [INFO] [cam2image]: Publishing image #3
[cam2image-1] [INFO] [cam2image]: Publishing image #4
[cam2image-1] [INFO] [cam2image]: Publishing image #5
[cam2image-1] [INFO] [cam2image]: Publishing image #6
[cam2image-1] [INFO] [cam2image]: Publishing image #7
[cam2image-1] [INFO] [cam2image]: Publishing image #8
[cam2image-1] [INFO] [cam2image]: Publishing image #9

What is wrong with my setup? Any idea?

Thanks!

Cheers, Anthares

2020-12-03 10:40:55 -0500 answered a question image_transport republish via LaunchDescription and remapping

I have changed the way that I define the params for image_transport: def generate_launch_description(): return laun

2020-12-03 10:40:55 -0500 received badge  Rapid Responder (source)
2020-12-03 09:32:00 -0500 asked a question image_transport republish via LaunchDescription and remapping

image_transport republish via LaunchDescription and remapping Hi there, How can I start image_transport republish via

2020-12-02 04:20:20 -0500 received badge  Supporter (source)
2020-12-01 08:33:15 -0500 received badge  Popular Question (source)
2020-12-01 01:37:25 -0500 received badge  Notable Question (source)
2020-12-01 01:37:25 -0500 received badge  Popular Question (source)
2020-11-30 12:16:06 -0500 edited question Issues sourcing ROS after building

Issues sourcing ROS after building Hi there, I have built Rolling for ARM using Docker. Everything seems to work find i

2020-11-30 09:34:43 -0500 edited question Issues sourcing ROS after building

Issues sourcing ROS after building Hi there, I have built Rolling for ARM using Docker. Everything seems to work find i

2020-11-30 09:14:01 -0500 asked a question Issues sourcing ROS after building

Issues sourcing ROS after building Hi there, I have built Rolling for ARM using Docker. Everything seems to work find i

2020-11-27 02:54:35 -0500 commented answer Compilling ROS2 on Rasperry Pi

I had the same issues: Colcon failing on BBB when building orocos_kdl and/or some other random packages. I have reduced

2020-11-23 14:54:02 -0500 commented answer How do I access the source of Mimick that mimick_vendor's cmake file references in order to edit Mimick's CMake file to give it arm7l compatability

hey! thanks for your answer. I tried to follow your steps. mimick_vendor builds with no issue on a BeagleBone Blue too.

2020-11-05 15:33:13 -0500 received badge  Popular Question (source)
2020-10-09 08:54:01 -0500 received badge  Notable Question (source)
2020-10-09 08:54:01 -0500 received badge  Popular Question (source)
2020-08-24 07:30:49 -0500 received badge  Famous Question (source)
2020-08-08 15:13:12 -0500 received badge  Famous Question (source)
2020-07-21 11:19:48 -0500 received badge  Notable Question (source)
2020-07-20 05:49:06 -0500 received badge  Notable Question (source)
2020-06-24 02:38:00 -0500 answered a question Configure launch file in ROS2 Dashing with RVIZ2

Hi. Out of curiosity, have you found a solution to this? I am working with Foxy and adding manually the required pac