We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scout_mini_omni_demo.cpp sample code can run normally, so I added the following code:
auto SensorState = scout->GetCommonSensorState(); std::cout << "Battery information (power, health, voltage, current, temperature): " << SensorState.bms_basic_state.battery_soc1<< ", " << SensorState.bms_basic_state.battery_soh<< ", " << SensorState.bms_basic_state.voltage<< ", " << SensorState.bms_basic_state.current<< ", " << SensorState.bms_basic_state.temperature << std::endl;
The output shows: Battery information (power, health, voltage, current, temperature): , , 0, 0, 0 What's going on here?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
scout_mini_omni_demo.cpp sample code can run normally, so I added the following code:
auto SensorState = scout->GetCommonSensorState();
std::cout << "Battery information (power, health, voltage, current, temperature): "
<< SensorState.bms_basic_state.battery_soc1<< ", "
<< SensorState.bms_basic_state.battery_soh<< ", "
<< SensorState.bms_basic_state.voltage<< ", "
<< SensorState.bms_basic_state.current<< ", "
<< SensorState.bms_basic_state.temperature
<< std::endl;
The output shows:
Battery information (power, health, voltage, current, temperature): , , 0, 0, 0
What's going on here?
The text was updated successfully, but these errors were encountered: