osrf / mbari_wec_gz

Simulation of wave energy harvesting buoy
Apache License 2.0
18 stars 2 forks source link

Adding battery controller #128

Closed quarkytale closed 1 year ago

quarkytale commented 1 year ago

Battery controller for simulating battery messages via BCRecord.msg.

$ ros2 topic echo /battery_data
header:
  stamp:
    sec: 0
    nanosec: 68000000
  frame_id: ''
seq_num: 0
voltage: 325.0
ips: 0.0
vbalance: 2.759999990463257
vstopcharge: 2.7899999618530273
gfault: 0.05999999865889549
hydrogen: 3.259999990463257
status: 11264
andermi commented 1 year ago

Looks great so far! I know it's still a draft, but I just added a couple comments