ROS2 packages managing the communication of the VEX and the ROS system and ROS module with template for neuromorphic neural network. This package has been developped under ROS2 Galactic (https://docs.ros.org/en/galactic/index.html).
You first need to compile the vex_message package before compiling the vex_brain one.
colcon build --packages-select vex_message
colcon build --packages-select vex_brain
colcon build --packages-select model
To launch the VEX program, download the code from the VEX application and launch it. (https://www.vexrobotics.com/vexcode/install/v5)
For run the file launch :
ros2 launch ./src/launch/vex_launch.launch.py
The file launches the entire ROS-VEX system. To change dynamic initialization you must change the file vex_config.
Model node can be launch with the following command:
ros2 run model model