channelLUT.cpp 1.57 KB
Newer Older
roangel's avatar
roangel committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//    Look up table that connects the crazyflie names with their respective radio addresses
//
//    Copyright (C) 2017  Angel Romero
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

18
19
20
21
22
23
24
25
#include "channelLUT.h"


std::map<std::string, std::string> channel_LUT
{
    // {"CF1", "A12D2"},
    // {"CF2", "E341E"},
    // {"CF3", "4E21A"},
roangel's avatar
roangel committed
26
    {"cfOne", "0/76/2M/E7E7E7E701"},
27
28
29
    {"cfTwo", "0/69/2M"},
    {"cfThree", "0/72/2M"},
    {"cfFour", "0/99/2M"},
roangel's avatar
roangel committed
30
    {"PPS_CF01", "0/0/2M/E7E7E7E701"},
roangel's avatar
roangel committed
31
    {"PPS_CF02", "0/8/2M/E7E7E7E702"},
roangel's avatar
roangel committed
32
33
34
35
36
37
38
39
    {"PPS_CF03", "0/16/2M/E7E7E7E703"},
    {"PPS_CF04", "0/24/2M/E7E7E7E704"},
    {"PPS_CF05", "0/32/2M/E7E7E7E705"},
    {"PPS_CF06", "0/40/2M/E7E7E7E706"},
    {"PPS_CF07", "0/48/2M/E7E7E7E707"},
    {"PPS_CF08", "0/56/2M/E7E7E7E708"},
    {"PPS_CF09", "0/56/2M/E7E7E7E709"},
    {"PPS_CF10", "0/56/2M/E7E7E7E70A"},
40
    {"uwbtest", "0/80/2M/E7E7E7E7E7"},
41
    {"UWB_CF01", "0/80/250K/E7E7E7E7E7"},
42
    {"UWB_CF02", "0/70/2M/E7E7E7E7E7"},
43
};