NagaokaRoboticsClub_mbedTeam / Mbed 2 deprecated KANI2017v2

Dependencies:   2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni

Files at this revision

API Documentation at this revision

Comitter:
UCHITAKE
Date:
Mon Aug 21 12:20:14 2017 +0000
Child:
1:269914e0aa07
Commit message:
???

Changed in this revision

2017NHKpin_config.lib Show annotated file Show diff for this revision Revisions of this file
bot/bot.cpp Show annotated file Show diff for this revision Revisions of this file
bot/bot.h Show annotated file Show diff for this revision Revisions of this file
bot/controller/FEP.lib Show annotated file Show diff for this revision Revisions of this file
bot/controller/controller.cpp Show annotated file Show diff for this revision Revisions of this file
bot/controller/controller.h Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/MotorDriverController.lib Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/arm_unit/arm_unit.cpp Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/arm_unit/arm_unit.h Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/motor_driver.cpp Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/motor_driver.h Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/wheel_unit/omni.lib Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/wheel_unit/wheel_unit.cpp Show annotated file Show diff for this revision Revisions of this file
bot/motor_driver/wheel_unit/wheel_unit.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2017NHKpin_config.lib	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/NHK-Robocon2016_Nagaoka_B_Team/code/2017NHKpin_config/#55de6db7e04c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/bot.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,5 @@
+#include "bot.h"
+
+Bot::Bot() : Controller(), MotorDriver()
+{
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/bot.h	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,14 @@
+#ifndef BOT_H
+#define BOT_H
+
+#include "mbed.h"
+#include "pin_config.h"
+#include "motor_driver.h"
+#include "controller.h"
+
+class Bot : public Controller, MotorDriver {
+public :
+    Bot();
+};
+
+#endif//BOT_H
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/controller/FEP.lib	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/teams/NHK-Robocon2016_Nagaoka_B_Team/code/FEP/#74e21751ac10
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/controller/controller.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,5 @@
+#include "controller.h"
+
+Controller::Controller() : FEP(controllerTX, controllerRX, ADDR)
+{
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/controller/controller.h	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,17 @@
+#ifndef CONTROLLER_H
+#define CONTROLLER_H
+
+#include "mbed.h"
+#include "pin_config.h"
+
+#include "FEP.h"
+
+#define ADDR 000
+
+class Controller : public FEP {
+public :
+    Controller();
+private :
+};
+
+#endif//CONTROLLER_H
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/MotorDriverController.lib	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/NHK-Robocon2016_Nagaoka_B_Team/code/MotorDriverController/#caf0cea235b2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/arm_unit/arm_unit.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,5 @@
+#include "arm_unit.h"
+
+Arm::Arm()
+{
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/arm_unit/arm_unit.h	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,13 @@
+#ifndef ARM_UNIT_H
+#define ARM_UNIT_H
+
+#include "mbed.h"
+#include "pin_config.h"
+
+class Arm {
+public :
+    Arm();
+private :
+};
+
+#endif//ARM_UNIT_H
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/motor_driver.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,4 @@
+#include "motor_driver.h"
+
+MotorDriver::MotorDriver() : Arm(), WheelUnit(), MDC(MDSDA, MDSCL) {
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/motor_driver.h	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,17 @@
+#ifndef MOTOR_DRIVER_H
+#define MOTOR_DRIVER_H
+
+#include "mbed.h"
+#include "pin_config.h"
+
+#include "arm_unit.h"
+#include "wheel_unit.h"
+#include "MotorDriverController.h"
+
+class MotorDriver : Arm, WheelUnit, MDC {
+public :
+    MotorDriver();
+private :
+};
+
+#endif//MOTOR_DRIVER_H
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/wheel_unit/omni.lib	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/NHK-Robocon2016_Nagaoka_B_Team/code/omni/#ab46e745cfab
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/wheel_unit/wheel_unit.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,4 @@
+#include "wheel_unit.h"
+
+WheelUnit::WheelUnit() : Omni(WHEEL_NUMBER, WHEEL_INITDEGREE) {
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bot/motor_driver/wheel_unit/wheel_unit.h	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,18 @@
+#ifndef WHEEL_UNIT_H
+#define WHEEL_UNIT_H
+
+#include "mbed.h"
+#include "pin_config.h"
+
+#include "omni.h"
+
+#define WHEEL_NUMBER 4
+#define WHEEL_INITDEGREE 45
+
+class WheelUnit : public Omni {
+public:
+    WheelUnit();
+private :
+};
+
+#endif//WHEEL_UNIT_H
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+#include "pin_config.h"
+#include "bot.h"
+
+Bot bot();
+
+int main()
+{
+    while(1) {
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Aug 21 12:20:14 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/e2bfab296f20
\ No newline at end of file