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

porkPy's profile - activity

2022-11-13 10:06:07 -0500 received badge  Taxonomist
2020-11-18 03:29:43 -0500 marked best answer How does a ROS node import/export data?

I'm using a Neural Network NN to control a UR5 robot arm. I'm struggling to understand how to exchange information between my ROS network and my neural network. Suppose I'm using ur_modern_driver to read joint_states from the robot, how do I export that data so my NN can use it as an input? Likewise, how do I get a ros node to subscribe to data from the output of my NN which will be the 6d joint commands that need to be plugged into ur_modern_driver/urscript?

I suspect I will need to write my own pubsub node which will interface between ur_modern_driver and my NN but I just can't tell what I should tell the node to pub or sub to. How can a node read/write from/to an external source such as a python script that's being executed, especially when that source is constantly changing? Do I need to edit my script to write the NN output to a specific location, maybe a com port? Can a ros node then listen to that port for incoming data? and vice-versa, for writing to the NN's input?

FYI, I'm not experienced with writing my own ROS nodes or even programming so please be simple. Many thanks.

2019-08-20 02:54:41 -0500 received badge  Famous Question (source)
2019-03-28 09:12:51 -0500 received badge  Famous Question (source)
2019-03-27 07:59:37 -0500 commented answer PR2 rqt_plot has the error TopicCompleter.update_topics(): could not get message class

ROS won't eat unless there's source on everything!

2019-02-25 05:50:09 -0500 received badge  Notable Question (source)
2019-02-25 03:52:43 -0500 commented question How does a ROS node import/export data?

rllab used to have ros utils but these have been removed in the newer 'Garage' version. Also, I could never get the orig

2019-02-25 03:49:47 -0500 commented question How does a ROS node import/export data?

My NN is part of Garage/rllab from Berkeley and has its own deps. if I were to try and recreate it inside ros I know it

2019-02-25 03:45:12 -0500 received badge  Popular Question (source)
2019-02-24 17:28:10 -0500 asked a question How does a ROS node import/export data?

How does a ROS node import/export data? I'm using a Neural Network NN to control a UR5 robot arm. I'm struggling to unde

2019-02-19 16:29:14 -0500 received badge  Supporter (source)
2019-02-19 16:29:09 -0500 marked best answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

I am attempting to control a UR5 robot arm using a neural network controller. With the minimum amount of reconfiguring, to which topic should the joint commands from the neural network be published? The network output will be a tuple of joint movements of +/- 1 degree. How could I test such a publication message using the command line? This is using ROS Kinetic. Thanks, Dom

2019-02-19 16:29:09 -0500 received badge  Scholar (source)
2019-02-18 16:40:29 -0500 received badge  Notable Question (source)
2019-02-18 16:35:21 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

Ok, will do. Thank you for your help.

2019-02-18 08:57:17 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: header: seq: 1 stamp: secs: 1550500372 nsecs

2019-02-18 08:56:45 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: header: seq: 1 stamp: secs: 1550500372 nsecs

2019-02-18 08:55:54 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: header: seq: 1 stamp: secs: 1550500372 nsecs

2019-02-18 08:55:30 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: enter cod header: seq: 1 stamp: secs: 1550500372

2019-02-18 08:54:58 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: header: seq: 1 stamp: secs: 1550500372 nsecs:

2019-02-18 08:54:15 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

If I echo the joint_delta_jog_cmds topic I get an output of: header: seq: 1 stamp: secs: 1550500372 nsecs

2019-02-18 08:51:31 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

Example: $ rostopic pub /jog_arm_server/joint_delta_jog_cmds jog_msgs/JogJoint -1 '{stamp: now, frame_id: base_link}'

2019-02-18 08:50:43 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

Hi gvdhoorn, Thanks for your answer. I have managed to get jog_arm to start publishing to /move_group. I have worked out

2019-02-18 08:49:25 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

Example: $ rostopic pub /jog_arm_server/joint_delta_jog_cmds jog_msgs/JogJoint -1 '{stamp: now, frame_id: base_lin

2019-02-18 08:46:50 -0500 commented answer which rostopic should 3rd part controller publish to, to control a real Universal Robot?

Hi gvdhoorn, Thanks for your answer. I have managed to get jog_arm to start publishing to /move_group. I have worked out

2019-02-18 08:39:36 -0500 received badge  Popular Question (source)
2019-02-15 10:33:14 -0500 received badge  Enthusiast
2019-02-14 11:09:55 -0500 asked a question which rostopic should 3rd part controller publish to, to control a real Universal Robot?

which rostopic should 3rd part controller publish to, to control a real Universal Robot? I am attempting to control a UR

2019-02-07 16:38:55 -0500 commented question UR5 visual servoing

Hey Abdu, Did you ever get this working? I need to have my UR5 adjust its path from external force input and so is prob

2018-12-19 08:58:59 -0500 commented answer How do I get the Robotiq force-torque sensor to work with ROS Kinetic?

@mosslab I am having the very same issue. I have added myself to the dialout and created a udev rules file but nothing

2018-12-19 08:13:54 -0500 answered a question How do I get the Robotiq force-torque sensor to work with ROS Kinetic?

@mosslab I am having the very same issue. I have added myself to the dialout and created a udev rules file but nothing