| doc | |
| bitrl | |
| libs | |
| bitrl | |
| examples | |
| 01_basics | |
| discounted_returns | |
| discounted_returns.cpp | |
| importance_sampling | |
| importance_sampling.cpp | |
| markov_chain | |
| markov_chain.cpp | |
| monte_carlo_integration | |
| monte_carlo_integration.cpp | |
| 02_pytorch | |
| cuda_vector_addition | |
| pytorch_custom_model | |
| pytorch_custom_model.cpp | |
| pytorch_linear_regression | |
| pytorch_linear_regression.cpp | |
| pytorch_policy_network | |
| pytorch_policy_network.cpp | |
| pytorch_tensors | |
| pytorch_tensors.cpp | |
| 03_experiments | |
| common | |
| cliff_walk.h | |
| export_policy | |
| export_policy.cpp | |
| log_experiment | |
| log_experiment.cpp | |
| plot.py | |
| tensorboard | |
| tensorboard.cpp | |
| 04_environments | |
| acrobot_vector_env | |
| acrobot_vector_env.cpp | |
| connect2 | |
| connect2.cpp | |
| grid_world | |
| grid_world.cpp | |
| gym_walk | |
| gym_walk.cpp | |
| gymnasium_part_1 | |
| gymnasium_part_1.cpp | |
| gymnasium_part_2 | |
| gymnasium_part_2.cpp | |
| gymnasium_part_3 | |
| gymnasium_part_3.cpp | |
| 05_bandits | |
| multi_armed_bandits | |
| multi_armed_bandits.cpp | |
| plot.py | |
| softmax_bandits | |
| softmax_bandits.cpp | |
| 06_dynamic_programming | |
| iterative_policy_evaluation | |
| iterative_policy_evaluation.cpp | |
| plot.py | |
| policy_iteration | |
| plot.py | |
| policy_iteration.cpp | |
| value_iteration | |
| play.py | |
| plot.py | |
| value_iteration.cpp | |
| 07_monte_carlo | |
| first_visit_monte_carlo | |
| first_visit_monte_carlo.cpp | |
| 08_temporal_difference | |
| double_q_learning | |
| double_q_learning.cpp | |
| expected_sarsa | |
| expected_sarsa.cpp | |
| q_learning | |
| play.py | |
| plot.py | |
| q_learning.cpp | |
| sarsa | |
| play.py | |
| plot.py | |
| sarsa.cpp | |
| 09_deep_rl | |
| a2c | |
| a2c.cpp | |
| plot.py | |
| dqn | |
| dqn.cpp | |
| plot_losses.py | |
| dqn_experience_replay | |
| dqn_experience_replay.cpp | |
| plot_losses.py | |
| ppo_cartpole | |
| ppo_cartpole.cpp | |
| ppo_distributed | |
| ppo_distributed.cpp | |
| ppo_lunar_lander | |
| ppo_lunar_lander.cpp | |
| ppo_parallel_rollouts | |
| ppo_parallel_rollouts.cpp | |
| reinforce | |
| plot.py | |
| reinforce.cpp | |
| reinforce_baseline | |
| plot.py | |
| reinforce_baseline.cpp | |
| 10_robotics | |
| chrono_rl_env | |
| chrono_rl_env.cpp | |
| chrono_smc_system | |
| chrono_smc_system.cpp | |
| robot.h | |
| robot_env.h | |
| mcts_line_following | |
| mcts_line_following.cpp | |
| 11_multi_agent | |
| multi_agent_grid_world | |
| multi_agent_grid_world.cpp | |
| multi_robot_navigation | |
| multi_robot_navigation.cpp | |
| 12_distributed_multi_agent | |
| distributed_independent_learners | |
| distributed_independent_learners.cpp | |
| distributed_robot_navigation | |
| distributed_robot_navigation.cpp | |
| 13_evolution_strategies | |
| es_cart_pole_swing_up | |
| es_cart_pole_swing_up.cpp | |
| es_distributed | |
| es_distributed.cpp | |
| example_24 | |
| controllers | |
| a2c_contrller_epuck_world_1 | |
| a2c_contrller_epuck_world_1.cpp | |
| rl_example_21.cpp | |
| example_5 | |
| example_5.cpp | |
| ml | |
| ml_example_1 | |
| ml_example_1.cpp | |
| ml_example_2 | |
| ml_example_2.cpp | |
| torch | |
| example_11 | |
| example_11.cpp | |
| path_tracking | |
| path_track_example_1 | |
| path_track_example_1.cpp | |
| tools | |
| bandit_gif.py | |
| cart_pole_gif.py | |
| episode_gif.py | |
| grid_world_gif.py | |
| multi_agent_gif.py | |
| value_gif.py | |
| include | |
| bitrl | |
| base | |
| bitrl_log.h | Bitrl's logging: the logger of bitsim, bitsim/utils/logger.h, with bitrl's messages going to the logger named "bitrl" |
| bitrl_types.h | |
| torch_tensor_utils.h | |
| envs | |
| classic_control | |
| cart_pole.h | |
| cart_pole_swing_up.h | |
| connect2 | |
| connect2_env.h | |
| gdrl | |
| gym_walk.h | |
| grid_world | |
| grid_world_env.h | |
| gymnasium | |
| box2d | |
| lunar_lander_env.h | |
| classic_control | |
| vector | |
| acrobot_vec_env.h | |
| acrobot_env.h | |
| cart_pole_env.h | |
| mountain_car_env.h | |
| pendulum_env.h | |
| toy_text | |
| black_jack_env.h | |
| cliff_world_env.h | |
| frozen_lake_env.h | |
| taxi_env.h | |
| toy_text_base.h | |
| gymnasium_env_base.h | |
| gymnasium_vector_env_base.h | |
| multi_agent | |
| distributed_agent_env.h | |
| multi_agent_env_base.h | |
| multi_agent_grid_world.h | |
| multi_agent_time_step.h | |
| multi_robot_navigation.h | |
| multi_armed_bandits | |
| multi_armed_bandits.h | |
| env_base.h | |
| env_types.h | |
| envs_utils.h | |
| parallel_envs.h | |
| space_type.h | |
| time_step.h | |
| time_step_type.h | |
| vector_time_step.h | |
| maths | |
| optimization | |
| optimizer_type.h | |
| pytorch_optimizer_factory.h | |
| statistics | |
| distributions | |
| torch_bernoulli_dist.h | |
| torch_categorical.h | |
| torch_distribution.h | |
| torch_normal.h | |
| lp_metric.h | |
| lp_metric_impl.h | |
| matrix_utilities.h | |
| vector_math.h | |
| network | |
| rest_rl_env_client.h | |
| tensorboard_server.h | |
| rl | |
| agents | |
| dummy_agent.h | |
| algorithms | |
| dp | |
| dp_algo_base.h | |
| iterative_policy_evaluation.h | |
| policy_improvement.h | |
| policy_iteration.h | |
| value_iteration.h | |
| es | |
| es_config.h | |
| evolution_strategy.h | |
| mlp_policy.h | |
| mc | |
| first_visit_mc.h | |
| mc_tree_search_solver.h | |
| mcts_node.h | |
| pg | |
| a2c.h | |
| a2c_config.h | |
| a2c_monitor.h | |
| actor_critic_solver_base.h | |
| distributed_ppo.h | |
| parallel_ppo.h | |
| ppo.h | |
| ppo_config.h | |
| reinforce.h | |
| reinforce_config.h | |
| reinforce_loss.h | |
| reinforce_monitor.h | |
| td | |
| double_q_learning.h | |
| expected_sarsa.h | |
| q_learning.h | |
| sarsa.h | |
| td_algo_base.h | |
| rl_algo_config.h | |
| rl_algorithm_base.h | |
| utils.h | |
| distributed | |
| communicator.h | |
| torch_parameters.h | |
| multi_agent | |
| agent_trainer.h | |
| independent_q_learning.h | |
| multi_agent_trainer.h | |
| q_learning_agent.h | |
| policies | |
| adaptors | |
| policy_stochastic_adaptor.h | |
| deterministic_action_policy.h | |
| epsilon_double_qtable_greedy_policy.h | |
| epsilon_greedy_policy.h | |
| max_tabular_policy.h | |
| policy_base.h | |
| policy_type.h | |
| random_tabular_policy.h | |
| softmax_policy.h | |
| uniform_discrete_policy.h | |
| trainers | |
| rl_serial_agent_trainer.h | |
| worlds | |
| envs_concepts.h | |
| with_dynamics_mixin.h | |
| episode_info.h | |
| epsilon_decay_options.h | |
| learning_rate_scheduler.h | |
| rl_mixins.h | |
| utils | |
| bitrl_concepts.h | |
| bitrl_traits.h | |
| experience_buffer.h | |
| iterative_algorithm_controller.h | |
| iterative_algorithm_result.h | |
| lambda_utils.h | |
| loss_type.h | |
| torch_adaptor.h | |
| train_enum_type.h | |
| bitsim | |
| doc | |
| examples | |
| 01_basics | |
| basic_types | |
| basic_types.cpp | |
| 02_frames_and_rotations | |
| frames | |
| frames.cpp | |
| rotation_matrices | |
| rotation_matrices.cpp | |
| 03_kinematics | |
| diff_drive_kinematics | |
| diff_drive_kinematics.cpp | |
| forward_kinematics | |
| forward_kinematics.cpp | |
| inverse_kinematics | |
| inverse_kinematics.cpp | |
| 04_trajectories | |
| point_to_point | |
| point_to_point.cpp | |
| 05_motion_planning | |
| grid_planning | |
| grid_planning.cpp | |
| occupancy_mapping | |
| occupancy_mapping.cpp | |
| rrt | |
| rrt.cpp | |
| 06_sensors_and_actuators | |
| bldc_motor | |
| bldc_motor.cpp | |
| chrono_ultrasonic_sensor | |
| chrono_ultrasonic_sensor.cpp | |
| 07_simulation | |
| chrono_diff_drive | |
| chrono_diff_drive.cpp | |
| chrono_rigid_body | |
| chrono_rigid_body.cpp | |
| chrono_rigid_body_simulation | |
| chrono_rigid_body_simulation.cpp | |
| line_following_infrared_sonar | |
| line_following_infrared_sonar.cpp | |
| 08_state_estimation | |
| ekf_sensor_fusion | |
| ekf_sensor_fusion.cpp | |
| ekf_sensor_fusion_mqtt | |
| ekf_sensor_fusion_mqtt.cpp | |
| extended_kalman_filter.py | |
| plot.py | |
| ekf_slam | |
| ekf_slam.cpp | |
| ekf_slam_data_association | |
| ekf_slam_data_association.cpp | |
| extended_kalman_filter | |
| extended_kalman_filter.cpp | |
| plot.py | |
| imu_heading | |
| imu_heading.cpp | |
| kalman_filter | |
| kalman_filter.cpp | |
| plot.py | |
| wheel_odometry | |
| wheel_odometry.cpp | |
| 09_hardware_in_the_loop | |
| arduino_usb | |
| arduino_usb.cpp | |
| arduino_wifi | |
| arduino_wifi.cpp | |
| mqtt_camera | |
| camera_feed.py | |
| mqtt_camera.cpp | |
| mqtt_ultrasonic_sensor | |
| feed.py | |
| mqtt_ultrasonic_sensor.cpp | |
| pi_camera_line_following | |
| pi_camera_server | |
| camera_server.py | |
| pi_camera_line_following.cpp | |
| real_dc_motors | |
| real_dc_motors_board | |
| arduino_secrets.example.h | |
| real_dc_motors.cpp | |
| 10_control | |
| cart_pole_lqr_mpc | |
| cart_pole_lqr_mpc.cpp | |
| diff_drive_mpc | |
| diff_drive_mpc.cpp | |
| fixed_wing_flight | |
| fixed_wing_flight.cpp | |
| fixed_wing_lqr_mpc | |
| fixed_wing_lqr_mpc.cpp | |
| quadrotor_dynamics | |
| plot.py | |
| quadrotor_dynamics.cpp | |
| quadrotor_lqr | |
| quadrotor_lqr.cpp | |
| quadrotor_rc_simulation | |
| quadrotor_rc_simulation.cpp | |
| 11_parallel | |
| parallel_monte_carlo | |
| parallel_monte_carlo.cpp | |
| producer_consumer | |
| producer_consumer.cpp | |
| thread_pool_basics | |
| thread_pool_basics.cpp | |
| 12_distributed_simulation | |
| distributed_chrono_robots | |
| distributed_chrono_robots.cpp | |
| distributed_robots | |
| distributed_robots.cpp | |
| hardware_in_the_loop_sync | |
| hardware_in_the_loop_sync.cpp | |
| 13_co_simulation | |
| distributed_towing | |
| distributed_towing.cpp | |
| plot.py | |
| two_mass_oscillator | |
| plot.py | |
| two_mass_oscillator.cpp | |
| src | |
| bitsim | |
| actuators | |
| backends | |
| dc_motor_backend_base.h | |
| mqtt_dc_motor_backend.cpp | |
| mqtt_dc_motor_backend.h | |
| sim_dc_motor_backend.cpp | |
| sim_dc_motor_backend.h | |
| bldc_motor.cpp | |
| bldc_motor.h | |
| dc_motor.cpp | |
| dc_motor.h | |
| boards | |
| arduino | |
| arduino_connector_base.h | |
| arduino_connector_usb_base.cpp | |
| arduino_connector_usb_base.h | |
| arduino_connector_wifi_base.cpp | |
| arduino_connector_wifi_base.h | |
| dc_arduino_board_impl.cpp | |
| dc_arduino_board_impl.h | |
| dc_motor_board_base.h | |
| rc_transmitter_base.h | |
| sim_rc_link.cpp | |
| sim_rc_link.h | |
| control | |
| control_module.h | |
| fixed_wing_autopilot.cpp | |
| fixed_wing_autopilot.h | |
| fixed_wing_mission.cpp | |
| fixed_wing_mission.h | |
| infrared_line_follower.cpp | |
| infrared_line_follower.h | |
| linear_mpc.cpp | |
| linear_mpc.h | |
| lqr.cpp | |
| lqr.h | Linear quadratic regulators: the Riccati equations, the discretisation of a linear model, and the state feedback about an operating point |
| pi_controller.cpp | |
| pi_controller.h | |
| pid_controller.cpp | |
| pid_controller.h | |
| quadrotor_flight_controller.cpp | |
| quadrotor_flight_controller.h | |
| rc_command.h | |
| cosim | |
| co_simulation.cpp | |
| co_simulation.h | |
| cosim_participant.cpp | |
| cosim_participant.h | |
| cosim_subsystem.cpp | |
| cosim_subsystem.h | |
| coupling.cpp | |
| coupling.h | |
| distributed | |
| chrono_ghosts.cpp | |
| chrono_ghosts.h | |
| mqtt_transport.cpp | |
| mqtt_transport.h | |
| state_message.cpp | |
| state_message.h | |
| synchroniser.cpp | |
| synchroniser.h | |
| transport.cpp | |
| transport.h | |
| dynamics | |
| bicycle_vehicle_model_dynamics.cpp | |
| bicycle_vehicle_model_dynamics.h | |
| cart_pole_dynamics.cpp | |
| cart_pole_dynamics.h | |
| diff_drive_dynamics.cpp | |
| diff_drive_dynamics.h | |
| dynamics_matrix_descriptor.cpp | |
| dynamics_matrix_descriptor.h | |
| fixed_wing_dynamics.cpp | |
| fixed_wing_dynamics.h | |
| fixed_wing_trim.cpp | |
| fixed_wing_trim.h | The trim of a fixed wing aircraft for level flight, its linear model about a trim, and the modes of that model |
| motion_model_base.h | |
| quadrotor_dynamics.cpp | |
| quadrotor_dynamics.h | |
| system_state.h | |
| estimation | |
| diff_drive_ekf.cpp | |
| diff_drive_ekf.h | |
| diff_drive_odometry.cpp | |
| diff_drive_odometry.h | |
| ekf_slam.cpp | |
| ekf_slam.h | |
| extended_kalman_filter.h | |
| gyro_heading.cpp | |
| gyro_heading.h | |
| kalman_filter.h | |
| kf_model_base.h | |
| geometry | |
| shapes | |
| circle.h | |
| generic_line.h | |
| geom_point.h | |
| rotations.cpp | |
| rotations.h | Rotation matrices: the elementary rotations, checks, and yaw, pitch and roll angles. Needs bitsim built with Chrono |
| kinematics | |
| denavit_hartenberg.h | |
| joint.h | |
| kinematics.cpp | |
| kinematics_module.h | |
| planar_arm.h | |
| spatial_arm.h | |
| maths | |
| optimization | |
| qp_solver.cpp | |
| qp_solver.h | |
| statistics | |
| distributions | |
| bernoulli_dist.cpp | |
| bernoulli_dist.h | |
| beta_dist.h | |
| normal_dist.h | |
| uniform_distribution.h | |
| math_utils.h | |
| network | |
| mqtt_publisher.cpp | |
| mqtt_publisher.h | |
| mqtt_subscriber.cpp | |
| mqtt_subscriber.h | |
| planning | |
| a_star_search.cpp | |
| a_star_search.h | |
| box_world.cpp | |
| box_world.h | |
| grid_search.cpp | |
| grid_search.h | |
| occupancy_grid.cpp | |
| occupancy_grid.h | |
| planning_module.h | |
| probability_grid.cpp | |
| probability_grid.h | |
| rrt.cpp | |
| rrt.h | |
| rigid_bodies | |
| chrono_robots | |
| chrono_robot_pose.h | |
| contact_counter.cpp | |
| contact_counter.h | |
| diff_drive_robot.cpp | |
| diff_drive_robot.h | |
| rb_chrono_module.h | |
| sensors | |
| backends | |
| camera_backend_base.h | |
| chrono_imu_backend.cpp | |
| chrono_imu_backend.h | |
| chrono_infrared_backend.cpp | |
| chrono_infrared_backend.h | |
| chrono_ultrasound_backend.cpp | |
| chrono_ultrasound_backend.h | |
| imu_backend_base.cpp | |
| imu_backend_base.h | |
| infrared_backend_base.cpp | |
| infrared_backend_base.h | |
| mjpeg_http_camera_backend.cpp | |
| mjpeg_http_camera_backend.h | |
| mqtt_imu_backend.cpp | |
| mqtt_imu_backend.h | |
| mqtt_infrared_backend.cpp | |
| mqtt_infrared_backend.h | |
| mqtt_sensor_channel.cpp | |
| mqtt_sensor_channel.h | |
| mqtt_ultrasound_backend.cpp | |
| mqtt_ultrasound_backend.h | |
| range_sensor_backend_base.cpp | |
| range_sensor_backend_base.h | |
| sensor_backend_base.h | |
| sensors_backend_module.h | |
| messages | |
| camera.cpp | |
| camera.h | |
| imu.cpp | |
| imu.h | |
| infrared.cpp | |
| infrared.h | |
| message_base.cpp | |
| message_base.h | |
| odometry.cpp | |
| odometry.h | |
| ultrasound.cpp | |
| ultrasound.h | |
| vector_message.h | |
| downward_camera.cpp | |
| downward_camera.h | |
| imu_sensor.cpp | |
| imu_sensor.h | |
| infrared_sensor.cpp | |
| infrared_sensor.h | |
| sensor_base.cpp | |
| sensor_base.h | |
| sensor_manager.cpp | |
| sensor_manager.h | |
| sensors_module.h | |
| ultrasonic_sensor.cpp | |
| ultrasonic_sensor.h | |
| systems | |
| double_pendulum_system.cpp | |
| double_pendulum_system.h | |
| trajectory | |
| line_segment_link.h | |
| rounded_rectangle.cpp | |
| rounded_rectangle.h | |
| time_scaling.cpp | |
| time_scaling.h | |
| waypoint.h | |
| waypoint_trajectory.h | |
| utils | |
| concurrency | |
| concurrent_queue.h | |
| parallel.h | |
| thread_pool.cpp | |
| thread_pool.h | |
| io | |
| csv_file_reader.cpp | |
| csv_file_reader.h | |
| csv_file_writer.cpp | |
| csv_file_writer.h | |
| file_formats.cpp | |
| file_formats.h | |
| file_handler_base.h | |
| file_reader_base.cpp | |
| file_reader_base.h | |
| file_writer_base.cpp | |
| file_writer_base.h | |
| io_utils.cpp | |
| io_utils.h | |
| json_file_reader.cpp | |
| json_file_reader.h | |
| print_utils.cpp | |
| print_utils.h | Print labelled values, one per line, as the examples do: two spaces, the label padded to a width, and the value. Numbers smaller than 5e-4 print as 0, so that round-off does not show as -0.000. The overloads for Chrono vectors, matrices and frames need bitsim built with Chrono |
| render | |
| irrlicht_scene.cpp | |
| irrlicht_scene.h | Pieces of an Irrlicht window for a robot simulation: a texture on the floor, a path drawn behind a robot, the view of a camera on the robot in a corner of the window, and a recorder that writes the window to numbered pictures. Needs bitsim built with Chrono and Irrlicht |
| irrlicht_utils.cpp | |
| irrlicht_utils.h | |
| keyboard_rc.cpp | |
| keyboard_rc.h | Fly a quadrotor from the keyboard of an Irrlicht window, as with the sticks of a transmitter. Needs bitsim built with Chrono and Irrlicht |
| quadrotor_view.cpp | |
| quadrotor_view.h | An Irrlicht window that shows quadrotors flying over a tiled floor. Needs bitsim built with Chrono and Irrlicht |
| bitsim_utils.h | |
| iteration_counter.h | |
| logger.cpp | |
| logger.h | Logging for bitsim and the libraries built on it, on top of spdlog |
| std_map_utils.h | Various utilities for std::map |
| timing.h | Wall clock helpers for running a simulation in real time |
| unit_converter.h | Various unit conversion utilities |
| bitsim_consts.cpp | |
| bitsim_consts.h | |
| bitsim_export.h | |
| bitsim_types.h | The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through the aliases defined here |