Skip to content

Commit

Permalink
Revert "Add minipc protocol 2.0 (#66)"
Browse files Browse the repository at this point in the history
This reverts commit fc15c38.
  • Loading branch information
Andd54 committed Feb 12, 2024
1 parent 4a04e86 commit fac6c5b
Show file tree
Hide file tree
Showing 13 changed files with 349 additions and 911 deletions.
6 changes: 3 additions & 3 deletions examples/autoaim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

project(example_autoaim ASM C CXX)

#irm_add_arm_executable(${PROJECT_NAME}
# TARGET DJI_Board_TypeC
# SOURCES main.cc)
irm_add_arm_executable(${PROJECT_NAME}
TARGET DJI_Board_TypeC
SOURCES main.cc)
4 changes: 2 additions & 2 deletions examples/autoaim/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "gimbal.h"
#include "rgb.h"
#include "bsp_gpio.h"
#include "minipc_protocol.h"
#include "autoaim_protocol.h"
#include "filtering.h"
#include "i2c.h"
#include "bsp_imu.h"
Expand Down Expand Up @@ -305,4 +305,4 @@ void RM_RTOS_Default_Task(const void* args) {
control::MotorCANBase::TransmitOutput(motors, 2);
osDelay(10);
}
}
}
16 changes: 2 additions & 14 deletions examples/minipc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,7 @@ irm_add_arm_executable(${PROJECT_NAME}
TARGET DJI_Board_TypeA
SOURCES typeA.cc)

irm_add_arm_executable(${PROJECT_NAME}_stresstesttypec
irm_add_arm_executable(${PROJECT_NAME}_typeC
TARGET DJI_Board_TypeC
SOURCES StressTestTypeC.cc)

irm_add_arm_executable(${PROJECT_NAME}_pingpongtest
TARGET DJI_Board_TypeC
SOURCES PingpongTest.cc)

irm_add_arm_executable(${PROJECT_NAME}_motor
TARGET DJI_Board_TypeA
SOURCES MotorTest.cc)

irm_add_arm_executable(${PROJECT_NAME}_latency
TARGET DJI_Board_TypeC
SOURCES LatencyTest.cc)
SOURCES typeC.cc)

96 changes: 0 additions & 96 deletions examples/minipc/LatencyTest.cc

This file was deleted.

147 changes: 0 additions & 147 deletions examples/minipc/MotorTest.cc

This file was deleted.

95 changes: 0 additions & 95 deletions examples/minipc/PingpongTest.cc

This file was deleted.

Loading

0 comments on commit fac6c5b

Please sign in to comment.