NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Namespaces | |
internal | |
Typedefs | |
using | CommandCreateFn = jsonloader::Command *(*)(Json::Value const &obj) |
template<class V > | |
using | InsensitiveMap = std::unordered_map< std::string, V, CaseInsensitiveHash, CaseInsensitiveEquals > |
using | Fields = std::vector< const Field * > |
using | BoolField = ValueField< bool > |
using | IntField = ValueField< int > |
using | RangeFieldF = RangeField< float > |
using | RangeFieldI = RangeField< int > |
Functions | |
template<typename T > | |
jsonloader::Command * | CreateCommand (Json::Value const &obj) |
bool | ReadKeepoutFile (std::string const &input_filename, Keepout *zone) |
void | ReadKeepoutDirectory (std::string const &input_directory, Keepout *safeZone, Keepout *dangerZone) |
Plan | LoadPlan (std::string const &data) |
bool | LoadData (std::string const &data, Json::Value *json) |
void | WritePlanHeader (std::ofstream &ofs, double vel, double accel, double omega, double alpha, std::string creator) |
void | WriteStation (std::ofstream &ofs, Eigen::VectorXd Pose, double tol, int id) |
void | WriteSegment (std::ofstream &ofs, std::vector< Eigen::VectorXd > const &SegVec, double vel, double accel, double omega, double alpha, int id) |
void | WritePlanFooter (std::ofstream &ofs, std::string const &plan_name, int id) |
bool | Validate (Json::Value const &obj, Fields const &fields) |
Variables | |
constexpr char | kCmdDock [] = "dock" |
constexpr char | kCmdUndock [] = "undock" |
constexpr char | kCmdPerch [] = "perch" |
constexpr char | kCmdUnperch [] = "unperch" |
constexpr char | kCmdPause [] = "pausePlan" |
constexpr char | kCmdArmPanTilt [] = "armPanAndTilt" |
constexpr char | kCmdStationKeep [] = "stationKeep" |
constexpr char | kCmdWait [] = "wait" |
constexpr char | kCmdPayloadOn [] = "payloadOn" |
constexpr char | kCmdPowerOn [] = "powerOnItem" |
constexpr char | kCmdPayloadOff [] = "payloadOff" |
constexpr char | kCmdPowerOff [] = "powerOffItem" |
constexpr char | kCmdStartGuest [] = "startGuestScience" |
constexpr char | kCmdStopGuest [] = "stopGuestScience" |
constexpr char | kCmdGuestCmd [] = "guestScience" |
constexpr char | kCmdCustomGuest [] = "customGuestScience" |
constexpr char | kCmdGripper [] = "gripperControl" |
constexpr char | kCmdFlashlight [] = "setFlashlightBrightness" |
constexpr char | kCmdIdleProp [] = "idlePropulsion" |
constexpr char | kCmdSetCamera [] = "setCamera" |
constexpr char | kCmdStreamCamera [] = "setCameraStreaming" |
constexpr char | kCmdRecordCamera [] = "setCameraRecording" |
constexpr char | kCmdInitBias [] = "initializeBias" |
constexpr char | kCmdChkObstacles [] = "setCheckObstacles" |
constexpr char | kCmdChkZones [] = "setCheckZones" |
constexpr char | kCmdSetHolonomic [] = "setHolonomicMode" |
constexpr char | kCmdSetPlanner [] = "setPlanner" |
constexpr char | kCmdTelemRate [] = "setTelemetryRate" |
constexpr char | kCmdSwitchLocal [] = "switchLocalization" |
constexpr char | kCmdStartRecord [] = "startRecording" |
constexpr char | kCmdStopRecord [] = "stopRecording" |
constexpr char | kCmdEnableAstrobeeIntercomms [] = "enableAstrobeeIntercomms" |
using jsonloader::BoolField = typedef ValueField<bool> |
using jsonloader::CommandCreateFn = typedef jsonloader::Command*(*)(Json::Value const& obj) |
using jsonloader::Fields = typedef std::vector<const Field*> |
using jsonloader::InsensitiveMap = typedef std::unordered_map<std::string, V, CaseInsensitiveHash, CaseInsensitiveEquals> |
using jsonloader::IntField = typedef ValueField<int> |
using jsonloader::RangeFieldF = typedef RangeField<float> |
using jsonloader::RangeFieldI = typedef RangeField<int> |
jsonloader::Command* jsonloader::CreateCommand | ( | Json::Value const & | obj | ) |
bool jsonloader::LoadData | ( | std::string const & | data, |
Json::Value * | json | ||
) |
jsonloader::Plan jsonloader::LoadPlan | ( | std::string const & | data | ) |
void jsonloader::ReadKeepoutDirectory | ( | std::string const & | input_directory, |
Keepout * | safeZone, | ||
Keepout * | dangerZone | ||
) |
bool jsonloader::ReadKeepoutFile | ( | std::string const & | input_filename, |
Keepout * | zone | ||
) |
bool jsonloader::Validate | ( | Json::Value const & | obj, |
jsonloader::Fields const & | fields | ||
) |
void jsonloader::WritePlanFooter | ( | std::ofstream & | ofs, |
std::string const & | plan_name, | ||
int | id | ||
) |
void jsonloader::WritePlanHeader | ( | std::ofstream & | ofs, |
double | vel, | ||
double | accel, | ||
double | omega, | ||
double | alpha, | ||
std::string | creator | ||
) |
void jsonloader::WriteSegment | ( | std::ofstream & | ofs, |
std::vector< Eigen::VectorXd > const & | SegVec, | ||
double | vel, | ||
double | accel, | ||
double | omega, | ||
double | alpha, | ||
int | id | ||
) |
void jsonloader::WriteStation | ( | std::ofstream & | ofs, |
Eigen::VectorXd | Pose, | ||
double | tol, | ||
int | id | ||
) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |