Drake
bicycle_car_parameters_translator.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GENERATED FILE DO NOT EDIT
4 // See drake/tools/lcm_vector_gen.py.
5 
6 #include <memory>
7 #include <vector>
8 
10 #include "drake/lcmt_bicycle_car_parameters_t.hpp"
12 
13 namespace drake {
14 namespace automotive {
15 
22  public:
25  BicycleCarParametersIndices::kNumCoordinates) {}
26  std::unique_ptr<systems::BasicVector<double>> AllocateOutputVector()
27  const override;
28  void Deserialize(const void* lcm_message_bytes, int lcm_message_length,
29  systems::VectorBase<double>* vector_base) const override;
30  void Serialize(double time, const systems::VectorBase<double>& vector_base,
31  std::vector<uint8_t>* lcm_message_bytes) const override;
32 };
33 
34 } // namespace automotive
35 } // namespace drake
LcmAndVectorBaseTranslator(const LcmAndVectorBaseTranslator &)=delete
Definition: automotive_demo.cc:88
Describes the row indices of a BicycleCarParameters.
Definition: bicycle_car_parameters.h:20
BicycleCarParametersTranslator()
Definition: bicycle_car_parameters_translator.h:23
std::unique_ptr< systems::BasicVector< double > > AllocateOutputVector() const override
Allocates the vector storage for an output port of our LCM message type, in case special storage is n...
Definition: bicycle_car_parameters_translator.cc:14
void Serialize(double time, const systems::VectorBase< double > &vector_base, std::vector< uint8_t > *lcm_message_bytes) const override
Translates a drake::systems::VectorBase object into LCM message bytes.
Definition: bicycle_car_parameters_translator.cc:18
const double time
Definition: robot_plan_interpolator_test.cc:63
Defines an abstract parent class of all translators that convert between LCM message bytes and drake:...
Definition: lcm_and_vector_base_translator.h:18
Translates between LCM message objects and VectorBase objects for the BicycleCarParameters type...
Definition: bicycle_car_parameters_translator.h:20
void Deserialize(const void *lcm_message_bytes, int lcm_message_length, systems::VectorBase< double > *vector_base) const override
Translates LCM message bytes into a drake::systems::VectorBase object.
Definition: bicycle_car_parameters_translator.cc:37