ROS实战_1.2 Pioneer 3DX ROSARIA使用教程

0. Package Summary

    Information from the robot base, and velocity and acceleration control, is implemented via a RosAria node, which publishes topics providing data recieved from the robot's embedded controller by ARIA, and sets desired velocity, acceleration and other commands in ARIA when new commands are received from command topics.

0.1 ROS API

    ROS topics are channels by which other nodes can communicate with ROSARIA by sending or reading messages. For more information on ROS topics, see Topics and rostopic.

    ROS services are channels by which other nodes can cause specific events to occur on the robot via ROSARIA. For more information on services, see Services and rosservice.

    Parameters are used to configure the behavior of the RosAria node during initial startup of the node, such as how to connect to the robot controller. They may be set on the command line when running rosrun or in a launch file when using roslaunch. Parameters are stored by the ROS parameter server. See also Parameter Serverrosparamrosrun and roslaunch.

    Some parameters can also be dynamically changed using dynamic_reconfigure.

0.2 RosAria

Simple node that uses ARIA to control the robot

    Subscribed Topics:

cmd_vel (geometry_msgs/Twist)

  • receives new velocity commands. Desired velocities are set in ARIA; the robot will achieve and maintain these velocities. ARIA will continue to send the velocity commands to the robot controller, but if no cmd_vel messages are received after 600ms (configurable or disabled via cmd_vel_timeout parameter, see below), rosaria will stop the robot. So cmd_vel commands are only needed to change velocity, or to to reset the watchdog timeout.
    Published Topics:
pose  ( nav_msgs/Odometry )
  • publishes odometry information (rate depends on the robot, normally 10Hz)
bumper_state  ( rosaria/BumperState )
  • publishes bumper states (thanks to Arturo Ribes of the Spanish National Research Council)
sonar  ( sensor_msgs/PointCloud )
  • publishes sonar readings (thanks to Michiel Blokzijl of the Imperial College London). Readings are taken if there are subscribers on the topic. When the last subscriber unsubscribes from both this and sonar_pointcloud2 topic, sonars are turned off. Only available on robots with sonar. The point cloud is two dimensional, and its coordinate frame matches the robot position. X and Y are points on the plane of the robot. Z data is always 0.
sonar_pointcloud2  ( sensor_msgs/PointCloud2 )
  • publishes sonar readings as sensor_msgs/PointCloud2 type. Readings are taken if there are subscribers on the topic. When the last subscriber unsubscribes from both this and sonar topic, sonars are turned off. Only available on robots with sonar. The point cloud is two dimensional, and its coordinate frame matches the robot position. X and Y are points on the plane of the robot. Z data is always 0.
battery_state_of_charge  ( std_msgs/Float32 )
  • Battery state-of-charge percentage, range (0.0, 1.0). Only published if robot type supports state of charge (e.g. Pioneer LX, Seekur, Seekur Jr.)
battery_voltage  ( std_msgs/Float64 )
  • Battery voltage measurement (DC volts).
battery_recharge_state  ( std_msgs/Int8 )
  • Recharging status. Only published on Pioneer LX robot. 0 if not charging, > 0 if recharging, and < 0 on error or no data.
motors_state  ( std_msgs/Bool )
  • Indicates whether the motors are enabled (true) or disabled (false). (You can use the enable_motors and disable_motors services to enable/disable the motors.)
<lasername>_pointcloud  ( sensor_msgs/PointCloud )
  • Only published if publish_aria_lasers parameter is true. Provides laser data as a point cloud. <lasername> will be ARIA's identifier for the laser. May be repeated with different laser names if multiple lasers are configured in ARIA robot parameter file(s).
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值