mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-07 02:08:23 +02:00
Feature/graph manager (#38)
* Initial changes * Working state * Working state * Working state * Working state * Working state * Working state * Added graph listener * Updates * Testing name demangling * Graph manager: reworked * Remove debug trace * Treat errors when freeing rcutils resources * Improve logics for discovering entities * Working state: Micro-ROS graph manager * Fix micro_ros_graph_info typesupport type name * Remove double CMakeLists comment * Remove package.xml commented block * Add missing include * Added CI * Remove GUID_t param from callbacks signature * Add services names and types to micro-ROS graph topic * Differenciate between service server and clients * remove debug traces Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
This commit is contained in:
co-authored by
Pablo Garrido
parent
dce3c25a33
commit
23bcea8efb
@@ -12,18 +12,17 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <uxr/agent/AgentInstance.hpp>
|
||||
#include <agent/Agent.hpp>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
eprosima::uxr::AgentInstance& xrce_dds_agent_instance =
|
||||
xrce_dds_agent_instance.getInstance();
|
||||
uros::agent::Agent micro_ros_agent;
|
||||
|
||||
if (!xrce_dds_agent_instance.create(argc, argv))
|
||||
if (!micro_ros_agent.create(argc, argv))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
xrce_dds_agent_instance.run();
|
||||
micro_ros_agent.run();
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user