mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01: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
@@ -14,8 +14,6 @@
|
||||
|
||||
#include "simulation/gz_msgs/msgs.h"
|
||||
|
||||
using namespace gazebo;
|
||||
|
||||
namespace frc {
|
||||
|
||||
class SimEncoder {
|
||||
@@ -32,10 +30,10 @@ class SimEncoder {
|
||||
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