Skip to content

Commit

Permalink
Merge pull request #40 from ryan-barry-99/main
Browse files Browse the repository at this point in the history
Update Object dictionary
  • Loading branch information
ryan-barry-99 authored Feb 2, 2024
2 parents a8480d3 + 185c654 commit 9a6ce13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 4 additions & 2 deletions rover-code/embedded/main_body_board/include/CAN.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#ifndef CAN_H
#define CAN_H
#include <FlexCAN_T4.h>
#include <unordered_map>
#include "pinout.h"
#include "object_dict.h"

using ObjectDictionary = std::unordered_map<uint32_t, CAN_message_t>;

class CAN
{
Expand All @@ -28,7 +30,7 @@ class CAN
// static void staticCanSniff(const CAN_message_t &msg);

ObjectDictionary m_objectDict;
ObjectDictionary::Type

private:

FlexCAN_T4<CAN3, RX_SIZE_256, TX_SIZE_16> m_CAN;
Expand Down
9 changes: 0 additions & 9 deletions rover-code/embedded/main_body_board/include/object_dict.h

This file was deleted.

0 comments on commit 9a6ce13

Please sign in to comment.