UncontrolledObject.hpp 849 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * UncontrolledObject.h
  3. *
  4. * Created on: Jan 5, 2009
  5. * Author: rubensmits
  6. */
  7. #ifndef UNCONTROLLEDOBJECT_HPP_
  8. #define UNCONTROLLEDOBJECT_HPP_
  9. #include "eigen_types.hpp"
  10. #include "Object.hpp"
  11. namespace iTaSC{
  12. class UncontrolledObject: public Object {
  13. protected:
  14. unsigned int m_nu, m_nf;
  15. e_vector m_xudot;
  16. std::vector<e_matrix> m_JuArray;
  17. public:
  18. UncontrolledObject();
  19. virtual ~UncontrolledObject();
  20. virtual void initialize(unsigned int _nu, unsigned int _nf);
  21. virtual const e_matrix& getJu(unsigned int frameIndex) const;
  22. virtual const e_vector& getXudot() const {return m_xudot;}
  23. virtual void updateCoordinates(const Timestamp& timestamp)=0;
  24. virtual const unsigned int getNrOfCoordinates(){return m_nu;};
  25. virtual const unsigned int getNrOfFrames(){return m_nf;};
  26. };
  27. }
  28. #endif /* UNCONTROLLEDOBJECT_H_ */