more code cleanup

This commit is contained in:
Ruixiang Du
2020-06-17 11:38:29 +08:00
parent 44b89ee5f9
commit 2b9f7cc616
45 changed files with 580 additions and 129 deletions

View File

@@ -16,8 +16,8 @@
#include <mutex>
#include <functional>
#include "wrp_sdk/async_io/async_can.hpp"
#include "wrp_sdk/async_io/async_serial.hpp"
#include "wrp_sdk/asyncio/async_can.hpp"
#include "wrp_sdk/asyncio/async_serial.hpp"
#include "wrp_sdk/platforms/scout/scout_protocol.h"
#include "wrp_sdk/platforms/scout/scout_can_parser.h"
@@ -25,7 +25,7 @@
#include "wrp_sdk/platforms/scout/scout_types.hpp"
namespace wescore
namespace westonrobot
{
class ScoutBase
{
@@ -105,6 +105,6 @@ private:
public:
static void UpdateScoutState(const ScoutMessage &status_msg, ScoutState &state);
};
} // namespace wescore
} // namespace westonrobot
#endif /* SCOUT_BASE_HPP */

View File

@@ -13,7 +13,7 @@
#include <cstdint>
#include <iostream>
namespace wescore
namespace westonrobot
{
struct ScoutState
{
@@ -106,6 +106,6 @@ struct ScoutLightCmd
LightMode rear_mode;
uint8_t rear_custom_value;
};
} // namespace wescore
} // namespace westonrobot
#endif /* SCOUT_STATE_HPP */