mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-09 17:42:22 +03:00
26 lines
525 B
Nix
Executable file
26 lines
525 B
Nix
Executable file
# Run:
|
|
# roslaunch turtlebot3_gazebo turtlebot3_world.launch
|
|
# roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
|
|
|
|
{ pkgs ? import ../. {} }:
|
|
with pkgs;
|
|
with rosPackages.noetic;
|
|
with pythonPackages;
|
|
|
|
mkShell {
|
|
buildInputs = [
|
|
glibcLocales
|
|
(buildEnv { paths = [
|
|
rosbash
|
|
turtlebot3-description
|
|
turtlebot3-teleop
|
|
turtlebot3-gazebo
|
|
gazebo-plugins
|
|
xacro
|
|
]; })
|
|
];
|
|
|
|
ROS_HOSTNAME = "localhost";
|
|
ROS_MASTER_URI = "http://localhost:11311";
|
|
TURTLEBOT3_MODEL = "burger";
|
|
}
|