Giter Club home page Giter Club logo

argos3-examples's People

Contributors

alanmillard avatar ilpincy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

argos3-examples's Issues

Issue while compiling

Hey, I was trying to compile the code. The following error occured during make:
[ 1%] Automatic moc for target footbot_diffusion
[ 1%] Built target footbot_diffusion_automoc
[ 4%] Built target footbot_diffusion
[ 5%] Automatic moc for target footbot_synchronization
[ 5%] Built target footbot_synchronization_automoc
[ 9%] Built target footbot_synchronization
[ 10%] Automatic moc for target footbot_flocking
[ 10%] Built target footbot_flocking_automoc
[ 13%] Built target footbot_flocking
[ 14%] Automatic moc for target footbot_gripping
[ 14%] Built target footbot_gripping_automoc
[ 18%] Built target footbot_gripping
[ 19%] Automatic moc for target footbot_foraging
[ 19%] Built target footbot_foraging_automoc
[ 22%] Built target footbot_foraging
[ 24%] Automatic moc for target footbot_manualcontrol
[ 24%] Built target footbot_manualcontrol_automoc
[ 27%] Built target footbot_manualcontrol
[ 28%] Automatic moc for target footbot_nn
[ 28%] Built target footbot_nn_automoc
[ 35%] Built target footbot_nn
[ 36%] Automatic moc for target eyebot_circle
[ 36%] Built target eyebot_circle_automoc
[ 41%] Built target eyebot_circle
[ 42%] Automatic moc for target eyebot_flocking
[ 42%] Built target eyebot_flocking_automoc
[ 45%] Built target eyebot_flocking
[ 47%] Automatic moc for target epuck_obstacleavoidance
[ 47%] Built target epuck_obstacleavoidance_automoc
[ 50%] Built target epuck_obstacleavoidance
[ 51%] Automatic moc for target foraging_loop_functions
[ 51%] Built target foraging_loop_functions_automoc
[ 56%] Built target foraging_loop_functions
[ 57%] Automatic moc for target mpga
[ 57%] Built target mpga_automoc
[ 62%] Built target mpga
[ 63%] Automatic moc for target mpga_phototaxis_loop_functions
[ 63%] Built target mpga_phototaxis_loop_functions_automoc
[ 66%] Built target mpga_phototaxis_loop_functions
[ 67%] Automatic moc for target custom_distributions_loop_functions
[ 67%] Built target custom_distributions_loop_functions_automoc
[ 71%] Built target custom_distributions_loop_functions
[ 72%] Automatic moc for target trajectory_loop_functions
[ 72%] Built target trajectory_loop_functions_automoc
[ 77%] Built target trajectory_loop_functions
[ 78%] Automatic moc for target id_loop_functions
[ 78%] Built target id_loop_functions_automoc
[ 81%] Built target id_loop_functions
[ 82%] Automatic moc for target manualcontrol_loop_functions
[ 82%] Built target manualcontrol_loop_functions_automoc
[ 86%] Built target manualcontrol_loop_functions
[ 87%] Automatic moc for target galib_phototaxis_loop_functions
[ 87%] Built target galib_phototaxis_loop_functions_automoc
[ 90%] Built target galib_phototaxis_loop_functions
[ 91%] Automatic moc for target mpga_phototaxis
[ 91%] Built target mpga_phototaxis_automoc
[ 95%] Built target mpga_phototaxis
[ 96%] Automatic moc for target galib_phototaxis
[ 96%] Built target galib_phototaxis_automoc
[ 97%] Linking CXX executable galib_phototaxis
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function LaunchARGoS(GAGenome&)': main.cpp:(.text+0x4f): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::read(std::istream&)': main.cpp:(.text+0x28e): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet<float>::allele() const': main.cpp:(.text+0x4c1): undefined reference to garan2()'
main.cpp:(.text+0x541): undefined reference to garan2()' main.cpp:(.text+0x5ca): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealGaussianMutator(GAGenome&, float)': main.cpp:(.text+0x621): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0x6e5): undefined reference to garan2()' main.cpp:(.text+0x757): undefined reference to GAUnitGaussian()'
main.cpp:(.text+0x915): undefined reference to garan2()' main.cpp:(.text+0x975): undefined reference to GAUnitGaussian()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet<float>::allele(unsigned int) const': main.cpp:(.text+0xa2d): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealArithmeticCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text+0xb2e): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0xb4e): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0xb90): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0xbb0): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0xc74): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o:main.cpp:(.text+0xd19): more undefined references to typeinfo for GAGenome' follow CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealBlendCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text+0xe4b): undefined reference to garan2()' main.cpp:(.text+0xe75): undefined reference to garan2()'
main.cpp:(.text+0xf5c): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0x1002): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::read(std::istream&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE4readERSi[_ZN15GA1DArrayGenomeIfE4readERSi]+0x2c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::equal(GAGenome const&) const': main.cpp:(.text._ZNK15GA1DArrayGenomeIfE5equalERK8GAGenome[_ZNK15GA1DArrayGenomeIfE5equalERK8GAGenome]+0x17): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::ElementComparator(GAGenome const&, GAGenome const&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3_[_ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3_]+0x10): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3[ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3]+0x31): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::SwapMutator(GAGenome&, float)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x11): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x91): undefined reference to garan2()'
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x9e): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x15f): undefined reference to garan2()'
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x225): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x25a): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSetCore<float>::~GAAlleleSetCore()': main.cpp:(.text._ZN15GAAlleleSetCoreIfED2Ev[_ZN15GAAlleleSetCoreIfED5Ev]+0x4c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::UniformCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x19): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x42): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x81): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0xa7): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x111): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x1d6): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x264): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x377): undefined reference to GARandomBit()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x3da): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x480): undefined reference to GARandomBit()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::~GA1DArrayGenome()':
main.cpp:(.text._ZN15GA1DArrayGenomeIfED2Ev[_ZN15GA1DArrayGenomeIfED5Ev]+0x18): undefined reference to GAGenome::~GAGenome()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::resize(int)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE6resizeEi[_ZN15GA1DArrayGenomeIfE6resizeEi]+0x20a): undefined reference to garan2()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome::UniformInitializer(GAGenome&)':
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18UniformInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18UniformInitializerER8GAGenome]+0xf): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet::read(std::istream&)':
main.cpp:(.text._ZN11GAAlleleSetIfE4readERSi[_ZN11GAAlleleSetIfE4readERSi]+0x24): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet::write(std::ostream&) const':
main.cpp:(.text._ZNK11GAAlleleSetIfE5writeERSo[_ZNK11GAAlleleSetIfE5writeERSo]+0x24): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::EvenOddCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x1e): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_]+0x3e): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x80): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_]+0xa0): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x158): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o:main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x1e): more undefined references to typeinfo for GAGenome' follow
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::PartialMatchCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x73): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x9a): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0xea): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x10d): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x4ab): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x834): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x853): undefined reference to GARandomBit()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::OrderCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x22): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x3f): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x72): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x97): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0xe6): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x10b): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x463): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x482): undefined reference to GARandomBit()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x7f3): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::CycleCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x22): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0x42): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x8d): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0xb3): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x1e1): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0x211): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x230): undefined reference to GARandomBit()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome(unsigned int, float (*)(GAGenome&), void*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2EjPFfR8GAGenomeEPv[_ZN15GA1DArrayGenomeIfEC5EjPFfR8GAGenomeEPv]+0x61): undefined reference to GAGenome::NoInitializer(GAGenome&)'
main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2EjPFfR8GAGenomeEPv[_ZN15GA1DArrayGenomeIfEC5EjPFfR8GAGenomeEPv]+0x66): undefined reference to GAGenome::GAGenome(void (*)(GAGenome&), int (*)(GAGenome&, float), float (*)(GAGenome const&, GAGenome const&))' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::OnePointCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x22): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x42): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x81): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa4): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x107): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x12f): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x528): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x56f): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x598): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x5ca): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x7cb): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x821): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0xa46): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa85): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0xb30): undefined reference to garan2()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::TwoPointCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x22): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x3f): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x81): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa4): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x111): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x139): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x189): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x1ac): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x6b6): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x707): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x72b): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x770): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x794): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x7e1): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xa09): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xd76): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xdb5): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xdda): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xf1f): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xf45): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::resizeBehaviour(unsigned int, unsigned int)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE15resizeBehaviourEjj[_ZN15GA1DArrayGenomeIfE15resizeBehaviourEjj]+0x88): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome()': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2Ev[_ZN15GA1DArrayGenomeIfEC5Ev]+0x2b): undefined reference to GAGenome::GAGenome(void ()(GAGenome&), int ()(GAGenome&, float), float ()(GAGenome const&, GAGenome const&))'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::OrderedInitializer(GAGenome&)': main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x15): undefined reference to typeinfo for GAGenome'
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x13c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x1f1): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::FlipMutator(GAGenome&, float)': main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0xf): undefined reference to typeinfo for GAGenome'
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0x95): undefined reference to garan2()' main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0x1ef): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function main': main.cpp:(.text.startup+0x207): undefined reference to GASimpleGA::GASimpleGA(GAGenome const&)'
main.cpp:(.text.startup+0x219): undefined reference to GASimpleGA::minimaxi(int)' main.cpp:(.text.startup+0x22b): undefined reference to GASimpleGA::populationSize(unsigned int)'
main.cpp:(.text.startup+0x251): undefined reference to GAParameterList::set(char const*, void const*)' main.cpp:(.text.startup+0x27d): undefined reference to GAParameterList::set(char const
, double)'
main.cpp:(.text.startup+0x2a9): undefined reference to GAParameterList::set(char const*, double)' main.cpp:(.text.startup+0x2d2): undefined reference to GAParameterList::set(char const*, void const*)'
main.cpp:(.text.startup+0x345): undefined reference to GAParameterList::set(char const*, void const*)' main.cpp:(.text.startup+0x35b): undefined reference to GAStatistics::flushFrequency(unsigned int)'
main.cpp:(.text.startup+0x43c): undefined reference to GASimpleGA::initialize(unsigned int)' main.cpp:(.text.startup+0x78b): undefined reference to GASimpleGA::step()'
main.cpp:(.text.startup+0x9ca): undefined reference to GAStatistics::flushScores()' main.cpp:(.text.startup+0x9e5): undefined reference to GAStatistics::bestIndividual(unsigned int) const'
main.cpp:(.text.startup+0x9f4): undefined reference to typeinfo for GAGenome' main.cpp:(.text.startup+0xe33): undefined reference to GASimpleGA::~GASimpleGA()'
main.cpp:(.text.startup+0x140e): undefined reference to GASimpleGA::~GASimpleGA()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::copy(GAGenome const&)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE4copyERK8GAGenome[_ZN15GA1DArrayGenomeIfE4copyERK8GAGenome]+0x31): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE4copyERK8GAGenome[_ZN15GA1DArrayGenomeIfE4copyERK8GAGenome]+0x51): undefined reference to GAGenome::copy(GAGenome const&)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::clone(GAGenome::CloneMethod) const': main.cpp:(.text._ZNK15GA1DArrayGenomeIfE5cloneEN8GAGenome11CloneMethodE[_ZNK15GA1DArrayGenomeIfE5cloneEN8GAGenome11CloneMethodE]+0x54): undefined reference to GAGenome::copy(GAGenome const&)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome(GA1DArrayGenome<float> const&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2ERKS0_[_ZN15GA1DArrayGenomeIfEC5ERKS0_]+0x56): undefined reference to GAGenome::GAGenome(void ()(GAGenome&), int ()(GAGenome&, float), float (*)(GAGenome const&, GAGenome const&))'
main.cpp:(.text.ZN15GA1DArrayGenomeIfEC2ERKS0[ZN15GA1DArrayGenomeIfEC5ERKS0]+0x96): undefined reference to GAGenome::~GAGenome()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome::copy(GAGenome const&)':
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE4copyERK8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE4copyERK8GAGenome]+0x2d): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o:(.rodata._ZTI15GA1DArrayGenomeIfE[_ZTI15GA1DArrayGenomeIfE]+0x28): undefined reference to typeinfo for GAGenome'
collect2: error: ld returned 1 exit status
embedding/galib/CMakeFiles/galib_phototaxis.dir/build.make:124: recipe for target 'embedding/galib/galib_phototaxis' failed
make[2]: *** [embedding/galib/galib_phototaxis] Error 1
CMakeFiles/Makefile2:1854: recipe for target 'embedding/galib/CMakeFiles/galib_phototaxis.dir/all' failed
make[1]: *** [embedding/galib/CMakeFiles/galib_phototaxis.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Can't load library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"

Hi!
I take the liberty of asking you a simple question. I tried to followed the guide you wrote and compiled without errors, but when I executed the example, I got the following error:
~/argos3-examples$ argos3 -c experiments/diffusion_1.argos
[INFO] Loaded library "/usr/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[FATAL] Can't load library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so" after trying the following:

/usr/lib/argos3/libargos3plugin_simulator_epuck.so: libQt5Core.so.5: cannot open shared object file: No such file or directory

/usr/lib/argos3/libargos3plugin_simulator_epuck.so.so: /usr/lib/argos3/libargos3plugin_simulator_epuck.so.so: cannot open shared object file: No such file or directory

/usr/lib/argos3/libargos3plugin_simulator_epuck.so.so: /usr/lib/argos3/libargos3plugin_simulator_epuck.so.so: cannot open shared object file: No such file or directory
Has this happened to you before?

Question! ZigBee

Hi Mr Pincy
I´m student from México and I´m trying to work on ARGoS, but I have a question.
On ARGoS, you don't have a controller or a lib to work with ZigBee or something similar, to comunicate the robots wirelessly?

I really appreciate your time and I'm really fascinated with ARGoS.

Flocking example

When I reset the flocking experiment the agents/robots doesn’t try to arrogate they just to go towards the light source… I can’t seem to fix this issue?

Best
Ashwin

Segmentation fault (core dumped) during getting Robot Id on terminal

Hi,
I am trying to get the foot-bot id on terminal. I tried it with the following code:

  1. First of all, in my header file of controller, I write the header file like this:
    #include <argos3/plugins/robots/foot-bot/simulator/footbot_entity.h>

  2. After header declaration, I make a pointer to that class in same header file like this:
    CFootBotEntity* c_entity;

  3. After making pointer, I writing the following code in my (.cpp) file of controller:

const std::string str_id = c_entity->GetId().c_str();
std::cout << "Robot ID :  " << str_id << "\n";
  1. After above code, I compile the files using 'make', and it successfully compiled.
  2. After compiling, when I tried to run the simulation then I got the following error.
    Segmentation fault (core dumped)

Where am I wrong in the code? Please help me in this issue.

Thanks

Visualization Bug for Footbot Showing Black Figure

Greetings!

I encounter an error whenever I run experiments that utilize the footboy robot. As shown in the image below, it only shows a black star-like figure instead of the model for the footbot. Other robots such as the epuck and eyebot are working as expected.

Screenshot 2024-02-17 220440

I am running this using ARGoS 3.0.0-beta59 on Ubuntu 20.04 via virtual machine. Here are the other details:
image

Thank you very much!

footbot_gripping example not working properly with ARGoS version 3.0.0-beta40

The footbot_gripping example no longer works properly. The physics simulation seems to be out of sync with the visualisation - the robot does not appear to move, but the cylinder still moves as if being gripped and pulled by an invisible robot.

The example code works with ARGoS version 3.0.0-beta39, but not with 3.0.0-beta40.

Run-time errors under macOS

I'm getting the run-time errors below under macOS Catalina 10.15.7 with the latest version of ARGoS (3.0.0-beta57). Everything works fine under Ubuntu 18.04, so maybe this is a quirk in the AddressSanitizer of Clang?

$ clang -v
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

The foraging example crashes on launch:

$ argos3 -c experiments/foraging.argos
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_qtopengl.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_dynamics3d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3core_simulator.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_pointmass3d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_media.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_entities.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_footbot.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_dynamics2d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_genericrobot.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_spiri.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_prototype.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_epuck.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_eyebot.dylib"
[INFO] Not using threads
[INFO] Using random seed = 123
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/footbot_foraging/libfootbot_foraging.dylib"
[INFO] Loaded library "./build/loop_functions/foraging_loop_functions/libforaging_loop_functions.so"
=================================================================
==87849==ERROR: AddressSanitizer: container-overflow on address 0x606000071390 at pc 0x00010eab0072 bp 0x7ffee26fb560 sp 0x7ffee26fad10
READ of size 64 at 0x606000071390 thread T0
    #0 0x10eab0071 in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x5c071)
    #1 0x1127b8d1f in std::__1::enable_if<((std::__1::integral_constant<bool, true>::value) || (!(__has_construct<std::__1::allocator<argos::CVector2>, bool*, bool>::value))) && (is_trivially_move_constructible<bool>::value), void>::type std::__1::allocator_traits<std::__1::allocator<argos::CVector2> >::__construct_backward<argos::CVector2>(std::__1::allocator<argos::CVector2>&, bool*, bool*, bool*&) memory:1700
    #2 0x1127b808a in std::__1::vector<argos::CVector2, std::__1::allocator<argos::CVector2> >::__swap_out_circular_buffer(std::__1::__split_buffer<argos::CVector2, std::__1::allocator<argos::CVector2>&>&) vector:938
    #3 0x1149b279b in void std::__1::vector<argos::CVector2, std::__1::allocator<argos::CVector2> >::__push_back_slow_path<argos::CVector2>(argos::CVector2&&) (libforaging_loop_functions.so:x86_64+0x1079b)
    #4 0x1149a6c96 in std::__1::vector<argos::CVector2, std::__1::allocator<argos::CVector2> >::push_back(argos::CVector2&&) (libforaging_loop_functions.so:x86_64+0x4c96)
    #5 0x1149a5e73 in CForagingLoopFunctions::Init(ticpp::Element&) (libforaging_loop_functions.so:x86_64+0x3e73)
    #6 0x10d6af509 in argos::CSimulator::Init() simulator.cpp:154
    #7 0x10d6afcdd in argos::CSimulator::LoadExperiment() simulator.cpp:124
    #8 0x10d523738 in main main.cpp:37
    #9 0x7fff70501cc8 in start (libdyld.dylib:x86_64+0x1acc8)

0x6060000713a0 is located 0 bytes to the right of 64-byte region [0x606000071360,0x6060000713a0)
allocated by thread T0 here:
    #0 0x10eabfd52 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x6bd52)
    #1 0x1149ac398 in std::__1::__libcpp_allocate(unsigned long, unsigned long) (libforaging_loop_functions.so:x86_64+0xa398)
    #2 0x1149b2ec2 in std::__1::allocator<argos::CVector2>::allocate(unsigned long, void const*) (libforaging_loop_functions.so:x86_64+0x10ec2)
    #3 0x1149b2d80 in std::__1::allocator_traits<std::__1::allocator<argos::CVector2> >::allocate(std::__1::allocator<argos::CVector2>&, unsigned long) (libforaging_loop_functions.so:x86_64+0x10d80)
    #4 0x1149b2cc9 in std::__1::__split_buffer<argos::CVector2, std::__1::allocator<argos::CVector2>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<argos::CVector2>&) (libforaging_loop_functions.so:x86_64+0x10cc9)
    #5 0x1149b298c in std::__1::__split_buffer<argos::CVector2, std::__1::allocator<argos::CVector2>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<argos::CVector2>&) (libforaging_loop_functions.so:x86_64+0x1098c)
    #6 0x1149b274c in void std::__1::vector<argos::CVector2, std::__1::allocator<argos::CVector2> >::__push_back_slow_path<argos::CVector2>(argos::CVector2&&) (libforaging_loop_functions.so:x86_64+0x1074c)
    #7 0x1149a6c96 in std::__1::vector<argos::CVector2, std::__1::allocator<argos::CVector2> >::push_back(argos::CVector2&&) (libforaging_loop_functions.so:x86_64+0x4c96)
    #8 0x1149a5e73 in CForagingLoopFunctions::Init(ticpp::Element&) (libforaging_loop_functions.so:x86_64+0x3e73)
    #9 0x10d6af509 in argos::CSimulator::Init() simulator.cpp:154
    #10 0x10d6afcdd in argos::CSimulator::LoadExperiment() simulator.cpp:124
    #11 0x10d523738 in main main.cpp:37
    #12 0x7fff70501cc8 in start (libdyld.dylib:x86_64+0x1acc8)

HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x5c071) in __asan_memcpy
Shadow bytes around the buggy address:
  0x1c0c0000e220: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa
  0x1c0c0000e230: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00
  0x1c0c0000e240: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 00
  0x1c0c0000e250: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa
  0x1c0c0000e260: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00
