trytrykang
Dependencies: mbed ros_lib_indigo
Fork of ROS_remote_car by
Diff: main.cpp
- Revision:
- 2:f6955790b0e0
- Parent:
- 1:d24c3384bc59
- Child:
- 3:3899fc6e93c7
diff -r d24c3384bc59 -r f6955790b0e0 main.cpp --- a/main.cpp Wed Apr 18 09:48:11 2018 +0000 +++ b/main.cpp Mon Apr 23 17:42:15 2018 +0000 @@ -76,6 +76,15 @@ int i = 0; //****************************************************************************** End of Variables +//****************************************************************************** Bluetooth +class HaseHardware : public MbedHardware +{ +public: + HaseHardware(): MbedHardware(D10,D2,115200) {}; +}; +ros::NodeHandle_<HaseHardware> nh; +//****************************************************************************** End of Bluetooth + //****************************************************************************** ros related function ros:: NodeHandle nh;