32#include <unordered_map>
37#include <Ice/Current.h>
38#include <Ice/Object.h>
39#include <IceUtil/Optional.h>
45#include <ArmarXGui/interface/RemoteGuiInterface.h>
48#include <RobotAPI/interface/aron/Aron.h>
110 const std::string& callerId,
111 const Ice::Current&
c = Ice::emptyCurrent)
override;
114 const Ice::Current&
c = Ice::emptyCurrent)
override;
116 void moveTo(
const std::vector<Eigen::Matrix4f>& waypoints,
117 const std::string& navigationMode,
118 const std::string& callerId,
119 const Ice::Current&
c = Ice::emptyCurrent)
override;
122 const std::string& navigationMode,
123 const std::string& callerId,
124 const Ice::Current&
c = Ice::emptyCurrent)
override;
127 const std::string& navigationMode,
128 const std::string& callerId,
129 const Ice::Current&
c = Ice::emptyCurrent)
override;
132 const IceUtil::Optional<std::string>& providerName,
133 const std::string& callerId,
134 const Ice::Current&
c = Ice::emptyCurrent)
override;
136 void updateMoveTo(
const std::vector<Eigen::Matrix4f>& waypoints,
137 const std::string& navigationMode,
138 const std::string& callerId,
139 const Ice::Current&
c = Ice::emptyCurrent)
override;
142 const std::string& navigationMode,
143 const std::string& callerId,
144 const Ice::Current&
c = Ice::emptyCurrent)
override;
147 const std::string& callerId,
148 const Ice::Current&
c = Ice::emptyCurrent)
override;
150 void pause(
const std::string& callerId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
152 void resume(
const std::string& callerId,
153 const Ice::Current&
c = Ice::emptyCurrent)
override;
155 void stop(
const std::string& callerId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
157 void stopAll(
const Ice::Current&
c = Ice::emptyCurrent)
override;
159 bool isPaused(
const std::string& callerId,
160 const Ice::Current&
c = Ice::emptyCurrent)
override;
162 bool isStopped(
const std::string& callerId,
163 const Ice::Current&
c = Ice::emptyCurrent)
override;
206 void visualizeSPFA();
214 std::optional<server::IceEmergencyStop> emergencyStop;
216 std::optional<server::PlatformControllerExecutor> executor;
217 std::optional<server::ArvizIntrospector> introspector;
219 std::optional<server::scene_provider::SceneProvider> sceneProvider;
221 std::unordered_map<std::string, server::Navigator> navigators;
223 std::mutex propertiesMutex;
226 std::vector<std::unique_ptr<server::MemoryIntrospector>> memoryIntrospectors;
230 parameterizationReaderPlugin =
nullptr;
232 parameterizationWriterPlugin =
nullptr;
234 eventsWriterPlugin =
nullptr;
236 resultsWriterPlugin =
nullptr;
238 graphReaderPlugin =
nullptr;
240 costmapReaderPlugin =
nullptr;
242 costmap3dReaderPlugin =
nullptr;
244 humanReaderPlugin =
nullptr;
246 laserScannerFeaturesReaderPlugin =
nullptr;
251 std::optional<armem::robot_state::description::RobotDescription> robotDescription;
253 virtualRobotReaderPlugin =
nullptr;
260 std::unordered_map<std::string, std::unique_ptr<server::MemoryPublisher>> memoryPublishers;
264 float occupiedGridThreshold{0.55F};
265 bool disableExecutor{
false};
269 bool rtUnitDynamicallyLoadLibraries =
false;
271 std::string emergencyStopMasterName{
"EmergencyStopMaster"};
ArVizComponentPluginUser()
Baseclass for all ArmarX ManagedIceObjects requiring properties.
ObjectPoseClientPluginUser()
A component plugin offering client-side access to a reader or writer and manages the lifecycle,...
void moveToLocation(const std::string &location, const IceUtil::Optional< std::string > &providerName, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void removeConfig(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void onInitComponent() override
void pause(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void resume(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void setVelocityFactor(float velocityFactor, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
std::optional< std::string > activeNavigatorId() const
server::Navigator * activeNavigator()
void onDisconnectComponent() override
void moveToAlternatives(const client::detail::TargetAlternatives &targets, const std::string &navigationMode, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void RemoteGui_update() override
After calling RemoteGui_startRunningTask, this function is called periodically in a separate thread.
bool isPaused(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
bool isStopped(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
PropertyDefinitionsPtr createPropertyDefinitions() override
void updateMoveTo(const std::vector< Eigen::Matrix4f > &waypoints, const std::string &navigationMode, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
const core::Scene & scene() const
void onConnectComponent() override
void createConfig(const aron::data::dto::DictPtr &stackConfig, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
static std::string GetDefaultName()
void stop(const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void onExitComponent() override
void moveTo(const std::vector< Eigen::Matrix4f > &waypoints, const std::string &navigationMode, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void moveTowards(const Eigen::Vector3f &direction, const std::string &navigationMode, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void stopAllImpl(bool emitMemoryEvent)
void moveTo2(const client::detail::Waypoints &waypoints, const std::string &navigationMode, const std::string &callerId, const Ice::Current &c=Ice::emptyCurrent) override
void createRemoteGuiTab()
This function should be called once in onConnect() or when you need to re-create the Remote GUI tab.
std::string getDefaultName() const override
Brief description of class targets.
idempotent void stopAll()
::IceInternal::Handle< Dict > DictPtr
sequence< Waypoint > Waypoints
sequence< TargetAlternative > TargetAlternatives
This file is part of ArmarX.
core::GoalReachedConfig GoalReachedMonitorConfig
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.