=>0x1c0c0000e270: 00 00[fc]fc fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0c0000e280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0c0000e290: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0c0000e2a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0c0000e2b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0c0000e2c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==87849==ABORTING
[1]    87849 abort      argos3 -c experiments/foraging.argos

The trajectory example will launch, but crashes after running for a few seconds:

$ argos3 -c experiments/trajectory.argos
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_qtopengl.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_dynamics3d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3core_simulator.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_pointmass3d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_media.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_entities.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_footbot.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_dynamics2d.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_genericrobot.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_spiri.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_prototype.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_epuck.dylib"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_eyebot.dylib"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/footbot_diffusion/libfootbot_diffusion.so"
[INFO] Loaded library "./build/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so"
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.01 sec)
[INFO] Loaded library "./build/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so"
=================================================================
==89665==ERROR: AddressSanitizer: container-overflow on address 0x6080000d8b68 at pc 0x00010f5c4be6 bp 0x7ffee076eae0 sp 0x7ffee076ead8
READ of size 8 at 0x6080000d8b68 thread T0
    #0 0x10f5c4be5 in argos::CVector3::operator-=(argos::CVector3 const&) vector3.h:557
    #1 0x10f5c5992 in argos::CVector3::operator-(argos::CVector3 const&) const vector3.h:605
    #2 0x116b4c2e0 in argos::SquareDistance(argos::CVector3 const&, argos::CVector3 const&) (libtrajectory_loop_functions.so:x86_64+0x52e0)
    #3 0x116b4c228 in CTrajectoryLoopFunctions::PostStep() (libtrajectory_loop_functions.so:x86_64+0x5228)
    #4 0x10f7cf193 in argos::CSpace::Update() space.cpp:145
    #5 0x10f64adbd in argos::CSimulator::UpdateSpace() simulator.cpp:282
    #6 0x1148f059d in argos::CQTOpenGLWidget::StepExperiment() qtopengl_widget.cpp:514
    #7 0x1148f33b8 in argos::CQTOpenGLWidget::timerEvent(QTimerEvent*) qtopengl_widget.cpp:784
    #8 0x116626300 in QObject::event(QEvent*) (QtCore:x86_64+0x20f300)
    #9 0x11567cd76 in QWidget::event(QEvent*) (QtWidgets:x86_64+0x4dd76)
    #10 0x115642a55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (QtWidgets:x86_64+0x13a55)
    #11 0x115643e01 in QApplication::notify(QObject*, QEvent*) (QtWidgets:x86_64+0x14e01)
    #12 0x11480bfa8 in argos::CQTOpenGLApplication::notify(QObject*, QEvent*) qtopengl_application.cpp:21
    #13 0x1165fd2b5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (QtCore:x86_64+0x1e62b5)
    #14 0x11665e52a in QTimerInfoList::activateTimers() (QtCore:x86_64+0x24752a)
    #15 0x11b8de031  (libqcocoa.dylib:x86_64+0x3b031)
    #16 0x7fff363ad883 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (CoreFoundation:x86_64+0x84883)
    #17 0x7fff363ad822 in __CFRunLoopDoSource0 (CoreFoundation:x86_64+0x84822)
    #18 0x7fff363ad63c in __CFRunLoopDoSources0 (CoreFoundation:x86_64+0x8463c)
    #19 0x7fff363ac358 in __CFRunLoopRun (CoreFoundation:x86_64+0x83358)
    #20 0x7fff363ab952 in CFRunLoopRunSpecific (CoreFoundation:x86_64+0x82952)
    #21 0x7fff34fc6abc in RunCurrentEventLoopInMode (HIToolbox:x86_64+0x2fabc)
    #22 0x7fff34fc67d4 in ReceiveNextEventCommon (HIToolbox:x86_64+0x2f7d4)
    #23 0x7fff34fc6578 in _BlockUntilNextEventMatchingListInModeWithFilter (HIToolbox:x86_64+0x2f578)
    #24 0x7fff3360c038 in _DPSNextEvent (AppKit:x86_64+0x41038)
    #25 0x7fff3360a87f in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (AppKit:x86_64+0x3f87f)
    #26 0x7fff335fc58d in -[NSApplication run] (AppKit:x86_64+0x3158d)
    #27 0x11b8ded73  (libqcocoa.dylib:x86_64+0x3bd73)
    #28 0x1165f96b6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (QtCore:x86_64+0x1e26b6)
    #29 0x1165fd851 in QCoreApplication::exec() (QtCore:x86_64+0x1e6851)
    #30 0x1148cb184 in argos::CQTOpenGLRender::Execute() qtopengl_render.cpp:65
    #31 0x10f64acea in argos::CSimulator::Execute() simulator.cpp:274
    #32 0x10f4ae749 in main main.cpp:38
    #33 0x7fff70501cc8 in start (libdyld.dylib:x86_64+0x1acc8)

