mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
"using" directives are no longer used in global namespaces (#219)
This commit is contained in:
committed by
Peter Johnson
parent
78f0b1562c
commit
ba8761e39e
@@ -13,8 +13,6 @@
|
||||
|
||||
#include "simulation/gz_msgs/msgs.h"
|
||||
|
||||
using namespace gazebo;
|
||||
|
||||
namespace frc {
|
||||
|
||||
class SimGyro {
|
||||
@@ -29,10 +27,10 @@ class SimGyro {
|
||||
void sendCommand(std::string cmd);
|
||||
|
||||
double position, velocity;
|
||||
transport::SubscriberPtr posSub, velSub;
|
||||
transport::PublisherPtr commandPub;
|
||||
void positionCallback(const msgs::ConstFloat64Ptr& msg);
|
||||
void velocityCallback(const msgs::ConstFloat64Ptr& msg);
|
||||
gazebo::transport::SubscriberPtr posSub, velSub;
|
||||
gazebo::transport::PublisherPtr commandPub;
|
||||
void positionCallback(const gazebo::msgs::ConstFloat64Ptr& msg);
|
||||
void velocityCallback(const gazebo::msgs::ConstFloat64Ptr& msg);
|
||||
};
|
||||
|
||||
} // namespace frc
|
||||
|
||||
Reference in New Issue
Block a user