Learning ROS for Robotics Programming Second Edition学习笔记(二) indigo tools

中文译著已经出版,详情请参考:http://blog.csdn.net/ZhangRelay/article/category/6506865

Learning ROS for Robotics Programming Second Edition学习笔记(二) indigo tools

笔记一记录了一些常用的基本命令(cmd),笔记二介绍一些可视化的编译调试工具(tool)

--roscore

--roslaunch chapter2_tutorials chapter2.launch

--rosnode list 

/chap2_example1_a

/chap2_example1_b

/rosout

--rqt_console 

 


 

--rosrun chapter2_tutorials chap2_example4 

[ INFO] [1447807491.472441519]: Reconfigure Request: 1 0.100000 Chapter2_dynamic_reconfigure True 1

[ INFO] [1447807491.479674316]: Spinning node

--rosrun rqt_reconfigure rqt_reconfigure

 


--rosrun rqt_logger_level rqt_logger_level

 


 

Gazebo demo!

TIAGo tiago_simulation

https://github.com/pal-robotics/tiago_simulation

http://wiki.ros.org/Robots/TIAGo

--roscore

--roslaunch tiago_gazebo tiago_gazebo.launch

 


--roslaunch tiago_gazebo tiago_gazebo.launch world:=small_office

 


 

--rostopic list

/arm_controller/command

/arm_controller/follow_joint_trajectory/cancel

/arm_controller/follow_joint_trajectory/feedback

/arm_controller/follow_joint_trajectory/goal

/arm_controller/follow_joint_trajectory/result

/arm_controller/follow_joint_trajectory/status

/arm_controller/state

/attached_collision_object

/clock

/collision_object

/diagnostics

/gains/arm_1_joint/parameter_descriptions

/gains/arm_1_joint/parameter_updates

/gains/arm_2_joint/parameter_descriptions

/gains/arm_2_joint/parameter_updates

/gains/arm_3_joint/parameter_descriptions

/gains/arm_3_joint/parameter_updates

/gains/arm_4_joint/parameter_descriptions

/gains/arm_4_joint/parameter_updates

/gains/arm_5_joint/parameter_descriptions

/gains/arm_5_joint/parameter_updates

/gains/arm_6_joint/parameter_descriptions

/gains/arm_6_joint/parameter_updates

/gains/arm_7_joint/parameter_descriptions

/gains/arm_7_joint/parameter_updates

/gains/gripper_left_finger_joint/parameter_descriptions

/gains/gripper_left_finger_joint/parameter_updates

/gains/gripper_right_finger_joint/parameter_descriptions

/gains/gripper_right_finger_joint/parameter_updates

/gains/head_1_joint/parameter_descriptions

/gains/head_1_joint/parameter_updates

/gains/head_2_joint/parameter_descriptions

/gains/head_2_joint/parameter_updates

/gains/torso_lift_joint/parameter_descriptions

/gains/torso_lift_joint/parameter_updates

/gazebo/link_states

/gazebo/model_states

/gazebo/parameter_descriptions

/gazebo/parameter_updates

/gazebo/set_link_state

/gazebo/set_model_state

/gripper_controller/command

/gripper_controller/follow_joint_trajectory/cancel

/gripper_controller/follow_joint_trajectory/feedback

/gripper_controller/follow_joint_trajectory/goal

/gripper_controller/follow_joint_trajectory/result

/gripper_controller/follow_joint_trajectory/status

/gripper_controller/state

/ground_truth_odom

/head_controller/command

/head_controller/follow_joint_trajectory/cancel

/head_controller/follow_joint_trajectory/feedback

/head_controller/follow_joint_trajectory/goal

/head_controller/follow_joint_trajectory/result

/head_controller/follow_joint_trajectory/status

/head_controller/increment/cancel

/head_controller/increment/feedback

/head_controller/increment/goal

/head_controller/increment/result

/head_controller/increment/status

/head_controller/point_head_action/cancel

/head_controller/point_head_action/feedback

/head_controller/point_head_action/goal

/head_controller/point_head_action/result

/head_controller/point_head_action/status

/head_controller/state

/input_joy/cmd_vel

/ir/camera_info

/joint_states

/joy

/joy_priority

/joy_priority_action/cancel

/joy_priority_action/feedback

/joy_priority_action/goal

/joy_priority_action/result

/joy_priority_action/status

/joy_turbo_angular_decrease/cancel

/joy_turbo_angular_decrease/feedback

/joy_turbo_angular_decrease/goal

/joy_turbo_angular_decrease/result

/joy_turbo_angular_decrease/status

