Code Monkey home page Code Monkey logo

rmf_battery's Introduction

rmf_battery

codecov

The rmf_battery package provides the following APIs to model a robot's battery life.

  • rmf_battery::agv::BatterySystem which bundles parameters related to the battery onboard a robot.
  • rmf_battery::agv::MechanicalSystem which bundles physical parameters of a robot.
  • rmf_battery::agv::PowerSystem to model a component onboard a robot with a specified power rating.
  • rmf_battery::DevicePowerSink is a pure abstract class to model the change in state-of-charge of the robot's battery from a power consuming device onboard the robot.
    • rmf_battery::agv::SimpleDevicePowerSink is a simple out-of-the-box implementation of rmf_battery::DevicePowerSink. This class wraps a BatterySystem and PowerSystem of a robot, and can estimate the change in state-of-charge of the battery from the PowerSystem's energy consumption over a duration.
  • rmf_battery::MotionPowerSink to model the change in state-of-charge of the robot's battery resulting from the motion of the robot.
    • rmf_battery::agv::SimpleMotionPowerSink is a simple out-of-the-box implementation of rmf_battery::MotionPowerSink. This class wraps a BatterySystem and MechanicalSystem of a robot, and can estimate the change in state-of-charge of the battery from the energy consumed to accelerate/decelerate a robot as it moves along a trajectory.

Full API documentation is available here

rmf_battery's People

Contributors

aaronchongth avatar arjo129 avatar briancbn avatar codebot avatar cottsay avatar ddengster avatar gbiggs avatar lingfei93 avatar marcoag avatar mxgrey avatar orensbruli avatar yadunund avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rmf_battery's Issues

Cannot find the rmf_battery package after colcon build

Bug report

Required information:

  • Operating system and version:
    • Ubuntu 20.04
  • OpenRMF installation type:
    • source
  • OpenRMF version or commit hash
    • main branch ros2
  • ROS distribution and version:
    • galactic
  • ROS installation type:
    • source

Description of the bug

I cannot find the rmf_battery package after colcon build

When I colcon build, everything was ok:
colcon build --packages-up-to rmf_battery

Starting >>> rmf_traffic
[0.355s] WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/user/ros2_workspaces/test_ros2_ws/install/demo_pkg' in the environment variable AMENT_PREFIX_PATH doesn't exist
[0.356s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/user/ros2_workspaces/test_ros2_ws/install/demo_pkg' in the environment variable CMAKE_PREFIX_PATH doesn't exist
[0.356s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/user/ros2_workspaces/test_ros2_ws/install/rmf_battery' in the environment variable CMAKE_PREFIX_PATH doesn't exist
[Processing: rmf_traffic]
[Processing: rmf_traffic]
[Processing: rmf_traffic]
[Processing: rmf_traffic]
Finished <<< rmf_traffic [2min 16s]
Starting >>> rmf_battery
Finished <<< rmf_battery [15.7s]

Summary: 2 packages finished [2min 32s]

But when I look for the package by ros2 pkg prefix --share rmf_battery
It outputs:

Package not found

Is this because of using eigen3_cmake_module instead of ament_cmake ?

Build failure on rolling, jammy

CI failure: https://github.com/open-rmf/rmf_battery/actions/runs/4738634484

  CMake Error at thirdparty/fcl/CMakeLists.txt:225 (message):
    CCD is required by FCL
  
  
  -- Configuring incomplete, errors occurred!
  See also "/__w/rmf_battery/rmf_battery/ros_ws/build/rmf_traffic/CMakeFiles/CMakeOutput.log".
  See also "/__w/rmf_battery/rmf_battery/ros_ws/build/rmf_traffic/CMakeFiles/CMakeError.log".
  ---
  --- stderr: rmf_traffic
  CMake Error at thirdparty/fcl/CMakeLists.txt:225 (message):
    CCD is required by FCL
  
  
  ---
  Failed   <<< rmf_traffic [0.83s, exited with code 1]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.