Using Roslaunch to start Rviz observation robot model in indigo

Source: Internet
Author: User
Roslaunch SP1s display.launch MODEL:=URDF/SP1S.URDF instructions from the Web page:

http://blog.csdn.net/crazyquhezheng/article/details/42840955

This is the start of the SP1s package under the Urdf file, Roslaunch folder under the Display.launch and URDF files, urdf file geometry length is meters:


<launch> <arg name= "model"/> <arg name= "gui" default= "False"/> <param name= "robot _description "textfile=" $ (arg model) "/> <param name=" Use_gui "value=" $ (arg gui) "/> <node name=" Jo Int_state_publisher "pkg=" Joint_state_publisher "type=" Joint_state_publisher "/> <node name=" Robot_state_publ  Isher "pkg=" Robot_state_publisher "type=" State_publisher "/> <node name=" Rviz "pkg=" Rviz "type=" Rviz "args="-D $ (Find urdf_tutorial)/urdf.rviz "required=" true "/> </launch>
<?xml version= "1.0"?> <robot name= "SP1s" > <link name= "Base_link" > <visual> &lt            ;geometry> <box size= "0.27.003"/> </geometry> <material name= "White" > <color rgba= "1 1 1.5"/> </material> </visual> </link> &LT;/ROBOT&G T Roslaunch sp1s display.launch model:= ' $ (find SP1s)/URDF/SP1S.URDF ' Remember to open it with this command, only in Indigo's Ros version


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.