Algo class for projecting shapes and creating SVG output of it. More...
#include <Simulation.h>
Public Member Functions | |
double | getDuration (void) |
double | getLength (void) |
Base::Placement | getPosition (void) |
double | getVelocity (void) |
void | reset (void) |
void | setToTime (float t) |
void | setToWaypoint (unsigned int n) |
Simulation (const Trajectory &Trac, Robot6Axis &Rob) | |
Constructor. | |
void | step (double tick) |
virtual | ~Simulation () |
Public Attributes | |
double | Axis [6] |
double | Pos |
Robot6Axis & | Rob |
double | startAxis [6] |
Base::Placement | Tool |
Trajectory | Trac |
Algo class for projecting shapes and creating SVG output of it.
Definition at line 41 of file Simulation.h.
Simulation::Simulation | ( | const Trajectory & | Trac, | |
Robot::Robot6Axis & | Rob | |||
) |
Constructor.
Definition at line 53 of file Simulation.cpp.
References Robot::Robot6Axis::getAxis(), Robot::Trajectory::getSize(), setToTime(), and startAxis.
Simulation::~Simulation | ( | ) | [virtual] |
Definition at line 71 of file Simulation.cpp.
double Robot::Simulation::getDuration | ( | void | ) | [inline] |
Definition at line 50 of file Simulation.h.
References Robot::Trajectory::getDuration().
double Robot::Simulation::getLength | ( | void | ) | [inline] |
Definition at line 49 of file Simulation.h.
References Robot::Trajectory::getLength().
Base::Placement Robot::Simulation::getPosition | ( | void | ) | [inline] |
Definition at line 52 of file Simulation.h.
References Robot::Trajectory::getPosition().
double Robot::Simulation::getVelocity | ( | void | ) | [inline] |
Definition at line 53 of file Simulation.h.
References Robot::Trajectory::getVelocity().
void Simulation::reset | ( | void | ) |
Definition at line 101 of file Simulation.cpp.
References Axis, Robot::Robot6Axis::getAxis(), Robot::Trajectory::getPosition(), Base::Placement::inverse(), Rob, Robot::Robot6Axis::setAxis(), Robot::Robot6Axis::setTo(), startAxis, Tool, and Trac.
Referenced by RobotGui::TaskTrajectory::setTo().
void Simulation::setToTime | ( | float | t | ) |
Definition at line 86 of file Simulation.cpp.
References Axis, Robot::Robot6Axis::getAxis(), Robot::Trajectory::getPosition(), Base::Placement::inverse(), Pos, Rob, Robot::Robot6Axis::setTo(), Tool, and Trac.
Referenced by RobotGui::TrajectorySimulate::setTo(), RobotGui::TaskTrajectory::setTo(), and Simulation().
void Simulation::setToWaypoint | ( | unsigned int | n | ) |
Definition at line 80 of file Simulation.cpp.
void Simulation::step | ( | double | tick | ) |
Definition at line 75 of file Simulation.cpp.
References Pos.
double Robot::Simulation::Axis[6] |
Definition at line 62 of file Simulation.h.
Referenced by reset(), RobotGui::TrajectorySimulate::setTo(), RobotGui::TaskTrajectory::setTo(), and setToTime().
double Robot::Simulation::Pos |
Definition at line 61 of file Simulation.h.
Referenced by setToTime(), and step().
Definition at line 66 of file Simulation.h.
Referenced by reset(), RobotGui::TrajectorySimulate::setTo(), RobotGui::TaskTrajectory::setTo(), and setToTime().
double Robot::Simulation::startAxis[6] |
Definition at line 63 of file Simulation.h.
Referenced by reset(), and Simulation().
Definition at line 67 of file Simulation.h.
Referenced by reset(), RobotGui::TaskTrajectory::setTo(), setToTime(), RobotGui::TaskTrajectory::TaskTrajectory(), and RobotGui::TrajectorySimulate::TrajectorySimulate().
Definition at line 65 of file Simulation.h.
Referenced by reset(), and setToTime().