#include <stdbool.h>
#include "spogobot.h"
#include "colormaps.h"
#include <stddef.h>
Go to the source code of this file.
◆ DECLARE_USERDATA
| #define DECLARE_USERDATA |
( |
| UDT | ) |
|
◆ GET_MACRO_START
| #define GET_MACRO_START |
( |
| _1, |
|
|
| _2, |
|
|
| _3, |
|
|
| NAME, |
|
|
| ... ) |
◆ pogobot_start
| #define pogobot_start |
( |
| ... | ) |
|
Value:
#define GET_MACRO_START(_1, _2, _3, NAME,...)
Definition pogosim.h:109
#define pogobot_start_3(user_init, user_step, object_category)
Definition pogosim.h:119
#define pogobot_start_2(user_init, user_step)
Definition pogosim.h:116
◆ pogobot_start_2
| #define pogobot_start_2 |
( |
| user_init, |
|
|
| user_step ) |
Value:
void _pogobot_start(void(*user_init)(void), void(*user_step)(void), const char *object_category)
Definition pogosim_sim.cpp:7
◆ pogobot_start_3
| #define pogobot_start_3 |
( |
| user_init, |
|
|
| user_step, |
|
|
| object_category ) |
◆ REGISTER_USERDATA
| #define REGISTER_USERDATA |
( |
| UDT | ) |
|
◆ SET_CALLBACK
| #define SET_CALLBACK |
( |
| CALLBACK_FN, |
|
|
| FN ) |
◆ STATIC_STRCMP
| #define STATIC_STRCMP |
( |
| a, |
|
|
| b ) |
◆ STRINGIFY
Value:
#define STRINGIFY_RAW(x)
Definition pogosim.h:23
◆ STRINGIFY_RAW
| #define STRINGIFY_RAW |
( |
| x | ) |
|
◆ error_code_t
| Enumerator |
|---|
| ERROR_TIME_OVERFLOW | |
| error_code_t_last_entry | |
◆ _pogobot_start()
| void _pogobot_start |
( |
void(* | user_init )(void), |
|
|
void(* | user_step )(void), |
|
|
const char * | object_category ) |
◆ clear_IR_buffers()
| void clear_IR_buffers |
( |
void | | ) |
|
◆ current_robot_category_is()
| bool current_robot_category_is |
( |
const char * | category | ) |
|
◆ current_time_milliseconds()
| uint32_t current_time_milliseconds |
( |
void | | ) |
|
◆ default_walls_user_init()
| void default_walls_user_init |
( |
void | | ) |
|
Initialization function for the pogowalls.
This function is executed once at startup (cf 'pogobot_start' call in main()).
◆ default_walls_user_step()
| void default_walls_user_step |
( |
void | | ) |
|
Main control loop for the Pogowalls.
This function is called continuously at the frequency defined in walls_user_init().
◆ display_led_error_code()
◆ get_current_robot_category()
| const char * get_current_robot_category |
( |
void | | ) |
|
◆ pogo_main_loop_step()
| void pogo_main_loop_step |
( |
void(* | user_step )(void) | ) |
|
◆ _current_time_milliseconds
| uint32_t _current_time_milliseconds |
|
extern |
◆ _error_code_initial_time
| uint32_t _error_code_initial_time |
|
extern |
◆ _global_timer
◆ callback_create_data_schema
| void(* callback_create_data_schema) (void) |
( |
void | | ) |
|
|
extern |
◆ callback_export_data
| void(* callback_export_data) (void) |
( |
void | | ) |
|
|
extern |
◆ callback_global_setup
| void(* callback_global_setup) (void) |
( |
void | | ) |
|
|
extern |
◆ callback_global_step
| void(* callback_global_step) (void) |
( |
void | | ) |
|
|
extern |
◆ error_codes_led_idx
| int8_t error_codes_led_idx |
|
extern |
◆ main_loop_hz
◆ max_nb_processed_msg_per_tick
| uint8_t max_nb_processed_msg_per_tick |
|
extern |
◆ msg_rx_fn
◆ msg_tx_fn
| bool(* msg_tx_fn) (void) |
( |
void | | ) |
|
|
extern |
◆ nb_msgs_recv
◆ nb_msgs_sent
◆ percent_msgs_sent_per_ticks
| uint8_t percent_msgs_sent_per_ticks |
|
extern |
◆ pogobot_ticks
◆ timer_main_loop