Skip to content

AI2VCU#37

Open
frankplow wants to merge 5 commits intoGryphonRacingAI:mainfrom
frankplow:ai2vcu
Open

AI2VCU#37
frankplow wants to merge 5 commits intoGryphonRacingAI:mainfrom
frankplow:ai2vcu

Conversation

@frankplow
Copy link
Contributor

@frankplow frankplow commented Jun 9, 2024

Adds a ROS node which communicates between ROS and the VCU using the FS-AI API library.

The node subscribes to one message: ackermann_cmd. The node publishes one message: vcu2ai, which provides odometry and status messages from the VCU in the custom VCU2AI message format defined in msgs/VCU2AI.msg.

The node sends and receives messages from the VCU every 10ms, and receives ackermann_cmd messages asynchronously. Note this means there may be up to 10ms of latency for any driving command.

I don't have a working ROS installation, so I haven't been able to test this at all. Somebody else will want to test this then + add launch scripts before merging. There's still a fair bit to do, but hopefully this provides a good skeleton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant