![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged webots_ros2_core at Robotics Stack Exchange
![]() |
webots_ros2_core package from soft_illusion repowebots_ros2 webots_ros2_abb webots_ros2_core webots_ros2_demos webots_ros2_epuck webots_ros2_examples webots_ros2_importer webots_ros2_msgs webots_ros2_tiago webots_ros2_universal_robot webots_ros2_ur_e_description |
ROS Distro
|
Package Summary
Tags | No category tags. |
Version | 1.0.2 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Description | This Repository is for all mechanisms on our channel Soft_illusion.. |
Checkout URI | https://github.com/harshkakashaniya/soft_illusion.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-26 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Cyberbotics
Authors
webots_ros2_core
This package contains essential building blocks for running Webots simulation, such as Webots launcher, ROS2 wrappers for Webots devices and other relevant utils.
Reference Manual
webots_launcher
The webots_launcher
is a custom ROS action used to start Webots from your launch file, it has the following parameters:
-
world
: defines the path to the simulation world file to load. -
mode
: defines the simulation mode (pause, realtime, run or fast) with which Webots should be started (realtime is set by default). -
gui
: if set, Webots starts with a minimal graphical user interface, this is useful to use on a server for example.
`webots_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) return LaunchDescription([ webots, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```controller_launcher
The webots_launcher
is a custom ROS node launcher used to start Webots controller. It has the same API as launch_ros.actions.Node
, but it adds necessary libraries needed for your ROS node to work with Webots.
`controller_launcher` usage example
```Python import launch from launch import LaunchDescription from webots_ros2_core.webots_launcher import WebotsLauncher def generate_launch_description(): # Webots webots = WebotsLauncher( world=world, mode=mode, gui=gui ) controller = ControllerLauncher( package=package, executable=executable, arguments=[ '--webots-robot-name', robot_name, '--webots-node-name', node_name ], ) return LaunchDescription([ webots, controller, # Shutdown launch when Webots exits. RegisterEventHandler( event_handler=launch.event_handlers.OnProcessExit( target_action=webots, on_exit=[EmitEvent(event=launch.events.Shutdown())], ) ) ]) ```Python Modules
This package includes the following Python modules that can be used from within other nodes to easily create an interface between a simulated robot and ROS2.
webots_node
This module provides the WebotsNode
class that is used as a base class for all the other nodes.
It creates the interface between Webots and ROS and publishes the clock topic.
utils
File truncated at 100 lines see the full file
Changelog for package webots_ros2_core
1.0.2 (2020-10-12)
- Fixed support for 3D Lidars
- Fixed Webots executable discovery
1.0.0 (2020-09-01)
- Added a universal 'webots_differential_drive_node' node.
0.0.4 (2020-07-03)
- Fixed dependencies issue.
0.0.3 (2020-06-15)
- Added support for multi robots.
- Added a new TfPublisher class to publish transforms of all the Solid nodes of the robot (if the robot [supervisor]{.title-ref} field is true).
- Added the possibility to run nodes in synchronized mode (using the 'synchronization' parameter).
- Added better support for differential drive robots ('WebotsDifferentialDriveNode' class).
- Added CameraDevice, LEDDevice and LaserDevice that create correspoding ROS2 topics
0.0.2 (2019-09-23)
- Initial version
Package Dependencies
Deps | Name |
---|---|
rclpy | |
std_msgs | |
builtin_interfaces | |
webots_ros2_msgs | |
ament_copyright | |
ament_flake8 | |
ament_pep257 |
System Dependencies
Name |
---|
python3-tk |
python3-pytest |