Skip to content

Mpc py

Recorder 'sink' node: created for AI training purposes.

Records data flowing through relevant topics.

MpcPy

Bases: Node

This class implements a ROS node that records driving data.

__init__()

Init.

control_loop()

The main drive control loop.

laser_callback(msg)

The laser message callback, saves last message.

odom_callback(msg)

The odom message callback, saves last message.

main(args=None)

Main loop.

Creates an instance of the MpcPy class, and runs the main loop of the MpcPy node.