/joy_turbo_angular_increase/cancel

/joy_turbo_angular_increase/feedback

/joy_turbo_angular_increase/goal

/joy_turbo_angular_increase/result

/joy_turbo_angular_increase/status

/joy_turbo_decrease/cancel

/joy_turbo_decrease/feedback

/joy_turbo_decrease/goal

/joy_turbo_decrease/result

/joy_turbo_decrease/status

/joy_turbo_increase/cancel

/joy_turbo_increase/feedback

/joy_turbo_increase/goal

/joy_turbo_increase/result

/joy_turbo_increase/status

/joy_turbo_reset/cancel

/joy_turbo_reset/feedback

/joy_turbo_reset/goal

/joy_turbo_reset/result

/joy_turbo_reset/status

/joy_vel

/key_vel

/mobile_base_controller/cmd_vel

/mobile_base_controller/odom

/move_group/cancel

/move_group/display_contacts

/move_group/display_planned_path

/move_group/feedback

/move_group/goal

/move_group/monitored_planning_scene

/move_group/ompl/parameter_descriptions

/move_group/ompl/parameter_updates

/move_group/plan_execution/parameter_descriptions

/move_group/plan_execution/parameter_updates

/move_group/planning_scene_monitor/parameter_descriptions

/move_group/planning_scene_monitor/parameter_updates

/move_group/result

/move_group/sense_for_plan/parameter_descriptions

/move_group/sense_for_plan/parameter_updates

/move_group/status

/move_group/trajectory_execution/parameter_descriptions

/move_group/trajectory_execution/parameter_updates

/nav_vel

/pause_navigation

/pickup/cancel

/pickup/feedback

/pickup/goal

/pickup/result

/pickup/status

/place/cancel

/place/feedback

/place/goal

/place/result

/place/status

/planning_scene

/planning_scene_world

/play_motion/cancel

/play_motion/feedback

/play_motion/goal

/play_motion/result

/play_motion/status

/rosout

/rosout_agg

/scan

/sonar_base

/stop_closing_loop

/tab_vel

/text_marker

/tf

/tf_static

/torso_controller/command

/torso_controller/follow_joint_trajectory/cancel

/torso_controller/follow_joint_trajectory/feedback

/torso_controller/follow_joint_trajectory/goal

/torso_controller/follow_joint_trajectory/result

/torso_controller/follow_joint_trajectory/status

/torso_controller/increment/cancel

/torso_controller/increment/feedback

/torso_controller/increment/goal

/torso_controller/increment/result

/torso_controller/increment/status

/torso_controller/state

/trajectory_execution_event

/twist_marker

/xtion/depth/camera_info

/xtion/depth/image_raw

/xtion/depth/points

/xtion/ir/image_raw

/xtion/ir/image_raw/compressed

/xtion/ir/image_raw/compressed/parameter_descriptions

/xtion/ir/image_raw/compressed/parameter_updates

/xtion/ir/image_raw/compressedDepth

/xtion/ir/image_raw/compressedDepth/parameter_descriptions

/xtion/ir/image_raw/compressedDepth/parameter_updates

/xtion/ir/image_raw/theora

/xtion/ir/image_raw/theora/parameter_descriptions

/xtion/ir/image_raw/theora/parameter_updates

/xtion/parameter_descriptions

/xtion/parameter_updates

/xtion/rgb/camera_info

/xtion/rgb/image_raw

/xtion/rgb/image_raw/compressed

/xtion/rgb/image_raw/compressed/parameter_descriptions

/xtion/rgb/image_raw/compressed/parameter_updates

/xtion/rgb/image_raw/compressedDepth

/xtion/rgb/image_raw/compressedDepth/parameter_descriptions

/xtion/rgb/image_raw/compressedDepth/parameter_updates

/xtion/rgb/image_raw/theora

/xtion/rgb/image_raw/theora/parameter_descriptions

/xtion/rgb/image_raw/theora/parameter_updates

/xtion/rgb/points

 

--rostopic pub -1 /mobile_base_controller/cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.0]' '[0.0, 0.0, 10.0]'

 


--rosrun image_view image_view image:=/xtion/depth/image_raw

 


--rosrun rqt_graph rqt_graph

 


--rosrun rqt_reconfigure rqt_reconfigure

 


其他常用命令

--rosrun rqt_runtime_monitor rqt_runtime_monitor

--rosrun rqt_robot_monitor rqt_robot_monitor

--rosrun rqt_plot rqt_plot

--rosrun rqt_gui rqt_gui

--rosrun rqt_image_view rqt_image_view

--rosrun rqt_rviz rqt_rviz

