UTAH-VEXU-Robotics / simulation

All the files and instructions you need to simulate Vex In The Zone field and parts in Gazebo
6 stars 3 forks source link

gazebo simulation field tracking messages #7

Closed acetousk closed 4 years ago

acetousk commented 4 years ago

In the /msg directory, there are two files: ChangeUp.msg and ChangeUpGoals.msg. ChangeUp.msg has the robots and balls positions while ChangeUpGoals.msg takes the ChangeUp message and figure out which goals the balls are in (if any) and has an array of int8 for each goal to publish the infomation. The lower index of the list means the lower the ball in height.

TODO: gazeboModels.py currently takes the models from gazebo and converts them to a Pose or PoseArray to pass to the ChangeUp message. This file also needs to take the x,y, and z coordinates in the ChangeUp message and create a ChangeUpGoals object.

acetousk commented 4 years ago

see 4612364697938840624d9880b614c0c22b832997 for the fix.

The messages are much simpler, and will work for any game which is great!