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

@@ -1,7 +1,7 @@
#include <iostream>
#include "wrp_sdk/async_io/async_can.hpp"
#include "wrp_sdk/asyncio/async_can.hpp"
using namespace wescore;
using namespace westonrobot;
void parse_buffer(uint8_t *buf, const size_t bufsize, size_t bytes_received)
{

View File

@@ -7,9 +7,9 @@
#include <iostream>
#include "wrp_sdk/async_io/async_serial.hpp"
#include "wrp_sdk/asyncio/async_serial.hpp"
using namespace wescore;
using namespace westonrobot;
void parse_buffer(uint8_t *buf, const size_t bufsize, size_t bytes_received)
{

View File

@@ -7,9 +7,9 @@
#include <iostream>
#include "wrp_sdk/async_io/async_serial.hpp"
#include "wrp_sdk/asyncio/async_serial.hpp"
using namespace wescore;
using namespace westonrobot;
void parse_buffer(uint8_t *buf, const size_t bufsize, size_t bytes_received)
{

View File

@@ -2,7 +2,7 @@
#include "scout_base/details/scout_can_parser.hpp"
using namespace wescore;
using namespace westonrobot;
void print_msg(uint8_t data[8])
{

View File

@@ -12,7 +12,7 @@
#define TEST_WITHOUT_SERIAL_HARDWARE
using namespace wescore;
using namespace westonrobot;
int main(int argc, char **argv) {
std::string device_name;

View File

@@ -12,7 +12,7 @@
#define TEST_WITHOUT_SERIAL_HARDWARE
using namespace wescore;
using namespace westonrobot;
int main(int argc, char **argv)
{

View File

@@ -2,13 +2,13 @@
#include "scout_base/details/scout_serial_parser.hpp"
using namespace wescore;
using namespace westonrobot;
#include "scout_base/scout_base.hpp"
#define TEST_WITHOUT_SERIAL_HARDWARE
using namespace wescore;
using namespace westonrobot;
int main(int argc, char **argv)
{

View File

@@ -2,7 +2,7 @@
#include "scout_base/details/scout_serial_parser.hpp"
using namespace wescore;
using namespace westonrobot;
void print_msg(uint8_t data[8])
{

View File

@@ -12,7 +12,7 @@
#define TEST_WITHOUT_SERIAL_HARDWARE
using namespace wescore;
using namespace westonrobot;
int main(int argc, char **argv)
{