0x6080000d8b68 is located 72 bytes inside of 96-byte region [0x6080000d8b20,0x6080000d8b80)
allocated by thread T0 here:
    #0 0x110de4d52 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x6bd52)
    #1 0x11a1e0118 in std::__1::__libcpp_allocate(unsigned long, unsigned long) new:239
    #2 0x11a1e7551 in std::__1::allocator<argos::CVector3>::allocate(unsigned long, void const*) memory:1814
    #3 0x11a1e7350 in std::__1::allocator_traits<std::__1::allocator<argos::CVector3> >::allocate(std::__1::allocator<argos::CVector3>&, unsigned long) memory:1547
    #4 0x11a1e7109 in std::__1::__split_buffer<argos::CVector3, std::__1::allocator<argos::CVector3>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<argos::CVector3>&) __split_buffer:311
    #5 0x11a1e672c in std::__1::__split_buffer<argos::CVector3, std::__1::allocator<argos::CVector3>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<argos::CVector3>&) __split_buffer:310
    #6 0x11a1e5b11 in void std::__1::vector<argos::CVector3, std::__1::allocator<argos::CVector3> >::__push_back_slow_path<argos::CVector3 const&>(argos::CVector3 const&) vector:1618
    #7 0x116b4bf21 in std::__1::vector<argos::CVector3, std::__1::allocator<argos::CVector3> >::push_back(argos::CVector3 const&) (libtrajectory_loop_functions.so:x86_64+0x4f21)
    #8 0x116b4c273 in CTrajectoryLoopFunctions::PostStep() (libtrajectory_loop_functions.so:x86_64+0x5273)
    #9 0x10f7cf193 in argos::CSpace::Update() space.cpp:145
    #10 0x10f64adbd in argos::CSimulator::UpdateSpace() simulator.cpp:282
    #11 0x1148f059d in argos::CQTOpenGLWidget::StepExperiment() qtopengl_widget.cpp:514
    #12 0x1148f33b8 in argos::CQTOpenGLWidget::timerEvent(QTimerEvent*) qtopengl_widget.cpp:784
    #13 0x116626300 in QObject::event(QEvent*) (QtCore:x86_64+0x20f300)
    #14 0x11567cd76 in QWidget::event(QEvent*) (QtWidgets:x86_64+0x4dd76)
    #15 0x115642a55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (QtWidgets:x86_64+0x13a55)
    #16 0x115643e01 in QApplication::notify(QObject*, QEvent*) (QtWidgets:x86_64+0x14e01)
    #17 0x11480bfa8 in argos::CQTOpenGLApplication::notify(QObject*, QEvent*) qtopengl_application.cpp:21
    #18 0x1165fd2b5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (QtCore:x86_64+0x1e62b5)
    #19 0x11665e52a in QTimerInfoList::activateTimers() (QtCore:x86_64+0x24752a)
    #20 0x11b8de031  (libqcocoa.dylib:x86_64+0x3b031)
    #21 0x7fff363ad883 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (CoreFoundation:x86_64+0x84883)
    #22 0x7fff363ad822 in __CFRunLoopDoSource0 (CoreFoundation:x86_64+0x84822)
    #23 0x7fff363ad63c in __CFRunLoopDoSources0 (CoreFoundation:x86_64+0x8463c)
    #24 0x7fff363ac358 in __CFRunLoopRun (CoreFoundation:x86_64+0x83358)
    #25 0x7fff363ab952 in CFRunLoopRunSpecific (CoreFoundation:x86_64+0x82952)
    #26 0x7fff34fc6abc in RunCurrentEventLoopInMode (HIToolbox:x86_64+0x2fabc)
    #27 0x7fff34fc67d4 in ReceiveNextEventCommon (HIToolbox:x86_64+0x2f7d4)
    #28 0x7fff34fc6578 in _BlockUntilNextEventMatchingListInModeWithFilter (HIToolbox:x86_64+0x2f578)
    #29 0x7fff3360c038 in _DPSNextEvent (AppKit:x86_64+0x41038)

HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
SUMMARY: AddressSanitizer: container-overflow vector3.h:557 in argos::CVector3::operator-=(argos::CVector3 const&)
Shadow bytes around the buggy address:
  0x1c100001b110: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa
  0x1c100001b120: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa
  0x1c100001b130: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa
  0x1c100001b140: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa
  0x1c100001b150: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa
=>0x1c100001b160: fa fa fa fa 00 00 00 00 00 00 00 00 00[fc]fc fc
  0x1c100001b170: fa fa fa fa 00 00 00 00 00 00 00 00 00 fc fc fc
  0x1c100001b180: fa fa fa fa 00 00 00 00 00 00 00 00 00 fc fc fc
  0x1c100001b190: fa fa fa fa 00 00 00 00 00 00 00 00 00 fc fc fc
  0x1c100001b1a0: fa fa fa fa 00 00 00 00 00 00 00 00 00 fc fc fc
  0x1c100001b1b0: fa fa fa fa 00 00 00 00 00 00 00 00 00 fc fc fc
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==89665==ABORTING
[1]    89665 abort      argos3 -c experiments/trajectory.argos

Not sure if these are false-positives: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow

Multiple seeds?

Hi,
Is it possible to give an experiment multiple seeds, so when the experiment finishes it will restart with the next seed.
Or do I need to make a new .argos file and then run it with the new seed?

Best,
Ashwin

Problem with Installation of ARGoS (3.0.0-beta 41)

Hi,
I am getting following error when i write 'make' inside build folder while compiling all examples.

argos3-examples/loop_functions/id_loop_functions/id_qtuser_functions.cpp: In member function ‘void CIDQTUserFunctions::Draw(argos::CFootBotEntity&)’:
/home/waqar/argos3-examples/loop_functions/id_loop_functions/id_qtuser_functions.cpp:26:20: error: ‘GetOpenGLWidget’ was not declared in this scope
    GetOpenGLWidget().renderText(0.0, 0.0, 0.3,             // position
                    ^
make[2]: *** [loop_functions/id_loop_functions/CMakeFiles/id_loop_functions.dir/id_qtuser_functions.cpp.o] Error 1
make[1]: *** [loop_functions/id_loop_functions/CMakeFiles/id_loop_functions.dir/all] Error 2

How can i fix this issue?

Flocking Example

For current bot formation in the flocking example, the farthest bot does not move toward the light. When I move the farthest bot closer to the light it is able to join the swarm. With the currently commented out random placement of 10 bots, the whole swarm sees the light.

Is this intended behavior in the example?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.