--rosbag

 





 

Effective Robotics Programming with ROS, Third Edition gives you a comprehensive review of ROS, the Robot Operating System framework, which is used nowadays by hundreds of research groups and companies in the robotics industry. More importantly, ROS is also the painless entry point to robotics for nonprofessionals and students. This book will guide you through the installation process of ROS, and soon enough, you will be playing with the basic tools and understanding the different elements of the framework. The content of the book can be followed without any special devices, and each chapter comes with a series of source code examples and tutorials that you can run on your own computer. This is the only thing you need to follow the book. However, we also show you how to work with hardware so that you can connect your algorithms with the real world. Special care has been taken in choosing devices that are affordable for amateur users, but at the same time, the most typical sensors or actuators in robotics research are covered. Finally, the potential of ROS is illustrated with the ability to work with whole robots in a real or simulated environment. You will learn how to create your own robot and integrate it with a simulation by using the Gazebo simulator. From here, you will have the chance to explore the different aspects of creating a robot, such as perceiving the world using computer vision or point cloud analysis, navigating through the environment using the powerful navigation stack, and even being able to control robotic arms to interact with your surroundings using the MoveIt! package. By the end of the book, it is our hope that you will have a thorough understanding of the endless possibilities that ROS gives you when developing robotic systems.What this book covers Chapter 1, Getting Started with ROS, shows the easiest way you must follow in order to have a working installation of ROS. You will see how to install ROS on different platforms, and you will use ROS Kinetic throughout the rest of the book. This chapter describes how to make an installation from Debian packages, compile the sources, and make installations in virtual machines, Docker, and ARM CPU. Chapter 2, ROS Architecture and Concepts, is concerned with the concepts and tools provided by the ROS framework. We will introduce you to nodes, topics, and services, and you will also learn how to use them. Through a series of examples, we will illustrate how to debug a node and visualize the messages published through a topic. Chapter 3, Visualization and Debugging Tools, goes a step further in order to show you powerful tools to debug your nodes and visualize the information that goes through the node's graph along with the topics. ROS provides a logging API that allows you to diagnose node problems easily. In fact, we will see some powerful graphical tools, such as rqt_console and rqt_graph, as well as visualization interfaces, such as rqt_plot and rviz. Finally, this chapter explains how to record and play back messages using rosbag and rqt_bag. Chapter 4, 3D Modeling and Simulation, constitutes one of the first steps in order to implement your own robot in ROS. It shows you how to model a robot from scratch and run it in simulation using the Gazebo simulator. You will simulate sensors, such as cameras and laser range sensors. This will later allow you to use the whole navigation stack provided by ROS and other tools. Chapter 5, The Navigation Stack – Robot Setups, is the first of two chapters concerned with the ROS navigation stack. This chapter describes how to configure your robot so that it can be used with the navigation stack. In the same way, the stack is explained, along with several examples. Chapter 6, The Navigation Stack – Beyond Setups, continues the discussion of the previous chapter by showing how we can effectively make our robot navigate autonomously. It will use the navigation stack intensively for that. This chapter shows the great potential of ROS using the Gazebo simulator and RViz to create a virtual environment in which we can build a map, localize our robot, and do path planning with obstacle avoidance. Chapter 7, Manipulation with MoveIt!, is a set of tools for mobile manipulation in ROS. This chapter contains the documentation that you need to install this package. The chapter also contains example demonstrations with robotic arms that use MoveIt! for manipulation tasks, such as grasping, picking and placing, or simple motion planning with inverse kinematics. Chapter 8, Using Sensors and Actuators with ROS, literally connects ROS with the real world. This chapter goes through a number of common sensors and actuators that are supported inROS, such as range lasers, servo motors, cameras, RGB-D sensors, and GPS. Moreover, we explain how to use embedded systems with microcontrollers, similar to the widely known Arduino boards. Chapter 9, Computer Vision, shows the support for cameras and computer vision tasks in ROS. This chapter starts with drivers available for FireWire and USB cameras so that you can connect them to your computer and capture images. You will then be able to calibrate your camera using the ROS calibration tools. Later, you will be able to use the image pipeline, which is explained in detail. Then, you will see how to use several APIs for vision and integrate OpenCV. Finally, the installation and usage of a visual odometry software is described. Chapter 10, Point Clouds, shows how to use Point Cloud Library in your ROS nodes. This chapter starts with the basics utilities, such as read or write a PCL snippet and the conversions needed to publish or subscribe to these messages. Then, you will create a pipeline with different nodes to process 3D data, and you will downsample, filter, and search for features using
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhangrelay

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值