Commit 6e1680a9 authored by Helge's avatar Helge

A simple component to test the ROS generator and carla-ros-bridge

parent e8d10745
# CarlaComponents
EMAM Components for the Carla Simulator
\ No newline at end of file
package test;
conforms to de.monticore.lang.monticar.generator.roscpp.RosToEmamTagSchema;
tags Bumb {
tag bumbBot.throttle with RosConnection = {topic = (/carla/ego_vehicle/vehicle_control_cmd, std_msgs/Float64), msgField = data};
tag bumbBot.steer with RosConnection = {topic = (/carla/ego_vehicle/vehicle_control_cmd, std_msgs/Float64), msgField = data};
}
package test;
import test.structures.*;
component BumbBot{
port out Q throttle;
port out Q steer;
implementation Math{
throttle = 1.0;
steer = 0.0;
}
}
package test.structures;
struct Ego_Vehicle{
Q throttle;
Q steer;
}
{
"modelsDir": "models/",
"outputDir": "target/",
"rootModel": "test.bumbBot",
"generators": ["cpp", "roscpp"]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment