Skip to content
Snippets Groups Projects
Commit dcd242f0 authored by Cyrille Berger's avatar Cyrille Berger
Browse files

add service for exporting and importing datasets

parent cabc3c22
No related branches found
No related tags found
No related merge requests found
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "gcc-x64",
"compileCommands": "/home/cyrille/ros2_ws/build/ros_kdb_interfaces/compile_commands.json"
}
],
"version": 4
}
\ No newline at end of file
{
"version": "2.0.0",
"tasks": [
{
"label": "build ros_kdb_interfaces",
"type": "shell",
"command": "cd ~/ros2_ws; colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=On --paths src/ros_kdb_interfaces",
"group": "build",
"presentation": {
"clear": true
}
}
]
}
\ No newline at end of file
...@@ -52,6 +52,9 @@ set(srv_files ...@@ -52,6 +52,9 @@ set(srv_files
# Data synchronisation # Data synchronisation
"srv/SetupReceivingData.srv" "srv/SetupReceivingData.srv"
"srv/SetupSendingData.srv" "srv/SetupSendingData.srv"
# Datasets
"srv/ExportDataset.srv"
"srv/ImportDataset.srv"
# Topic recording # Topic recording
"srv/PauseTopicRecording.srv" "srv/PauseTopicRecording.srv"
"srv/ResumeTopicRecording.srv" "srv/ResumeTopicRecording.srv"
......
# This service call is used to export a dataset to a file
string filename # need to be absolute or is relative to the home directory
string dataset_uri # uris for the dataset
---
bool success
string message
\ No newline at end of file
# This service call is used to import a dataset from a file
string filename # need to be absolute or is relative to the home directory
string[] collections_uris # uris for the collections where to store the metainformation for the dataset, an empyt list default to the private list
---
bool success
string message
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment