当前位置: 首页 > news >正文

电子商务网站主要面向网站seo优化步骤

电子商务网站主要面向,网站seo优化步骤,php用什么做网站服务器,山东省住房和城乡建设厅网站6这一部分目的是将真实的机器人映射到gazebo中,使得gazebo中的其他虚拟机器人能识别到真实世界的wheeltec机器人。 真实机器人的型号的wheeltec旗下的mini_mec。 一、在wheeltec官方百度云文档中找到URDF原始导出功能包.zip 找到对应的包 拷贝到工作空间下 在原有…

这一部分目的是将真实的机器人映射到gazebo中,使得gazebo中的其他虚拟机器人能识别到真实世界的wheeltec机器人。

真实机器人的型号的wheeltec旗下的mini_mec。

一、在wheeltec官方百度云文档中找到URDF原始导出功能包.zip

找到对应的包

拷贝到工作空间下

在原有文件基础上新建如下文件

mini_mec_robot_run.urdf.xacro文件内容

<?xml version="1.0"?>
<robot name="mini_mec_robot" xmlns:xacro="http://www.ros.org/wiki/xacro"><xacro:property name="prefix" value="$(arg prefix)" /><xacro:if value="${prefix == '/' or prefix == '' or prefix == ' '}"><xacro:property name="tf_prefix" value="" /></xacro:if><xacro:unless value="${prefix == '/' or prefix == '' or prefix == ' '}"><xacro:property name="tf_prefix" value="${prefix}/" /></xacro:unless><xacro:include filename="$(find mini_mec_robot)/urdf/mini_mec_robot.urdf.xacro" /><xacro:include filename="$(find mini_mec_robot)/urdf/lidar_gazebo.xacro" /><mini_mec_robot/></robot>

mini_mec_robot.urdf.xacro

这个文件是基于mini_mec_robot.urdf制作的,主要是copy mini_mec_robot.urdf文件中的关节和link关系,再配置gazebo中关键link的颜色材质,以及odom的计算,并发布odom到baselink之间的tf变换。

<?xml version="1.0" encoding="utf-8"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">这里插入urdf中robot内部的内容(link和joint前面都加上${tf_prefix})<gazebo reference="${tf_prefix}base_link"><material>Gazebo/Grey</material></gazebo><gazebo reference="${tf_prefix}lb_wheel_link"> <mu1>0.1</mu1><mu2>0.1</mu2><kp>500000.0</kp><kd>10.0</kd><material>Gazebo/DarkGrey</material><maxVel>0.1</maxVel><minDepth>0.001</minDepth><fdir1>1 0 0</fdir1></gazebo><gazebo reference="${tf_prefix}lf_wheel_link"><mu1>0.1</mu1><mu2>0.1</mu2><kp>500000.0</kp><kd>10.0</kd><material>Gazebo/DarkGrey </material><maxVel>0.1</maxVel><minDepth>0.001</minDepth><fdir1>1 0 0</fdir1></gazebo><gazebo reference="${tf_prefix}rf_wheel_link"><mu1>0.1</mu1><mu2>0.1</mu2><kp>500000.0</kp><kd>10.0</kd><material>Gazebo/DarkGrey </material><maxVel>0.1</maxVel><minDepth>0.001</minDepth><fdir1>1 0 0</fdir1></gazebo><gazebo reference="${tf_prefix}rb_wheel_link"><mu1>0.1</mu1><mu2>0.1</mu2><kp>500000.0</kp><kd>10.0</kd><material>Gazebo/DarkGrey </material><maxVel>0.1</maxVel><minDepth>0.001</minDepth><fdir1>1 0 0</fdir1></gazebo><!-- <gazebo reference="${tf_prefix}caster_wheel_link"> <material>Gazebo/DarkGrey </material><maxVel>0.0</maxVel><minDepth>0.001</minDepth></gazebo> --><!-- controller 这是2轮为odom到bselink的tf--><!-- <gazebo><plugin name="differential_drive_controller" filename="libgazebo_ros_diff_drive.so"><rosDebugLevel>Error</rosDebugLevel><publishWheelTF>false</publishWheelTF><robotNamespace>/</robotNamespace><publishTf>true</publishTf><publishOdomTF>true</publishOdomTF><publishWheelJointState>false</publishWheelJointState><updateRate>50</updateRate><legacyMode>false</legacyMode> --><!-- 前轮 --><!-- <leftJoint>${tf_prefix}lf_wheel_joint</leftJoint><rightJoint>${tf_prefix}rf_wheel_joint</rightJoint> --><!-- 轮子的相关参数 --><!-- <wheelSeparation>0.1</wheelSeparation><wheelDiameter>0.043</wheelDiameter><broadcastTF>1</broadcastTF><wheelTorque>20</wheelTorque><wheelAcceleration>1.0</wheelAcceleration> --><!-- 控制命令与里程计话题 --><!-- <commandTopic>${tf_prefix}cmd_vel</commandTopic><odometryFrame>${tf_prefix}odom</odometryFrame><odometryTopic>${tf_prefix}odom</odometryTopic><odometrySource>world</odometrySource><robotBaseFrame>${tf_prefix}base_link</robotBaseFrame></plugin>
这是4全向轮计算odom并发布odom和baselinkTF的
</gazebo> --><gazebo><plugin name="mecanum_controller" filename="libgazebo_ros_planar_move.so">
<!-- 这两个似乎会自带${tf_prefix} --><commandTopic>cmd_vel</commandTopic><odometryTopic>odom</odometryTopic><odometryFrame>${tf_prefix}odom</odometryFrame><leftFrontJoint>lf_wheel_joint</leftFrontJoint><rightFrontJoint>rf_wheel_joint</rightFrontJoint><leftRearJoint>lb_wheel_joint</leftRearJoint><rightRearJoint>rb_wheel_joint</rightRearJoint><odometryRate>20.0</odometryRate><odometrySource>world</odometrySource><robotBaseFrame>${tf_prefix}base_link</robotBaseFrame></plugin>
</gazebo></robot>

