14 #include <ecl/time.hpp> 15 #include <ecl/sigslots.hpp> 17 #include <ecl/linear_algebra.hpp> 34 xbot.init(parameters);
40 xbot.setBaseControl(0,0);
46 ecl::linear_algebra::Vector3d pose_update_rates;
47 xbot.updateOdometry(pose_update, pose_update_rates);
49 dx += pose_update.x();
50 dth += pose_update.heading();
62 xbot.setBaseControl(0.0, -1.1);
93 int main(
int argc,
char** argv)
97 std::cout <<
"Demo : Example of simple control loop." <<
std::endl;
111 std::cout << e.
what();
std::string base_port
The serial device port name [/dev/xbot].
const char * what() const
Parameter list and validator for the xbot.
std::string sigslots_namespace
The first part of a sigslot connection namespace ["/xbot"].
ecl::Pose2D< double > pose
int main(int argc, char **argv)
Device driver core interface.
Standard exception type, provides code location and error string.
Keyboard remote control for our robot core (mobile base).
ecl::Slot slot_stream_data
void connect(const std::string &topic)
ecl::Pose2D< double > getPose()
void signalHandler(int signum)
bool enable_acceleration_limiter
Enable or disable the acceleration limiter [true].
Function loading component of a callback system.
The core xbot driver class.