turtlebot4_base
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Namespaces
Namespace rclcpp
Namespace turtlebot4_base
Classes and Structs
Struct FontDef
Struct SSD1306_t
Struct SSD1306_VERTEX
Struct Turtlebot4Led
Class Buttons
Class Display
Class GpioInterface
Class I2cInterface
Class Leds
Class Ssd1306
Class Turtlebot4
Enums
Enum ESsd1306Commands
Enum ESsd1306MemoryMode
Enum GpioInterfaceLineDirection
Enum SSD1306_COLOR
Enum SSD1306_Error_t
Unions
Union SSD1306_Command_Buffer
Union SSD1306_Page_Buffer
Variables
Variable turtlebot4_base::Font_6x8
Variable turtlebot4_base::Font_7x10
Variable turtlebot4_base::ssd1306_128x32_initData
Variable turtlebot4_base::ssd1306_128x64_initData
Defines
Define SSD1306_BUFFER_SIZE
Define SSD1306_CHAR_PER_LINE
Define SSD1306_CHAR_PER_LINE_HEADER
Define SSD1306_HEIGHT
Define SSD1306_INCLUDE_FONT_6x8
Define SSD1306_INCLUDE_FONT_7x10
Define SSD1306_NUM_LINES
Define SSD1306_WIDTH
Directories
Directory include
Directory turtlebot4_base
Files
File buttons.hpp
File display.hpp
File gpio_interface.hpp
File i2c_interface.hpp
File leds.hpp
File ssd1306.hpp
File ssd1306_fonts.hpp
File turtlebot4.hpp
Standard Documents
CHANGELOG
Changelog for package turtlebot4_base
2.0.1 (2024-10-23)
2.0.0 (2024-09-25)
1.0.3 (2024-07-02)
1.0.2 (2023-11-08)
1.0.1 (2023-03-22)
1.0.0 (2023-02-21)
0.1.3 (2022-09-15)
0.1.2 (2022-05-30)
0.1.1 (2022-05-24)
0.1.0 (2022-05-24)
PACKAGE
Index
turtlebot4_base
C++ API
Struct Turtlebot4Led
View page source
Struct Turtlebot4Led
Defined in
File leds.hpp
Struct Documentation
struct
Turtlebot4Led
Public Functions
inline
Turtlebot4Led
(
std
::
shared_ptr
<
GpioInterface
>
gpio_interface
,
uint8_t
green_pin
)
inline
Turtlebot4Led
(
std
::
shared_ptr
<
GpioInterface
>
gpio_interface
,
uint8_t
green_pin
,
uint8_t
red_pin
)
inline
void
create_subscription
(
rclcpp
::
Node
::
SharedPtr
nh
,
std
::
string
topic
)
inline
void
led_callback
(
const
std_msgs
::
msg
::
Int32
::
SharedPtr
msg
)
Public Members
Turtlebot4LedType
type_
std
::
shared_ptr
<
GpioInterface
>
gpio_interface_
uint8_t
green_pin_
uint8_t
red_pin_
rclcpp
::
Subscription
<
std_msgs
::
msg
::
Int32
>
::
SharedPtr
led_sub_