Removed modules from the simulation infrastructure and refactored FRCPlugin.

Pneumatics still have CAN modules. The refactored code is now eight
plugins for sensors and actuators. There is some code reuse that should
be refactored out, but that level of abstraction will wait until we
figure out how these plugins are integrating with gazebo proper.

Change-Id: I357e695ef05af6dda83a39ba60380686bd57d11a
Closes: artf2610, artf2623
This commit is contained in:
Colby Skeggs
2014-06-30 17:32:00 -07:00
committed by Alex Henning
parent 3b4718fc92
commit 8ae64a12ea
95 changed files with 3762 additions and 1063 deletions

View File

@@ -0,0 +1,48 @@
prefix = /usr
lib.dir = $(prefix)/lib
plugin.dir = $(lib.dir)/frcsim/plugins
build.dir = build
.PHONY : all build copy-plugins clean docs clean-docs
all: build copy-plugins
build:
cd msgs && make
cd dc_motor && make
cd pneumatic_piston && make
cd potentiometer && make
cd rangefinder && make
cd encoder && make
cd gyro && make
cd limit_switch && make
cd clock && make
copy-plugins:
mkdir -p plugins
cp dc_motor/build/libgz_dc_motor.so plugins
cp pneumatic_piston/build/libgz_pneumatic_piston.so plugins
cp potentiometer/build/libgz_potentiometer.so plugins
cp rangefinder/build/libgz_rangefinder.so plugins
cp encoder/build/libgz_encoder.so plugins
cp gyro/build/libgz_gyro.so plugins
cp limit_switch/build/libgz_limit_switch.so plugins
cp clock/build/libgz_clock.so plugins
clean: clean-docs
cd msgs && make clean
cd dc_motor && make clean
cd pneumatic_piston && make clean
cd potentiometer && make clean
cd rangefinder && make clean
cd encoder && make clean
cd gyro && make clean
cd limit_switch && make clean
cd clock && make clean
-rm -r plugins
docs:
doxygen frc_gazebo_plugins.doxy
clean-docs:
-rm -r docs