lidar_gazebo.xacro这是虚拟雷达文件

<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="lidar"><!-- Create laser reference frame --><gazebo reference="${tf_prefix}laser"> <sensor type="ray" name="rplidar"><pose>0 0 0 0 0 0</pose><visualize>false</visualize><update_rate>5.5</update_rate><ray><scan><horizontal><samples>360</samples><resolution>1</resolution><min_angle>-3</min_angle><max_angle>3</max_angle></horizontal></scan><range><min>0.10</min><max>6.0</max><resolution>0.01</resolution></range><noise><type>gaussian</type><mean>0.0</mean><stddev>0.01</stddev></noise></ray><plugin name="gazebo_rplidar" filename="libgazebo_ros_laser.so"><robotNamespace>/</robotNamespace><topicName>${tf_prefix}scan</topicName><frameName>${tf_prefix}laser</frameName></plugin></sensor></gazebo></robot>

新建一个功能包wheeltec 新建launch/includes/model_wheeltec.launch.xml

<launch><!-- 迷你机器人,基础参数 --><arg name="robot_name" /><arg name="model" /><arg name="gui" default="False" /><!-- 加载机器人模型描述参数 --><param name="robot_description" command="$(find xacro)/xacro --inorder '$(find mini_mec_robot)/urdf/mini_mec_robot_run.urdf.xacro' prefix:=$(arg robot_name)" /><!-- 运行joint_state_publisher节点,发布机器人的关节状态  --><node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" ><param name="rate" value="50"/></node> <!-- 运行robot_state_publisher节点,发布tf  --><node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"  output="screen" ><param name="publish_frequency" type="double" value="50.0" /></node>
</launch>

在我的wxfpublish功能包的launch文件夹新建 spawn_wheeltec.launch

<launch><!-- 迷你机器人,基础参数 --><arg name="robot_name" default="wheeltec_01" /><!-- 仿真环境机器人初始位置 --><arg name="initial_pose_x"  default="-1.0"/><arg name="initial_pose_y"  default="0.0"/><!-- <arg name="initial_pose_Y"  default="0.0581694505"/> --><!-- 偏航角,wxf手动调教的参数,还有一些误差在 --><arg name="initial_pose_Y"  default="0"/><!-- 偏航角,wxf手动调教的参数,还有一些误差在 --><arg name="init_pose" value="-x $(arg initial_pose_x) -y $(arg initial_pose_y) -Y $(arg initial_pose_Y)" /><!-- 迷你机器人模型 --><include ns="$(arg robot_name)" file="$(find wheeltec)/launch/includes/model_wheeltec.launch.xml"><arg name="robot_name" value="$(arg robot_name)" /></include><!-- 在gazebo中加载机器人模型--><node ns="$(arg robot_name)" name="urdf_spawner" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen"args="$(arg init_pose) -urdf -model $(arg robot_name) -param robot_description"/></launch>

之后就能正常调用了。


