<commit_before>#ifndef SorticFramework_h
#define SorticFramework_h

#include "Arduino.h"
#include "Modular.h"

class Placer : public Component
{
  public:
    Placer();

    virtual void pickUpLeft();
    virtual void pickUpRight();
    virtual void placeLeft();
    virtual void placeRight();
    virtual bool placerLoop(); //true = complete, false = in progress

  protected:
    bool hasPart;
    bool isMoving;
};

class Detector : public Component
{
  public:
    Detector();
    byte * getPartArray(); //Funciton returns pointer to static array: https://www.tutorialspoint.com/cplusplus/cpp_return_arrays_from_functions.htm

  protected:

};

enum MoverPosition {
  pickUp,
  dropA,
  dropB,
  dropC
};

class Mover : public Component
{
  public:
    Mover();
    virtual void moveToPosition(MoverPosition newTarget);<commit_msg>added RfidCardIsPresent() function to framework<commit_after>#ifndef SorticFramework_h
#define SorticFramework_h

#include "Arduino.h"
#include "Modular.h"

class Placer : public Component
{
  public:
    Placer();

    virtual void pickUpLeft();
    virtual void pickUpRight();
    virtual void placeLeft();
    virtual void placeRight();
    virtual bool placerLoop(); //true = complete, false = in progress

  protected:
    bool hasPart;
    bool isMoving;
};

class Detector : public Component
{
  public:
    Detector();
    void getPartArray(byte partArray[]); //Function writes result into partArray[]
    //byte * getPartArray(); //Funciton returns pointer to static array: https://www.tutorialspoint.com/cplusplus/cpp_return_arrays_from_functions.htm
    bool RfidCardIsPresent();

  protected:

};

enum MoverPosition {
  pickUp,
  dropA,
  dropB,
  dropC
};

class Mover : public Component
{
  public:
    Mover();
    virtual void moveToPosition(MoverPosition newTarget);
{'fraction_non_alphanumeric': 0.1000549752611325, 'fraction_numerical': 0.0, 'mean_word_length': 3.932249322493225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3424833', 'n_tokens_mistral': 572, 'n_tokens_neox': 553, 'n_words': 155}