Skip to content

Instantly share code, notes, and snippets.

@jsburklund
Created April 30, 2018 15:59
Show Gist options
  • Save jsburklund/a5b8d444012137f27fdf771ac6691a92 to your computer and use it in GitHub Desktop.
Save jsburklund/a5b8d444012137f27fdf771ac6691a92 to your computer and use it in GitHub Desktop.
Improves LED visualization of Footbots by ripping off the top
From 7d37dcd1f8a3157da286bf957412271720fd1119 Mon Sep 17 00:00:00 2001
From: jsburklund <[email protected]>
Date: Mon, 30 Apr 2018 11:53:15 -0400
Subject: [PATCH] Rip off the top of footbots for better visualization
---
.../robots/foot-bot/simulator/qtopengl_footbot.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/plugins/robots/foot-bot/simulator/qtopengl_footbot.cpp b/src/plugins/robots/foot-bot/simulator/qtopengl_footbot.cpp
index bf40440..43ffa46 100644
--- a/src/plugins/robots/foot-bot/simulator/qtopengl_footbot.cpp
+++ b/src/plugins/robots/foot-bot/simulator/qtopengl_footbot.cpp
@@ -139,42 +139,42 @@ namespace argos {
/* Create the gripper mechanics display list */
glNewList(m_unGripperMechanicsList, GL_COMPILE);
- RenderGripperMechanics();
+ //RenderGripperMechanics();
glEndList();
/* Create the gripper claw display list */
glNewList(m_unGripperClawList, GL_COMPILE);
- RenderGripperClaw();
+ //RenderGripperClaw();
glEndList();
/* Create the gripper claw display list */
glNewList(m_unRABList, GL_COMPILE);
- RenderRAB();
+ //RenderRAB();
glEndList();
/* Create the single distance scanner sensor display list */
glNewList(m_unDistanceScannerSensorList, GL_COMPILE);
- RenderDistanceScannerSensor();
+ //RenderDistanceScannerSensor();
glEndList();
/* Create the distance scanner display list */
glNewList(m_unDistanceScannerList, GL_COMPILE);
- RenderDistanceScanner();
+ //RenderDistanceScanner();
glEndList();
/* Create the iMX display list */
glNewList(m_unIMXList, GL_COMPILE);
- RenderIMX();
+ //RenderIMX();
glEndList();
/* Create the beacon display list */
glNewList(m_unBeaconList, GL_COMPILE);
- RenderBeacon();
+ //RenderBeacon();
glEndList();
/* Create the camera display list */
glNewList(m_unCameraList, GL_COMPILE);
- RenderCamera();
+ //RenderCamera();
glEndList();
}
--
2.7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment