Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
Revision 0:757e9800c103, committed 2017-08-21
- Comitter:
- UCHITAKE
- Date:
- Mon Aug 21 12:20:14 2017 +0000
- Child:
- 1:269914e0aa07
- Commit message:
- ???
Changed in this revision
--- /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