90 can_msgs::Frame frame;
96 uint8_t *ptr = (uint8_t*)frame.data.elems;
100 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
101 Pack(ptr, it->second);
111 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
113 Pack(ptr, it->second);
116 muxSwitch = &it->second;
117 Pack(ptr, it->second);
121 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
123 if (muxSwitch->
GetResult() == it->second.GetMultiplexerSwitch()) {
124 Pack(ptr, it->second);
136 uint8_t *ptr = (uint8_t*)msg->data.elems;
139 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
140 double res =
Unpack(ptr, it->second);
141 it->second.SetResult(res);
151 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
153 double res =
Unpack(ptr, it->second);
154 it->second.SetResult(res);
157 muxSwitch = &it->second;
158 double res =
Unpack(ptr, it->second);
159 it->second.SetResult(res);
163 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++) {
165 if (muxSwitch->
GetResult() == it->second.GetMultiplexerSwitch()) {
167 it->second.SetResult(res);
178 _signals.insert(std::pair<std::string, NewEagle::DbcSignal>(signalName, signal));
183 std::map<std::string, NewEagle::DbcSignal>::iterator it;
219 for(std::map<std::string, NewEagle::DbcSignal>::iterator it =
_signals.begin(); it !=
_signals.end(); it++)