Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/blackcoffeerobotics/bcr_bot.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2024-04-02 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Gaurav Gupta
- Devanshu Sharma
Authors
New BCR Robot
https://github.com/blackcoffeerobotics/bcr_bot/assets/13151010/0fc570a3-c70c-415b-8222-b9573d5911c8
About
This repository contains a Gazebo simulation for a differential drive robot, equipped with an IMU, a depth camera, stereo camera and a 2D LiDAR. The primary contriution of this project is to support multiple ROS and Gazebo distros. Currently, the project supports the following versions -
- ROS Noetic + Gazebo Classic 11 (branch ros1)
- ROS2 Humble + Gazebo Classic 11 (branch ros2)
- ROS2 Humble + Gazebo Fortress (branch ros2)
Each of the following sections describes depedencies, build and run instructions for each of the above combinations
Noetic + Classic (Ubuntu 20.04)
Dependencies
In addition to ROS1 Noetic and Gazebo Classic installations, the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
catkin build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
roslaunch bcr_bot gazebo.launch
To view in rviz,
roslaunch bcr_bot rviz.launch
Configuration
The launch file accepts multiple launch arguments,
roslaunch bcr_bot gazebo.launch
camera_enabled:=True \
two_d_lidar_enabled:=True \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
odometry_source:=world \
world_file:=small_warehouse.world \
robot_namespace:="bcr_bot"
Note: To use stereo_image_proc with the stereo images excute following command:
ROS_NAMESPACE=bcr_bot/stereo_camera rosrun stereo_image_proc stereo_image_proc
Humble + Classic (Ubuntu 22.04)
Dependencies
In addition to ROS2 Humble and Gazebo Classic installations, we need to manually install gazebo_ros_pkgs (since the same branch supports Classic and Fortress)
sudo apt-get install ros-humble-gazebo-ros-pkgs
Remainder of the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
colcon build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
ros2 launch bcr_bot gazebo.launch.py
To view in rviz,
ros2 launch bcr_bot rviz.launch.py
Configuration
The launch file accepts multiple launch arguments,
ros2 launch bcr_bot gazebo.launch.py \
camera_enabled:=True \
two_d_lidar_enabled:=True \
stereo_camera_enabled:=False \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
odometry_source:=world \
world_file:=small_warehouse.sdf \
robot_namespace:="bcr_bot"
Note: To use stereo_image_proc with the stereo images excute following command:
ros2 launch stereo_image_proc stereo_image_proc.launch.py left_namespace:=bcr_bot/stereo_camera/left right_namespace:=bcr_bot/stereo_camera/right
Humble + Fortress (Ubuntu 22.04)
Dependencies
In addition to ROS2 Humble and Gazebo Fortress installations, we need to manually install interfaces between ROS2 and Gazebo sim as follows,
sudo apt-get install ros-humble-ros-gz-sim ros-humble-ros-gz-bridge ros-humble-ros-gz-interfaces
Remainder of the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
colcon build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
ros2 launch bcr_bot gz.launch.py
To view in rviz,
ros2 launch bcr_bot rviz.launch.py
Configuration
The launch file accepts multiple launch arguments,
ros2 launch bcr_bot gz.launch.py \
camera_enabled:=True \
stereo_camera_enabled:=False \
two_d_lidar_enabled:=True \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
odometry_source:=world \
world_file:=small_warehouse.sdf
Note: To use stereo_image_proc with the stereo images excute following command:
ros2 launch stereo_image_proc stereo_image_proc.launch.py left_namespace:=bcr_bot/stereo_camera/left right_namespace:=bcr_bot/stereo_camera/right
Simulation and Visualization
Gz Sim (Ignition Gazebo) (small_warehouse World):
Rviz (Depth camera) (small_warehouse World):
Changelog for package bcr_bot
1.0.2 (2024-04-02)
- Setting Gazebo resource paths through launch files
- Modified launch files to dynamically spawn bcr_bot
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | ament_cmake | |
1 | ament_index_python | |
1 | launch | |
2 | launch_ros | |
2 | robot_state_publisher | |
1 | xacro | |
1 | ament_cmake_gtest | |
1 | ament_lint_auto | |
1 | ament_lint_common |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged bcr_bot at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.0.1 |
License | Apache License 2.0 |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/blackcoffeerobotics/bcr_bot.git |
VCS Type | git |
VCS Version | ros1 |
Last Updated | 2024-03-28 |
Dev Status | DEVELOPED |
CI status | Continuous Integration : 0 / 0 |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Gaurav Gupta
- Devanshu Sharma
Authors
New BCR Robot
About
This repository contains a Gazebo simulation for a differential drive robot, equipped with an IMU, a depth camera and a 2D LiDAR. The primary contriution of this project is to support multiple ROS and Gazebo distros. Currently, the project supports the following versions -
- ROS Noetic + Gazebo Classic 11 (branch ros1)
- ROS2 Humble + Gazebo Classic 11 (branch ros2)
- ROS2 Humble + Gazebo Fortress (branch ros2)
Each of the following sections describes depedencies, build and run instructions for each of the above combinations
Noetic + Classic (Ubuntu 20.04)
Dependencies
In addition to ROS1 Noetic and Gazebo Classic installations, the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
catkin build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
roslaunch bcr_bot gazebo.launch
To view in rviz,
roslaunch bcr_bot rviz.launch
Configuration
The launch file accepts multiple launch arguments,
roslaunch bcr_bot gazebo.launch \
camera_enabled:=True \
two_d_lidar_enabled:=True \
stereo_camera_enabled:=True \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
odometry_source:=world \
world_file:=small_warehouse.world \
robot_namespace:="bcr_bot"
Note: To use stereo_image_proc with the stereo images excute following command:
ROS_NAMESPACE=bcr_bot/stereo_camera rosrun stereo_image_proc stereo_image_proc
Humble + Classic (Ubuntu 22.04)
Dependencies
In addition to ROS2 Humble and Gazebo Classic installations, we need to manually install gazebo_ros_pkgs (since the same branch supports Classic and Fortress)
sudo apt-get install ros-humble-gazebo-ros-pkgs
Remainder of the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
colcon build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
ros2 launch bcr_bot gazebo.launch.py
To view in rviz,
ros2 launch bcr_bot rviz.launch.py
Configuration
The launch file accepts multiple launch arguments,
ros2 launch bcr_bot gazebo.launch.py \
camera_enabled:=True \
two_d_lidar_enabled:=True \
stereo_camera_enabled:=False \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
odometry_source:=world \
world_file:=small_warehouse.sdf \
robot_namespace:="bcr_bot"
Note: To use stereo_image_proc with the stereo images excute following command:
ros2 launch stereo_image_proc stereo_image_proc.launch.py left_namespace:=bcr_bot/stereo_camera/left right_namespace:=bcr_bot/stereo_camera/right
Humble + Fortress (Ubuntu 22.04)
Dependencies
In addition to ROS2 Humble and Gazebo Fortress installations, we need to manually install interfaces between ROS2 and Gazebo sim as follows,
sudo apt-get install ros-humble-ros-gz-sim ros-humble-ros-gz-bridge ros-humble-ros-gz-interfaces
Remainder of the dependencies can be installed with rosdep
# From the root directory of the workspace. This will install everything mentioned in package.xml
rosdep install --from-paths src --ignore-src -r -y
Build
colcon build --packages-select bcr_bot
Run
To launch the robot in Gazebo,
ros2 launch bcr_bot gz.launch.py
To view in rviz,
ros2 launch bcr_bot rviz.launch.py
Configuration
The launch file accepts multiple launch arguments,
ros2 launch bcr_bot gz.launch.py \
camera_enabled:=True \
two_d_lidar_enabled:=True \
position_x:=0.0 \
position_y:=0.0 \
orientation_yaw:=0.0 \
world_file:=small_warehouse.sdf
Note: To use stereo_image_proc with the stereo images excute following command:
ros2 launch stereo_image_proc stereo_image_proc.launch.py left_namespace:=bcr_bot/stereo_camera/left right_namespace:=bcr_bot/stereo_camera/right
Simulation and Visualization
Gz Sim (Ignition Gazebo) (small_warehouse World):
Rviz (Depth camera) (small_warehouse World):
Changelog for package bcr_bot
0.0.1 (2023-12-20)
- added stereo camera
- New Chassis, Updated URDF, new small_warehouse World, Updated readme
- Conveyor
- odom topic as argument
- Gazebo plugin publishing joint states
- Added Kinect Plugin
- Added saved map
- Added cartographer
- Added visualization
- changes in modelling, improved velocity response
- Added collision
- Added LiDAR and IMU
- Shifted traction to middle wheels
- Added robot
- Initial commit
- Contributors: Devanshu Sharma, Gaurav Gupta, Kvk Praneeth, Leander Stephen D\'Souza, praneeth_bcr
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | catkin | |
2 | joint_state_publisher | |
2 | robot_state_publisher | |
1 | rviz | |
1 | xacro | |
1 | gazebo_ros_pkgs |
System Dependencies
Dependant Packages
Launch files
- launch/bcr_bot_spawn.launch
-
- two_d_lidar_enabled [default: true]
- camera_enabled [default: true]
- stereo_camera_enabled [default: false]
- wheel_odom_topic [default: odom]
- publish_wheel_odom_tf [default: true]
- conveyor_enabled [default: false]
- ground_truth_frame [default: map]
- robot_namespace [default: ]
- position_x [default: 0.0]
- position_y [default: 0.0]
- orientation_yaw [default: 0.0]
- odometry_source [default: world]
- launch/gazebo.launch
-
- world_name [default: $(find bcr_bot)/worlds/small_warehouse.world]
- gazebo_gui_enabled [default: true]
- launch/rviz.launch
-
- rviz_config [default: entire_setup.rviz]
- two_d_lidar_enabled [default: true]
- camera_enabled [default: true]