Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Define the ID of the vehicle you want to drive. Read the ID in from the LCC using the function function cmd_parameter_ints() from our cpm library.

Initialize a DDS Writer for the RTI DDS Service to ensure that position and speed will be sent to the simulation and the vehicle. Write on the topic vehicleCommandTrajectory with datatype VehicleCommandTrajectory. The topic's name is the name of the datatype with a lowercase letter.

...