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

ugluo's profile - activity

2020-06-10 11:01:34 -0500 received badge  Famous Question (source)
2019-12-06 00:59:41 -0500 received badge  Famous Question (source)
2019-11-06 08:30:21 -0500 received badge  Notable Question (source)
2019-11-06 08:30:21 -0500 received badge  Popular Question (source)
2019-10-24 01:33:40 -0500 received badge  Notable Question (source)
2019-08-18 11:41:14 -0500 received badge  Popular Question (source)
2019-08-15 04:23:29 -0500 marked best answer How to connect remote roscore with python in runtime

The following is the implementation using roscpp:

std::map<std::string, std::string=""> remappings;

remappings["__master"] = master_url;

remappings["__hostname"] = host_url;

ros::init(remappings, "node name");

parement "master_url" and "host_url" come from UI

So how to implement using python?

2019-08-15 04:23:29 -0500 received badge  Scholar (source)
2019-08-15 04:18:55 -0500 commented answer How to connect remote roscore with python in runtime

Thank you serserly ,the problem is already solved. i try to use os.putenv os.putenv("ROS_MASTER_URI", "http://192.168.

2019-08-15 02:22:30 -0500 commented answer How to connect remote roscore with python in runtime

Thanks, the function of os.putenv() can't set the environment on my own running python,just like the way "launch termin

2019-08-15 02:22:30 -0500 received badge  Enthusiast
2019-08-14 04:38:44 -0500 commented question How to connect remote roscore with python in runtime

the rospy project come from catkin_create_qt_pkg catkin_create_qt_pkg test_qt the code in 'src/qnode.cpp' lline 57-59

2019-08-14 04:30:18 -0500 commented answer How to connect remote roscore with python in runtime

Thanks I know this solution,but I want to implement it in code like roscpp, the parameters come from the UI I have tried

2019-08-14 03:32:41 -0500 commented question How to connect remote roscore with python in runtime

roscpp: std::map<std::string, std::string=""> remappings; remappings["__master"] = master_url; remappi

2019-08-14 03:28:28 -0500 commented question How to connect remote roscore with python in runtime

I want to connect remote roscore with python, The above code implements the function of connecting to a remote roscore u

2019-08-13 21:42:06 -0500 asked a question How to connect remote roscore with python in runtime

How to connect remote roscore with python in runtime The following is the implementation using roscpp: std::map<std:

2019-06-20 22:58:15 -0500 answered a question how to get the pressure of the models link which touch the ground

I have solved it 1) urdf I add ft_sensor in the foot <xacro:macro name="gazebo_pressure" params="prefix parent num

2019-06-20 22:58:15 -0500 received badge  Rapid Responder (source)
2019-06-20 02:52:52 -0500 commented question how to get the pressure of the models link which touch the ground

python call rosservice to reset_simulation,but the topic publisher nomal pub late about 100 s, what parameters should

2019-06-20 02:44:43 -0500 commented question how to get the pressure of the models link which touch the ground

I add ft_sensor in the foot <xacro:macro name="gazebo_pressure" params="prefix parent num x y z"> <gazebo>

2019-06-20 02:41:56 -0500 commented question how to get the pressure of the models link which touch the ground

I add FT sensor in the foot link <xacro:gazebo_pressure prefix="left" parent="left_m6" num="0" x="-0.03" y="-0.03" z

2019-06-19 02:48:00 -0500 asked a question how to get the pressure of the models link which touch the ground

how to get the pressure of the models link which touch the ground I want to use the 'Darwin' robots from github reposito