File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,6 @@ class GazeboSimSystemPrivate;
38
38
class GazeboSimSystem : public GazeboSimSystemInterface
39
39
{
40
40
public:
41
- // Documentation Inherited
42
- [[deprecated(
43
- " Replaced by GazeboSimSystem::on_init(const "
44
- " hardware_interface::HardwareComponentInterfaceParams & params)." )]]
45
- CallbackReturn on_init (const hardware_interface::HardwareInfo & info) override ;
46
-
47
41
// Documentation Inherited
48
42
CallbackReturn on_init (const hardware_interface::HardwareComponentInterfaceParams & params)
49
43
override ;
Original file line number Diff line number Diff line change @@ -575,29 +575,6 @@ void GazeboSimSystem::registerSensors(
575
575
});
576
576
}
577
577
578
- CallbackReturn
579
- GazeboSimSystem::on_init (const hardware_interface::HardwareInfo & info)
580
- {
581
- #ifdef _MSC_VER
582
- #pragma warning(push)
583
- #pragma warning(disable : 4996)
584
- #else
585
- #pragma GCC diagnostic push
586
- #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
587
- #endif
588
- if (hardware_interface::SystemInterface::on_init (info) !=
589
- CallbackReturn::SUCCESS)
590
- {
591
- return CallbackReturn::ERROR;
592
- }
593
- return CallbackReturn::SUCCESS;
594
- #ifdef _MSC_VER
595
- #pragma warning(pop)
596
- #else
597
- #pragma GCC diagnostic pop
598
- #endif
599
- }
600
-
601
578
CallbackReturn
602
579
GazeboSimSystem::on_init (const hardware_interface::HardwareComponentInterfaceParams & params)
603
580
{
You can’t perform that action at this time.
0 commit comments