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

dyan's profile - activity

2019-10-21 18:54:53 -0500 received badge  Famous Question (source)
2019-07-09 01:26:01 -0500 received badge  Famous Question (source)
2019-07-09 01:26:01 -0500 received badge  Notable Question (source)
2019-03-01 12:45:07 -0500 marked best answer how to change wireless network when start robot with reboot machine?

I want to change wireless network dynamically.I use robot_upstart package to automatically start the robot launch file when reboot machine. Before I want to change wireless network with command linenmcli device wifi connect <SSID> password <PASSWORD> everything is good.I have tried subprocess,envoy and os.system in my python scripts,they are work well with roslaunch,but they are all not work with the service generated by robot_upstart.But I have tried manually write the scripts into service file,it can change wireless network.Is there something wrong with nmcli and robot_upstart?

2019-03-01 12:42:21 -0500 received badge  Notable Question (source)
2019-03-01 12:42:21 -0500 received badge  Popular Question (source)
2018-10-05 02:03:51 -0500 received badge  Famous Question (source)
2018-05-24 04:08:11 -0500 received badge  Famous Question (source)
2018-02-07 09:31:14 -0500 received badge  Popular Question (source)
2018-01-25 20:42:40 -0500 asked a question how to change wireless network when start robot with reboot machine?

how to change wireless network when start robot with reboot machine? I want to change wireless network dynamically.I use

2017-12-28 20:17:16 -0500 asked a question clear_costmap_recovery

clear_costmap_recovery I want to know why this recovery_behavoir aggressive_reset distance is 4*circumscribed_radius? I

2017-11-30 21:08:55 -0500 marked best answer Can I change parameter of plugins in yaml

I have installed range_sensor_layer for local_costmap. in the local_costmap_param.yaml:

local_costmap:
  global_frame: /odom
  robot_base_frame: /base_footprint
  update_frequency: 3.0
  publish_frequency: 1.0
  static_map: false
  rolling_window: true
  width: 6.0
  height: 6.0
  resolution: 0.05
  transform_tolerance: 1.0
  map_type: costmap
  plugins:
     - {name: sonar,   type: "range_sensor_layer::RangeSensorLayer"}

the range_sensor_layer has some parameters,is it possible to change them in this yaml?


I found some code in costmap_2d_ros.cpp line 114:

if (private_nh.hasParam("plugins"))
{
  XmlRpc::XmlRpcValue my_list;
  private_nh.getParam("plugins", my_list);
  for (int32_t i = 0; i < my_list.size(); ++i)
  {
    std::string pname = static_cast<std::string>(my_list[i]["name"]);
    std::string type = static_cast<std::string>(my_list[i]["type"]);
    ROS_INFO("Using plugin \"%s\"", pname.c_str());

    boost::shared_ptr<Layer> plugin = plugin_loader_.createInstance(type);
    layered_costmap_->addPlugin(plugin);
    plugin->initialize(layered_costmap_, name + "/" + pname, &tf_);
  }
}

It looks like should be:

......
plugins:
     - {name: sonar,   type: "range_sensor_layer::RangeSensorLayer"}
sonar:
     ......
     ......

but my sonar on the way,I cannot test this.

2017-11-30 18:12:12 -0500 received badge  Notable Question (source)
2017-11-30 02:51:33 -0500 commented question Can I change parameter of plugins in yaml

@mig: thanks for confirm

2017-11-25 08:25:04 -0500 received badge  Popular Question (source)
2017-11-25 02:52:07 -0500 commented answer When working with amcl why does the robot try to move closer to the wall in an open area rather than navigating more towards the goal?

smaller the local_costmap width and height should be help to this,if it is odom or wheel deviation.And up pdist_scale ma

2017-11-25 02:15:11 -0500 edited question Can I change parameter of plugins in yaml

Can I change parameter of plugins in yaml I have installed range_sensor_layer for local_costmap. in the local_costmap_pa

2017-11-23 03:21:11 -0500 asked a question Can I change parameter of plugins in yaml

Can I change parameter of plugins in yaml I have installed range_sensor_layer for local_costmap. in the local_costmap_pa

2017-09-05 20:57:41 -0500 received badge  Notable Question (source)
2017-06-08 02:25:36 -0500 received badge  Famous Question (source)
2017-04-28 04:29:05 -0500 received badge  Notable Question (source)
2017-03-22 02:53:57 -0500 received badge  Enthusiast
2017-03-17 08:38:23 -0500 received badge  Popular Question (source)
2017-03-17 02:40:38 -0500 asked a question is rospy.Publisher.publish() thread safe?

Want to publish() in main and also in child thread on one rospy.Publisher(),is this safe?

2017-03-17 00:58:22 -0500 received badge  Popular Question (source)
2017-03-16 20:49:04 -0500 received badge  Scholar (source)
2017-03-16 05:01:15 -0500 asked a question how to close subscriber

After rospy.Subscriber(),after a period of time or after an event this may no longer need,how to close this subscriber

2017-03-15 08:07:38 -0500 received badge  Supporter (source)