Public Member Functions | Public Attributes | Static Public Attributes | List of all members
leo_fw.test_hw.HardwareTester Class Reference

Public Member Functions

None __init__ (self)
 
None battery_callback (self, Float32 data)
 
None check_battery (self)
 
None check_encoder (self)
 
None check_imu (self)
 
None check_motor_load (self)
 
None check_torque (self)
 
None imu_callback (self, Imu data)
 
None test_hw (self, TestMode hardware=TestMode.ALL)
 
None wheel_callback (self, WheelStates data)
 

Public Attributes

 battery_sub
 Subscriber. More...
 
 cmd_pwmfl_pub
 
 cmd_pwmfr_pub
 
 cmd_pwmrl_pub
 
 cmd_pwmrr_pub
 
 cmd_vel_pub
 Publisher. More...
 
 cmd_velfl_pub
 
 cmd_velfr_pub
 
 cmd_velrl_pub
 
 cmd_velrr_pub
 
 imu_sub
 
 is_new_battery_data
 
 is_new_imu_data
 
 is_new_wheel_data
 
 is_wheel_loaded
 
 path
 
 rospack
 
 wheel_sub
 

Static Public Attributes

 battery_data = Float32()
 
 imu_data = Imu()
 
int is_new_battery_data = 0
 
int is_new_imu_data = 0
 
int is_new_wheel_data = 0
 
int is_wheel_loaded = 1
 
 wheel_data = WheelStates()
 

Detailed Description

Definition at line 28 of file test_hw.py.

Constructor & Destructor Documentation

◆ __init__()

None leo_fw.test_hw.HardwareTester.__init__ (   self)

Definition at line 38 of file test_hw.py.

Member Function Documentation

◆ battery_callback()

None leo_fw.test_hw.HardwareTester.battery_callback (   self,
Float32  data 
)

Definition at line 80 of file test_hw.py.

◆ check_battery()

None leo_fw.test_hw.HardwareTester.check_battery (   self)

Definition at line 243 of file test_hw.py.

◆ check_encoder()

None leo_fw.test_hw.HardwareTester.check_encoder (   self)

Definition at line 122 of file test_hw.py.

◆ check_imu()

None leo_fw.test_hw.HardwareTester.check_imu (   self)

Definition at line 200 of file test_hw.py.

◆ check_motor_load()

None leo_fw.test_hw.HardwareTester.check_motor_load (   self)

Definition at line 92 of file test_hw.py.

◆ check_torque()

None leo_fw.test_hw.HardwareTester.check_torque (   self)

Definition at line 161 of file test_hw.py.

◆ imu_callback()

None leo_fw.test_hw.HardwareTester.imu_callback (   self,
Imu  data 
)

Definition at line 84 of file test_hw.py.

◆ test_hw()

None leo_fw.test_hw.HardwareTester.test_hw (   self,
TestMode   hardware = TestMode.ALL 
)

Definition at line 269 of file test_hw.py.

◆ wheel_callback()

None leo_fw.test_hw.HardwareTester.wheel_callback (   self,
WheelStates  data 
)

Definition at line 88 of file test_hw.py.

Member Data Documentation

◆ battery_data

leo_fw.test_hw.HardwareTester.battery_data = Float32()
static

Definition at line 36 of file test_hw.py.

◆ battery_sub

leo_fw.test_hw.HardwareTester.battery_sub

Subscriber.

Definition at line 72 of file test_hw.py.

◆ cmd_pwmfl_pub

leo_fw.test_hw.HardwareTester.cmd_pwmfl_pub

Definition at line 45 of file test_hw.py.

◆ cmd_pwmfr_pub

leo_fw.test_hw.HardwareTester.cmd_pwmfr_pub

Definition at line 51 of file test_hw.py.

◆ cmd_pwmrl_pub

leo_fw.test_hw.HardwareTester.cmd_pwmrl_pub

Definition at line 48 of file test_hw.py.

◆ cmd_pwmrr_pub

leo_fw.test_hw.HardwareTester.cmd_pwmrr_pub

Definition at line 54 of file test_hw.py.

◆ cmd_vel_pub

leo_fw.test_hw.HardwareTester.cmd_vel_pub

Publisher.

Definition at line 44 of file test_hw.py.

◆ cmd_velfl_pub

leo_fw.test_hw.HardwareTester.cmd_velfl_pub

Definition at line 57 of file test_hw.py.

◆ cmd_velfr_pub

leo_fw.test_hw.HardwareTester.cmd_velfr_pub

Definition at line 63 of file test_hw.py.

◆ cmd_velrl_pub

leo_fw.test_hw.HardwareTester.cmd_velrl_pub

Definition at line 60 of file test_hw.py.

◆ cmd_velrr_pub

leo_fw.test_hw.HardwareTester.cmd_velrr_pub

Definition at line 66 of file test_hw.py.

◆ imu_data

leo_fw.test_hw.HardwareTester.imu_data = Imu()
static

Definition at line 34 of file test_hw.py.

◆ imu_sub

leo_fw.test_hw.HardwareTester.imu_sub

Definition at line 78 of file test_hw.py.

◆ is_new_battery_data [1/2]

int leo_fw.test_hw.HardwareTester.is_new_battery_data = 0
static

Definition at line 31 of file test_hw.py.

◆ is_new_battery_data [2/2]

leo_fw.test_hw.HardwareTester.is_new_battery_data

Definition at line 82 of file test_hw.py.

◆ is_new_imu_data [1/2]

int leo_fw.test_hw.HardwareTester.is_new_imu_data = 0
static

Definition at line 29 of file test_hw.py.

◆ is_new_imu_data [2/2]

leo_fw.test_hw.HardwareTester.is_new_imu_data

Definition at line 86 of file test_hw.py.

◆ is_new_wheel_data [1/2]

int leo_fw.test_hw.HardwareTester.is_new_wheel_data = 0
static

Definition at line 30 of file test_hw.py.

◆ is_new_wheel_data [2/2]

leo_fw.test_hw.HardwareTester.is_new_wheel_data

Definition at line 90 of file test_hw.py.

◆ is_wheel_loaded [1/2]

int leo_fw.test_hw.HardwareTester.is_wheel_loaded = 1
static

Definition at line 32 of file test_hw.py.

◆ is_wheel_loaded [2/2]

leo_fw.test_hw.HardwareTester.is_wheel_loaded

Definition at line 107 of file test_hw.py.

◆ path

leo_fw.test_hw.HardwareTester.path

Definition at line 40 of file test_hw.py.

◆ rospack

leo_fw.test_hw.HardwareTester.rospack

Definition at line 39 of file test_hw.py.

◆ wheel_data

leo_fw.test_hw.HardwareTester.wheel_data = WheelStates()
static

Definition at line 35 of file test_hw.py.

◆ wheel_sub

leo_fw.test_hw.HardwareTester.wheel_sub

Definition at line 75 of file test_hw.py.


The documentation for this class was generated from the following file:


leo_fw
Author(s): Błażej Sowa , Aleksander Szymański
autogenerated on Sat Jul 6 2024 03:05:11