mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-07-08 21:57:20 +02:00
Bugfixes
This commit is contained in:
@@ -61,7 +61,7 @@ class Module {
|
||||
uint8_t m_device_id;
|
||||
ModuleType m_module_type;
|
||||
Messaging::ConnectionType m_connection_type;
|
||||
uint8_t m_leader;
|
||||
std::atomic<uint8_t> m_leader{0};
|
||||
std::chrono::time_point<std::chrono::system_clock> m_last_updated;
|
||||
std::vector<neighbour> m_neighbours;
|
||||
std::shared_ptr<MessagingInterface> m_messaging_interface;
|
||||
|
||||
@@ -123,7 +123,7 @@ class RobotController {
|
||||
std::thread m_configuration_loop;
|
||||
std::thread m_sensor_loop;
|
||||
std::thread m_expiry_looop;
|
||||
uint8_t m_selected_leader = 0;
|
||||
std::atomic<uint8_t> m_selected_leader{0};
|
||||
|
||||
void metadata_loop();
|
||||
void transmit_loop();
|
||||
|
||||
Reference in New Issue
Block a user