Class block_carry_visualizer

Inheritance Relationships

Base Type

  • public rer::client< block_carry_visualizer >

Class Documentation

class block_carry_visualizer : public rer::client<block_carry_visualizer>

Renders a block in 3D that the robot is carrying for visualization/debugging purposes.

Public Functions

inline block_carry_visualizer(::argos::CQTOpenGLUserFunctions *qt, double block_vis_offset, double text_vis_offset)
block_carry_visualizer(const block_carry_visualizer &op) = delete
void draw(const crepr::sim_block3D *block, size_t id_len)

Draw visualizations related to block carries:

  • The block itself

  • The block ID

Parameters:
  • block – The block to draw.

  • id_len – Length of the robot ID string (to ensure the block ID does not overlap with it, if it is visualized).

block_carry_visualizer &operator=(const block_carry_visualizer &op) = delete