Changeset 318 in flair-src for trunk/lib/FlairSensorActuator/src
- Timestamp:
- Jul 3, 2019, 5:05:33 PM (5 years ago)
- Location:
- trunk/lib/FlairSensorActuator/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/BlCtrlV2_x4_speed.cpp
r268 r318 122 122 input = new Matrix((IODevice *)this, 8, 1, floatType); 123 123 124 cvmatrix_descriptor *desc = new cvmatrix_descriptor(4, 2);124 MatrixDescriptor *desc = new MatrixDescriptor(4, 2); 125 125 desc->SetElementName(0, 0, "avant gauche"); 126 126 desc->SetElementName(1, 0, "arriere droite"); -
trunk/lib/FlairSensorActuator/src/Bldc.cpp
r214 r318 43 43 pimpl_ = new Bldc_impl(this, layout, name, motors_count); 44 44 45 cvmatrix_descriptor *desc = new cvmatrix_descriptor(motors_count, 2);45 MatrixDescriptor *desc = new MatrixDescriptor(motors_count, 2); 46 46 for (int i = 0; i < motors_count; i++) { 47 47 ostringstream speed, current; -
trunk/lib/FlairSensorActuator/src/HokuyoUTM30Lx.cpp
r214 r318 39 39 : LaserRangeFinder(name), Thread(getFrameworkManager(), name, priority) { 40 40 main_tab = new Tab(getFrameworkManager()->GetTabWidget(), name); 41 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1081, 1);41 MatrixDescriptor *desc = new MatrixDescriptor(1081, 1); 42 42 output = new Matrix((IODevice *)this, desc, SignedIntegerType(16)); 43 43 delete desc; -
trunk/lib/FlairSensorActuator/src/LaserRangeFinder.cpp
r214 r318 37 37 LaserRangeFinder::LaserRangeFinder(string name) 38 38 : IODevice(getFrameworkManager(), name) { 39 cvmatrix_descriptor *desc = new cvmatrix_descriptor(360, 1);39 MatrixDescriptor *desc = new MatrixDescriptor(360, 1); 40 40 output = new Matrix(this, desc, floatType); 41 41 delete desc; -
trunk/lib/FlairSensorActuator/src/PressureSensor.cpp
r216 r318 36 36 plot_tab = NULL; 37 37 38 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1, 1);38 MatrixDescriptor *desc = new MatrixDescriptor(1, 1); 39 39 desc->SetElementName(0, 0, name); 40 40 output = new Matrix(this, desc, floatType); -
trunk/lib/FlairSensorActuator/src/RadioReceiver.cpp
r214 r318 38 38 39 39 // init matrix 40 cvmatrix_descriptor *desc = new cvmatrix_descriptor(nb_channels, 1);40 MatrixDescriptor *desc = new MatrixDescriptor(nb_channels, 1); 41 41 for (int i = 0; i < nb_channels; i++) { 42 42 ostringstream channel_name; -
trunk/lib/FlairSensorActuator/src/UsRangeFinder.cpp
r221 r318 36 36 plot_tab = NULL; 37 37 38 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1, 1);38 MatrixDescriptor *desc = new MatrixDescriptor(1, 1); 39 39 desc->SetElementName(0, 0, name); 40 40 output = new Matrix(this, desc, floatType); -
trunk/lib/FlairSensorActuator/src/VrpnObject_impl.cpp
r309 r318 59 59 60 60 // state 61 cvmatrix_descriptor *desc = new cvmatrix_descriptor(7, 1);61 MatrixDescriptor *desc = new MatrixDescriptor(7, 1); 62 62 desc->SetElementName(0, 0, "q0"); 63 63 desc->SetElementName(1, 0, "q1"); … … 70 70 delete desc; 71 71 72 desc = new cvmatrix_descriptor(3, 1);72 desc = new MatrixDescriptor(3, 1); 73 73 desc->SetElementName(0, 0, "roll"); 74 74 desc->SetElementName(1, 0, "pitch");
Note:
See TracChangeset
for help on using the changeset viewer.