Skip to content

Instantly share code, notes, and snippets.

@jeguzzi
jeguzzi / intro_ros.md
Last active September 13, 2025 01:25
Introduction to ROS
@jeguzzi
jeguzzi / Instructions.md
Last active February 25, 2024 20:29
How to compile CoppeliaSim on Linux

How to compile CoppeliaSim (v4.4) from source on Linux

Tested on Ubuntu 22.04 (arm64 and x64)

  1. Install dependicies

  • pip: sudo apt install python3-pip
  • colcon: pip install -U colcon-common-extensions
steps: 600
time_step: 0.03
scenario:
type: CrossTorus
side: 10
groups:
- type: wheelchair
color: darkred
number: 4
radius: 0.25
from navground import sim
from navground.learning import ControlActionConfig, DefaultObservationConfig, GroupConfig
from navground.learning.parallel_env import parallel_env, make_vec_from_penv
from navground.learning.rewards import SocialReward
from stable_baselines3 import SAC
# 1. Load a scenario
scenario = sim.load_scenario(...)
# 2. Create a training environmnent