The tag of<o:p> and the <?xml:namespace prefix = o /> in the html

本文介绍如何在不保留微软格式标签的情况下,将Word或Outlook邮件中的文本直接复制到网页编辑器中。提供了一种通过使用Notepad进行预处理的方法,确保网页显示的文本干净无格式。

That is microsoft office tags. You get it when you copy from office programs like word or outlook emails directly into your web editor, without removing the microsoft formatted tags.And if you use the function of "Save as html" of MS word ,in the file of the target html file you can also find this tag.

it just for style and if you don't like this tag ,you can delete them .


Never copy from word or email and paste stuff directly into web. First, remove the format as follow:

Copy the text you want to use and paste it in Notepad. Then copy the clean, unformatted text from notepad into your website. Notepad is a text only editor, and it will strip any formatted text clean.
<?xml version="1.0"?> <!-- 使用 xacro 优化 URDF 版的小车底盘实现: 实现思路: 1.将一些常量、变量封装为 xacro:property 比如:PI 值、小车底盘半径、离地间距、车轮半径、宽度 .... 2.使用 宏 封装驱动轮以及支撑轮实现,调用相关宏生成驱动轮与支撑轮 --> <!-- 根标签,必须声明 xmlns:xacro --> <robot name="my_base" xmlns:xacro="http://www.ros.org/wiki/xacro"> <!-- 封装变量、常量 --> <!-- PI 值设置精度需要高一些,否则后续车轮翻转量计算时,可能会出现肉眼不能察觉的车轮倾斜,从而导致模型抖动 --> <xacro:property name="PI" value="3.1415926"/> <!-- 宏:黑色设置 --> <material name="black"> <color rgba="0.0 0.0 0.0 1.0" /> </material> <!-- 底盘属性 --> <xacro:property name="base_footprint_radius" value="0.001" /> <!-- base_footprint 半径 --> <xacro:property name="base_link_radius" value="0.1" /> <!-- base_link 半径 --> <xacro:property name="base_link_length" value="0.08" /> <!-- base_link 长 --> <xacro:property name="earth_space" value="0.015" /> <!-- 离地间距 --> <xacro:property name="base_link_m" value="0.5" /> <!-- 质量 --> <!-- 底盘 --> <link name="base_footprint"> <visual> <geometry> <sphere radius="${base_footprint_radius}" /> </geometry> </visual> </link> <link name="base_link"> <visual> <geometry> <cylinder radius="${base_link_radius}" length="${base_link_length}" /> </geometry> <origin xyz="0 0 0" rpy="0 0 0" /> <material name="yellow"> <color rgba="0.5 0.3 0.0 0.5" /> </material> </visual> <collision> <geometry> <cylinder radius="${base_link_radius}" length="${base_link_length}" /> </geometry> <origin xyz="0 0 0" rpy="0 0 0" /> </collision> <xacro:cylinder_inertial_matrix m="${base_link_m}" r="${base_link_radius}" h="${base_link_length}" /> </link> <joint name="base_link2base_footprint" type="fixed"> <parent link="base_footprint" /> <child link="base_link" /> <origin xyz="0 0 ${earth_space + base_link_length / 2 }" /> </joint> <gazebo reference="base_link"> <material>Gazebo/Yellow</material> </gazebo> <!-- 驱动轮 --> <!-- 驱动轮属性 --> <xacro:property name="wheel_radius" value="0.0325" /><!-- 半径 --> <xacro:property name="wheel_length" value="0.015" /><!-- 宽度 --> <xacro:property name="wheel_m" value="0.05" /> <!-- 质量 --> <!-- 驱动轮宏实现 --> <xacro:macro name="add_wheels" params="name flag"> <link name="${name}_wheel"> <visual> <geometry> <cylinder radius="${wheel_radius}" length="${wheel_length}" /> </geometry> <origin xyz="0.0 0.0 0.0" rpy="${PI / 2} 0.0 0.0" /> <material name="black" /> </visual> <collision> <geometry> <cylinder radius="${wheel_radius}" length="${wheel_length}" /> </geometry> <origin xyz="0.0 0.0 0.0" rpy="${PI / 2} 0.0 0.0" /> </collision> <xacro:cylinder_inertial_matrix m="${wheel_m}" r="${wheel_radius}" h="${wheel_length}" /> </link> <joint name="${name}_wheel2base_link" type="continuous"> <parent link="base_link" /> <child link="${name}_wheel" /> <origin xyz="0 ${flag * base_link_radius} ${-(earth_space + base_link_length / 2 - wheel_radius) }" /> <axis xyz="0 1 0" /> </joint> <gazebo reference="${name}_wheel"> <material>Gazebo/Red</material> </gazebo> </xacro:macro> <xacro:add_wheels name="left" flag="1" /> <xacro:add_wheels name="right" flag="-1" /> <!-- 支撑轮 --> <!-- 支撑轮属性 --> <xacro:property name="support_wheel_radius" value="0.0075" /> <!-- 支撑轮半径 --> <xacro:property name="support_wheel_m" value="0.03" /> <!-- 质量 --> <!-- 支撑轮宏 --> <xacro:macro name="add_support_wheel" params="name flag" > <link name="${name}_wheel"> <visual> <geometry> <sphere radius="${support_wheel_radius}" /> </geometry> <origin xyz="0 0 0" rpy="0 0 0" /> <material name="black" /> </visual> <collision> <geometry> <sphere radius="${support_wheel_radius}" /> </geometry> <origin xyz="0 0 0" rpy="0 0 0" /> </collision> <xacro:sphere_inertial_matrix m="${support_wheel_m}" r="${support_wheel_radius}" /> </link> <joint name="${name}_wheel2base_link" type="continuous"> <parent link="base_link" /> <child link="${name}_wheel" /> <origin xyz="${flag * (base_link_radius - support_wheel_radius)} 0 ${-(base_link_length / 2 + earth_space / 2)}" /> <axis xyz="1 1 1" /> </joint> <gazebo reference="${name}_wheel"> <material>Gazebo/Red</material> </gazebo> </xacro:macro> <xacro:add_support_wheel name="front" flag="1" /> <xacro:add_support_wheel name="back" flag="-1" /> </robot>
最新发布
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值