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

wonwon0's profile - activity

2022-11-07 12:07:11 -0500 commented answer ROSLAUNCH ON MATLAB

hello, this answer was made for linux systems. I suspect it can be adapted for windows but i am not sure.

2021-07-15 09:42:56 -0500 received badge  Famous Question (source)
2021-03-15 10:01:00 -0500 received badge  Notable Question (source)
2021-03-15 10:01:00 -0500 received badge  Popular Question (source)
2020-10-06 12:45:03 -0500 asked a question joint trajectory published but not executed

joint trajectory published but not executed Hi, I validated my robot description by sending a joint trajectory message v

2019-11-20 06:23:50 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... @manuelmelvin If you have a matlab script and want to follow the solution i gave to terminate the

2019-11-07 14:05:18 -0500 received badge  Enthusiast
2019-11-06 06:32:11 -0500 edited answer How do you add the path "/usr/local/lib/python2.7/" to your catkin environment?

This is not a direct answer to your question, but more to your initial problem... After sourcing setup.bash, maybe try

2019-11-06 06:32:11 -0500 received badge  Editor (source)
2019-11-06 06:31:25 -0500 answered a question How do you add the path "/usr/local/lib/python2.7/" to your catkin environment?

After sourcing setup.bash, maybe try pip install opencv-python --user

2019-11-06 06:26:58 -0500 answered a question Trajectory Planning Algorithm Python ROS Program

Reffer to https://answers.ros.org/question/107326/publishersubscriber-in-one-python-script/. I think this will help you

2019-11-01 08:12:00 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... @manuelmelvin If you have a matlab script and want to follow the solution i gave to terminate the

2019-11-01 08:10:06 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... @manuelmelvin If you have a matlab script and want to follow the solution i gave to terminate the

2019-11-01 08:09:42 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... If you have a matlab script and want to follow the solution i gave to terminate the process (rosl

2019-11-01 08:09:15 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... If you have a matlab script and want to follow the solution i gave to terminate the process (rosl

2019-11-01 08:07:33 -0500 commented answer ROSLAUNCH ON MATLAB

Sorry for the delay... If you have a matlab script and want to follow the solution i gave to terminate the process (rosl

2019-10-29 10:10:03 -0500 answered a question Send joint position commands from Matlab to RViz

What robot model do you use in RVIZ? If you provide a link to the code that brings up the robot in RVIZ we could help y

2018-05-28 02:06:18 -0500 received badge  Enlightened (source)
2018-05-28 02:06:18 -0500 received badge  Good Answer (source)
2018-05-24 13:01:23 -0500 received badge  Nice Answer (source)
2018-05-24 11:03:21 -0500 edited answer ROSLAUNCH ON MATLAB

I FOUND A WAY! posting the answer here, behold, it may look ugly! The answer lies with the command system(command) in

2018-05-22 14:15:36 -0500 received badge  Necromancer (source)
2018-05-22 14:15:36 -0500 received badge  Teacher (source)
2018-05-22 13:49:11 -0500 answered a question ROSLAUNCH ON MATLAB

I FOUND A WAY! posting the answer here, behold, it may look ugly! The answer lies with the command system(command) in

2018-03-21 19:54:15 -0500 received badge  Famous Question (source)
2018-01-30 12:26:20 -0500 marked best answer republishing a Gazebo topic to a ROS topic

Hi,

I'm currently working on trying to get a gazebo topic into the ROS topic list so I can access it through the matlab interface with ROS.

Right now I managed to create a subscriber to the gazebo topic in question (gazebo/default/physics/contacts) but I can't figure out exactly what type of ROS message it is to allow me to publish it again in ROS.

Here is the code:

import trollius
from trollius import From

import pygazebo
import pygazebo.msg.contacts_pb2
@trollius.coroutine
def publish_loop():
    manager = yield From(pygazebo.connect()) 

    def callback(data):
        message = pygazebo.msg.contacts_pb2.Contacts.FromString(data)
        print(message)

    subscriber = manager.subscribe('/gazebo/default/physics/contacts',
                     'gazebo.msgs.Contacts',
                     callback)

    yield From(subscriber.wait_for_connection())
    while(True):
        yield From(trollius.sleep(1.00))
        print('wait...')
    print(dir(manager))
    import logging

    logging.basicConfig()

    loop = trollius.get_event_loop()
    loop.run_until_complete(publish_loop())

So, my problem could be solved in two ways:

  1. Figuring out a way to find the corresponding essage type in ROS to publish it.
  2. Figuring out a simpler way to do what i want to do.

Currently I'm working on both possibilities but I'm having a hard time...

Thank you for your help!

2018-01-30 12:26:20 -0500 received badge  Scholar (source)
2018-01-30 12:26:18 -0500 received badge  Supporter (source)
2018-01-30 12:15:28 -0500 commented answer republishing a Gazebo topic to a ROS topic

I have implemented a ros package that subscribes to gazebo and publishes a custom message with the wanted info. I use th

2018-01-30 12:14:40 -0500 commented answer republishing a Gazebo topic to a ROS topic

I have implemented a ros package that subscribes to gazebo and publishes a custom message with the wanted info. I use th

2018-01-26 07:46:37 -0500 received badge  Notable Question (source)
2018-01-24 12:08:39 -0500 commented answer republishing a Gazebo topic to a ROS topic

I see what you are talking about. But I actually have some gazebo topics in the ros topics list. The thing is I dont see

2018-01-24 08:20:54 -0500 commented answer republishing a Gazebo topic to a ROS topic

thank you for your answer, I will look into the documentation you provided. I am new to ROS and gazebo so maybe my probl

2018-01-24 07:57:33 -0500 received badge  Popular Question (source)
2018-01-23 15:50:52 -0500 asked a question how to publish a gazebo topic to a ros topic

how to publish a gazebo topic to a ros topic Hi, I'm currently working on trying to get a gazebo topic into the ROS top

2018-01-23 15:50:52 -0500 asked a question republishing a Gazebo topic to a ROS topic

republishing a Gazebo topic to a ROS topic Hi, I'm currently working on trying to get a gazebo topic into the ROS topic