Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 28 additions and 1 deletion.
  1. +1 −1 urbi/UAsserv.cpp
  2. +27 −0 urbi/UPathFind.hh
View
2 urbi/UAsserv.cpp
@@ -32,7 +32,7 @@ int UAsserv::avancer(int vitesse) {
}
void UAsserv::tourner(int angle) {
- asserv->tourner(angle,0,0);
+ asserv->tourner(180*angle/50,0,0);
}
int UAsserv::arreter() {
View
27 urbi/UPathFind.hh
@@ -0,0 +1,27 @@
+#ifndef UPATHFINDING_HH
+#define UPATHFINDING_HH
+
+// Include the UObject declarations.
+#include <urbi/uobject.hh>
+
+#include <iostream>
+
+// include custom lib
+#include "UGaop.hh"
+
+// A UObject wrapping a custom object.
+class UPathFind : public urbi::UObject
+{
+ public:
+ // C++ contructor.
+ // @param name name given to the instance.
+ UPathFind(const std::string& name);
+ //~UPathFind();
+
+ // Urbi constructor
+ int init ( string id);
+ list::list std::vector calculate (Map map);
+
+};
+
+#endif // ! UPATHFINDING_HH

No commit comments for this range

Something went wrong with that request. Please try again.