Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
panda_mqtt_connector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
CeTI
ROS
ROS Packages
panda_mqtt_connector
Commits
c1b7b67f
Commit
c1b7b67f
authored
4 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
align config with ros2rag
parent
d15284a8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/config.yaml
+9
-1
9 additions, 1 deletion
config/config.yaml
src/MqttRosConnectionTestNode.cpp
+1
-1
1 addition, 1 deletion
src/MqttRosConnectionTestNode.cpp
src/MqttToRosNode.cpp
+1
-1
1 addition, 1 deletion
src/MqttToRosNode.cpp
with
11 additions
and
3 deletions
config/config.yaml
+
9
−
1
View file @
c1b7b67f
...
@@ -6,7 +6,8 @@ panda_mqtt_connector:
...
@@ -6,7 +6,8 @@ panda_mqtt_connector:
topics
:
topics
:
robotConfig
:
"
robotconfig"
robotConfig
:
"
robotconfig"
dataConfig
:
"
dataconfig"
dataConfig
:
"
dataconfig"
trajectoryConfig
:
"
trajectoryconfig"
trajectory
:
"
trajectory"
nextStep
:
"
ros2rag/nextStep"
zone_size
:
0.5
zone_size
:
0.5
zones
:
zones
:
-
"
1
1"
-
"
1
1"
...
@@ -25,3 +26,10 @@ panda_mqtt_connector:
...
@@ -25,3 +26,10 @@ panda_mqtt_connector:
end_effectors
:
end_effectors
:
panda
:
panda
:
EndEffector
:
"
panda::panda_link7"
EndEffector
:
"
panda::panda_link7"
goal_poses
:
-
position
:
"
0.4
0.3
0.1"
wait
:
"
5000"
-
position
:
"
0.4
0.0
0.1"
wait
:
"
3000"
-
position
:
"
0.4
-0.3
0.1"
wait
:
"
4000"
This diff is collapsed.
Click to expand it.
src/MqttRosConnectionTestNode.cpp
+
1
−
1
View file @
c1b7b67f
...
@@ -37,7 +37,7 @@ void testTrajectoryUpdate(const ros::NodeHandle& n) {
...
@@ -37,7 +37,7 @@ void testTrajectoryUpdate(const ros::NodeHandle& n) {
std
::
string
mqtt_msg
;
std
::
string
mqtt_msg
;
traj
.
SerializeToString
(
&
mqtt_msg
);
traj
.
SerializeToString
(
&
mqtt_msg
);
auto
pubmsg
=
mqtt
::
make_message
(
"trajectory
config
"
,
mqtt_msg
);
auto
pubmsg
=
mqtt
::
make_message
(
"trajectory"
,
mqtt_msg
);
mqttUtil
->
getClient
().
publish
(
pubmsg
);
mqttUtil
->
getClient
().
publish
(
pubmsg
);
...
...
This diff is collapsed.
Click to expand it.
src/MqttToRosNode.cpp
+
1
−
1
View file @
c1b7b67f
...
@@ -13,7 +13,7 @@ const std::string CLIENT_ID{"mqtt_to_ros"};
...
@@ -13,7 +13,7 @@ const std::string CLIENT_ID{"mqtt_to_ros"};
const
std
::
string
ROBOT_CONFIG
{
"robotconfig"
};
const
std
::
string
ROBOT_CONFIG
{
"robotconfig"
};
const
std
::
string
DATA_CONFIG
{
"dataconfig"
};
const
std
::
string
DATA_CONFIG
{
"dataconfig"
};
const
std
::
string
TRAJECTORY_CONFIG
{
"trajectory
config
"
};
const
std
::
string
TRAJECTORY_CONFIG
{
"trajectory"
};
MqttUtil
*
mqttUtil
=
nullptr
;
MqttUtil
*
mqttUtil
=
nullptr
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment