capstone_finish
Dependencies: BufferedSerial motor_sn7544
Diff: ros.h
- Revision:
- 10:ca4e4062701a
- Parent:
- 3:2a3664dc6634
--- a/ros.h Thu Nov 21 10:36:11 2019 +0000 +++ b/ros.h Tue Nov 26 15:30:27 2019 +0000 @@ -38,9 +38,17 @@ #include "ros/node_handle.h" #include "MbedHardware.h" +class MbedHardware_cam : public MbedHardware +{ + public: + MbedHardware_cam(): MbedHardware(PA_11, PA_12, 1228800){}; +}; + namespace ros { + typedef NodeHandle_<MbedHardware> NodeHandle; + typedef NodeHandle_<MbedHardware_cam> NodeHandle_cam; } #endif