rosin-project / metacontrol_sim

2 stars 4 forks source link

Create observer for the power consumption #6

Closed chcorbato closed 4 years ago

chcorbato commented 4 years ago

Fake one but based on Harsh observer Requirement is to output the proper diagnostic message

marioney commented 4 years ago

The input topic should be /power_load it's being published by the battery load controller (see #8 )

chcorbato commented 4 years ago

@darkobozhinoski can you point to the code that addresses this issue?

darkobozhinoski commented 4 years ago

@chcorbato Here there are the info for the energy_observer. https://github.com/rosin-project/rosgraph_monitor/blob/observers/src/rosgraph_monitor/observers/quality_observer.py

In the metacontroller, you can subscribe to the /diagnostics topic

https://github.com/rosin-project/rosgraph_monitor/blob/observers/src/rosgraph_monitor/observer.py

chcorbato commented 4 years ago

@darkobozhinoski do you confirm that we can close this issue?

chcorbato commented 4 years ago

See https://github.com/rosin-project/rosgraph_monitor/blob/observers/src/rosgraph_monitor/observers/energy_quality_observer.py