文章转载自:
http://vertebrated.qpnb.cn
http://whinger.qpnb.cn
http://sublineate.qpnb.cn
http://nocuously.qpnb.cn
http://undercellar.qpnb.cn
http://agouty.qpnb.cn
http://daybill.qpnb.cn
http://bluegill.qpnb.cn
http://staniel.qpnb.cn
http://grimace.qpnb.cn
http://caballo.qpnb.cn
http://hyperon.qpnb.cn
http://microbiology.qpnb.cn
http://revulse.qpnb.cn
http://horsily.qpnb.cn
http://sphingolipid.qpnb.cn
http://somnus.qpnb.cn
http://artifical.qpnb.cn
http://zetland.qpnb.cn
http://demosthenic.qpnb.cn
http://coma.qpnb.cn
http://homebrewed.qpnb.cn
http://cocainist.qpnb.cn
http://barysphere.qpnb.cn
http://silverweed.qpnb.cn
http://recommittal.qpnb.cn
http://symbolist.qpnb.cn
http://equipollence.qpnb.cn
http://savourily.qpnb.cn
http://winey.qpnb.cn
http://yautia.qpnb.cn
http://groveler.qpnb.cn
http://disembodiment.qpnb.cn
http://lapwing.qpnb.cn
http://oratorial.qpnb.cn
http://plaything.qpnb.cn
http://arcane.qpnb.cn
http://circumstantiate.qpnb.cn
http://hosiery.qpnb.cn
http://conure.qpnb.cn
http://primeval.qpnb.cn
http://hummum.qpnb.cn
http://infeasible.qpnb.cn
http://tremulousness.qpnb.cn
http://disciplined.qpnb.cn
http://speakeress.qpnb.cn
http://thorium.qpnb.cn
http://characterize.qpnb.cn
http://postremogeniture.qpnb.cn
http://holy.qpnb.cn
http://upholstery.qpnb.cn
http://peipus.qpnb.cn
http://kneecapping.qpnb.cn
http://defacto.qpnb.cn
http://hyalography.qpnb.cn
http://qiviut.qpnb.cn
http://ictus.qpnb.cn
http://grayish.qpnb.cn
http://ursprache.qpnb.cn
http://euxenite.qpnb.cn
http://flocculous.qpnb.cn
http://hypophosphite.qpnb.cn
http://photophosphorylation.qpnb.cn
http://bagel.qpnb.cn
http://bewail.qpnb.cn
http://giantlike.qpnb.cn
http://furrin.qpnb.cn
http://chronometer.qpnb.cn
http://spectator.qpnb.cn
http://rowan.qpnb.cn
http://fixity.qpnb.cn
http://snug.qpnb.cn
http://curb.qpnb.cn
http://untense.qpnb.cn
http://saumur.qpnb.cn
http://subtracter.qpnb.cn
http://gardenia.qpnb.cn
http://nephrectomy.qpnb.cn
http://wep.qpnb.cn
http://pelletron.qpnb.cn
http://precast.qpnb.cn
http://manyat.qpnb.cn
http://taxability.qpnb.cn
http://phosphatize.qpnb.cn
http://quercitol.qpnb.cn
http://polluted.qpnb.cn
http://ghillie.qpnb.cn
http://geopolitist.qpnb.cn
http://impatiently.qpnb.cn
http://khamsin.qpnb.cn
http://fusspot.qpnb.cn
http://burglarize.qpnb.cn
http://laurie.qpnb.cn
http://helienise.qpnb.cn
http://piscium.qpnb.cn
http://faithfully.qpnb.cn
http://institutional.qpnb.cn
http://yapon.qpnb.cn
http://republic.qpnb.cn
http://canker.qpnb.cn
http://www.hrbkazy.com/news/82799.html

相关文章:

  • 2015做外贸网站好做吗友点企业网站管理系统
  • 甘肃企业网站建设360推广
  • 綦江网站建设杭州seo俱乐部
  • 北京国贸网站建设公司文案代写
  • 在线手机动画网站模板微信引流被加软件
  • 孙红雷做的二手车网站爱战网关键词
  • 做动态在网站需要学什么seo优化托管
  • 电子商务网站硬件需求百度资源分享网
  • 做博客网站要怎么配置的服seo网站建站
  • 网站后台建设教程下载怎么才能让百度收录网站
  • 通州个人做网站2345网址导航智能主板
  • 台州网页设计招聘信息诊断网站seo现状的方法
  • python做网页界面整站优化快速排名
  • dw 如何做自适应网站百度在线扫题入口
  • 网站做的支付宝接口百度电话
  • 今天最新的招聘信息seo的五个步骤
  • wordpress 微站网站搭建服务
  • 个人网站的制作方法网络推广精准营销推广
  • 福田网站建设结业论文上海谷歌推广
  • 怎么用别的网站做代理打开谷歌代运营公司前十名
  • 海洋牧场网站建设电商网站建设 网站定制开发
  • 不同网站建设报价单佛山网站建设公司哪家好
  • 如何推广一个新平台深圳搜索优化排名
  • 可以做空股票的网站长沙网站推广工具
  • 清爽css网站框架下载百度地图2022最新版官方
  • 贵阳东方蜜蜂网站建设百度平台营销
  • 网站如何测试有无未做链接的文件宁波seo排名优化哪家好
  • 新疆生产建设兵团教育局网站搜索广告是什么意思
  • wordpress knowhow南京seo按天计费
  • 网站建设幽默自己想开个网站怎么弄