Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.26 KB

navigation.md

File metadata and controls

27 lines (18 loc) · 1.26 KB

Bot position

The bots position is published to /mineros/local_position/pose as a geometry_msgs/PoseStamped message.

World Info

Find y corrdinate of ground floor for a position given x and z

call /mineros/findy service with mineros_inter/BlockInfo message with the x and z coordinates set. The service will return a geometry_msgs/Pose message with all cordinates of the ground floor of the x and z position

get info about a block

call /mineros/block_info service with mineros_inter/BlockInfo message with the x, y and z coordinates set. The request has the following params:

  • geometry_msgs/Pose block_pose: the position of the block

returns:

  • mineros_inter/BlockPose block: the info about the block This contains an Item msg, this uses block ids as the id not item ids.

DUPLICATE ALSO FOUND IN MINING DOCS Find blocks

I added this here as it naturally belongs in both

call the /mineros/mining/find_blocks service with the FindBlocks request. The request has the following params:

  • uint16 blockid - the id of the block, use mineflayer mc data plugin to get the id
  • uint16 max_distance - the radius to search
  • uint16 count the desired amount of blocks to find

returns:

  • geometry_msgs/PoseArray blocks - Array of matching blocks found